[Bug 777] sftp can't be used with s/key
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Sat Dec 20 15:32:58 EST 2003
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.
More information about the openssh-bugs
mailing list