[Bug 742] Allow sftp to read config file to honor "Protocol 1"
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Sun Oct 12 12:57:29 EST 2003
http://bugzilla.mindrot.org/show_bug.cgi?id=742
mouring at eviladmin.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
Summary|sftp doesn't honor "Protocol|Allow sftp to read config
|1" in config file |file to honor "Protocol 1"
------- Additional Comments From mouring at eviladmin.org 2003-10-12 12:57 -------
You are correct. sftp directly does a 'addargs(&args, "-oProtocol %d",
sshvar)' where sshvar is *ALWAYS* a value of 2 unless you use -1 as a
commandline argument.
Since sftp never parses the .ssh/config nor ssh_config directly it has no clue
that you want to default to protocol 1. Only the underlying ssh connection
reads those files (same with scp).
Since sftp uses a 'subsystem' and was created for protocol 2.. The -1 support
is really a hack to allow it to work.
As a result, I think I'm going to tag this as 'Enhancement'.
------- 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