[Bug 742] Allow sftp to read config file to honor "Protocol 1"

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Mon Oct 27 11:37:13 EST 2003


http://bugzilla.mindrot.org/show_bug.cgi?id=742

mouring at eviladmin.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|3.6.1p2                     |-current



------- Additional Comments From mouring at eviladmin.org  2003-10-27 11:37 -------
The problem is as such:

Protocol 1
Protocol 2

work fine if you read the .config or ssh_config with the attached patch, but 
if you do:  Protocol 1,2  and the server only supports Protocol 2 it will fail 
because the sftp client can't change gears once it starts the ssh session.

The only good way of handling this would be to teach -s option to support it's 
own name space.

IE:  ssh -s sftp site.com /path/to/sftp-server

That would allow ssh to pick a protocol and attach to it correctly, and allow 
sftp to be blissfully ignorant of the underlying protocol.

But I don't see that happening in the future since sftp over protocol 1 is 
pretty much a hack and unless the client knows the extact location of sftp-
server or the sftp-server is in the path and the client does 
not /set/the/starting/path/.  It will fail giving even odder error messages 
(see the whole 'scp not in path' threads on openssh-unix-dev@ mailinglist).



------- 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