Bug 2368

Summary: ssh -v does not display the username which gets used to connect
Product: Portable OpenSSH Reporter: Thomas Güttler <guettliml>
Component: sshAssignee: Assigned to nobody <unassigned-bugs>
Status: CLOSED FIXED    
Severity: enhancement CC: djm, dtucker
Priority: P5    
Version: 6.8p1   
Hardware: Other   
OS: All   
Bug Depends on:    
Bug Blocks: 2360    
Attachments:
Description Flags
Output remote username in debug output. djm: ok+

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