Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 348323 - net-misc/openssh: [Feature Request] ssh(1) option to prompt for username
Summary: net-misc/openssh: [Feature Request] ssh(1) option to prompt for username
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-10 00:53 UTC by mut80r@hotmail.co.uk
Modified: 2010-12-10 16:54 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mut80r@hotmail.co.uk 2010-12-10 00:53:45 UTC
Hello.

  As I understand it, ssh(1) has no option (e.g. environment variable, ssh_config(5) line, etc) to instruct it to prompt you for a username. If you do not give a username when running ssh, it will use the value of the $USER environment variable, and if you give a username when running ssh it will use that.

  I would like to submit a feature request for an option (e.g. -o PromptForUsername) that is not activated by default but would cause ssh(1) to prompt for a username before or after the connection has been established (whichever is most technically feasible), before authentication such as password/pubkey/etc begins. Similar to the behaviour of PuTTY, if you will.



  It could look like this:

 $ cat .ssh/config
...
Host *
  ...
  PromptForUsername yes

 $ ssh host
Username: xxxx
...
Comment 1 SpanKY gentoo-dev 2010-12-10 16:54:58 UTC
sorry, but we usually dont do upstream development.  this sort of feature request would be filed here:
https://bugzilla.mindrot.org/