Bug 2368 - ssh -v does not display the username which gets used to connect
Summary: ssh -v does not display the username which gets used to connect
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: ssh (show other bugs)
Version: 6.8p1
Hardware: Other All
: P5 enhancement
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks: V_6_9
  Show dependency treegraph
 
Reported: 2015-03-18 22:47 AEDT by Thomas Güttler
Modified: 2016-08-02 10:41 AEST (History)
2 users (show)

See Also:


Attachments
Output remote username in debug output. (580 bytes, patch)
2015-04-13 18:43 AEST, Darren Tucker
djm: ok+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Güttler 2015-03-18 22:47:56 AEDT
Hi,

this command does not show which user name gets used:

ssh -v alias


if my ~/.ssh/config looks like this:

host alias
    hostname foo 
    user username_i_love_to_see

the connection goes to username_i_love_to_see@foo

It would help debugging if I could find "username_i_love_to_see" in the output of "ssh -v alias".

It is not important, but a simple enhancement.
Comment 1 Thomas Güttler 2015-04-02 01:23:31 AEDT
Any body reading feature requests here?

If not, where should I post feature requests?
Comment 2 Damien Miller 2015-04-02 13:32:09 AEDT
Here is fine. We will look at them as time permits.
Comment 3 Darren Tucker 2015-04-13 18:43:25 AEST
Created attachment 2581 [details]
Output remote username in debug output.

Please try this patch and see if it does what you want.
Comment 4 Darren Tucker 2015-04-14 14:17:41 AEST
Thanks, this has been committed and with be in the 6.9 release.
Comment 5 Thomas Güttler 2015-04-16 01:38:09 AEST
Thank you very much Darren Tucker! Have a nice day.
Comment 6 Damien Miller 2016-08-02 10:41:30 AEST
Close all resolved bugs after 7.3p1 release