bugzilla-daemon at bugzilla.mindrot.org
2017-May-22 22:45 UTC
[Bug 2720] New: Include username in "Permission denied (publickey)." message
https://bugzilla.mindrot.org/show_bug.cgi?id=2720 Bug ID: 2720 Summary: Include username in "Permission denied (publickey)." message Product: Portable OpenSSH Version: 7.2p2 Hardware: Other OS: Linux Status: NEW Severity: enhancement Priority: P5 Component: ssh Assignee: unassigned-bugs at mindrot.org Reporter: jg at jguk.org Can SSH include the username in the following message? It was the only reason login failed, but wasn't clear. Currently this is the behaviour: $ ssh -i "pass.pem" myserver123.amazonaws.com Permission denied (publickey). It of cause works if I do: ssh -i "pass.pem" ubuntu at myserver123.amazonaws.com What I would like to see is: $ ssh -i "pass.pem" myserver123.amazonaws.com juser at myserver123.amazonaws.com Permission denied (publickey). This means, we would realise that "juser" didn't have an account on that VM at Amazon. Sound reasonable? -- You are receiving this mail because: You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2017-Jun-14 00:40 UTC
[Bug 2720] Include username in "Permission denied (publickey)." message
https://bugzilla.mindrot.org/show_bug.cgi?id=2720 Darren Tucker <dtucker at zip.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Blocks| |2698 CC| |dtucker at zip.com.au --- Comment #1 from Darren Tucker <dtucker at zip.com.au> --- Done, thanks. It will be in the 7.6 release. $ ssh -i /tmp/key localhost dtucker at localhost: Permission denied (publickey,password,keyboard-interactive,hostbased). Referenced Bugs: https://bugzilla.mindrot.org/show_bug.cgi?id=2698 [Bug 2698] Tracking bug for OpenSSH 7.6 release -- You are receiving this mail because: You are watching someone on the CC list of the bug. You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2017-Jun-14 01:37 UTC
[Bug 2720] Include username in "Permission denied (publickey)." message
https://bugzilla.mindrot.org/show_bug.cgi?id=2720 --- Comment #2 from jg at jguk.org --- Thank you Darren -- You are receiving this mail because: You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at mindrot.org
2021-Apr-23 05:03 UTC
[Bug 2720] Include username in "Permission denied (publickey)." message
https://bugzilla.mindrot.org/show_bug.cgi?id=2720 Damien Miller <djm at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #3 from Damien Miller <djm at mindrot.org> --- closing resolved bugs as of 8.6p1 release -- You are receiving this mail because: You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
Reasonably Related Threads
- mindrot.org TMDA sending multiple auto-responder spams
- [Bug 2690] New: Add command line "ssh --version"
- [Bug 2700] New: Missing PEM identity_file should be a fatal error
- [Bug 2689] New: Terminal new line after packet_write_wait: Connection failure
- sftp backspace not working (OpenSSH_3.8.1p1 Debian-8.sarge.4)