bugzilla-daemon at mindrot.org
2003-Dec-20 04:32 UTC
[Bug 777] sftp can't be used with s/key
http://bugzilla.mindrot.org/show_bug.cgi?id=777 Summary: sftp can't be used with s/key Product: Portable OpenSSH Version: -current Platform: All OS/Version: All Status: NEW Severity: major Priority: P2 Component: sftp AssignedTo: openssh-bugs at mindrot.org ReportedBy: admorten at umich.edu In sftp.c, the code searches for a colon in the userhost string before parsing out the host and the user name. The colon should separate the host from the file to be retrieved, if specified, but because the colon is looked for first, and is replaced with a NUL, everything before the colon is interpreted to be the hostname. So: sftp user:skey at host.com is recognized as: sftp user and download a file called "skey at host.com" which typically results in a "No address associated with nodename" error. The attached patch places the colon parsing after the user and host name have been gathered, allowing skey names to work when connecting with sftp. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2003-Dec-20 04:57 UTC
[Bug 777] sftp can't be used with s/key
http://bugzilla.mindrot.org/show_bug.cgi?id=777 ------- Additional Comments From admorten at umich.edu 2003-12-19 21:57 ------- Created an attachment (id=516) --> (http://bugzilla.mindrot.org/attachment.cgi?id=516&action=view) Moves colon parsing after user name and host have been determined. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2003-Dec-30 22:13 UTC
[Bug 777] sftp can't be used with s/key
http://bugzilla.mindrot.org/show_bug.cgi?id=777 admorten at umich.edu changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |openssh-bugs at mindrot.org ------- Additional Comments From admorten at umich.edu 2003-12-31 09:13 ------- Added CC ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. You are on the CC list for the bug, or are watching someone who is.
Seemingly Similar Threads
- [Bug 690] sftp quoted filename parsing bug in get and put commands
- [Bug 777] sftp can't be used with s/key names on OpenBSD
- Question about -b mode of sftp(1) and auto-chdir behaviour
- sftp quote parsing broken in OpenSSH 3.7.1 portable
- [Bug 1847] New: SFTP doen't work well with IPV6 address