bugzilla-daemon at mindrot.org
2003-Oct-12 02:23 UTC
[Bug 742] sftp doesn't honor "Protocol 1" in config file
http://bugzilla.mindrot.org/show_bug.cgi?id=742
Summary: sftp doesn't honor "Protocol 1" in config file
Product: Portable OpenSSH
Version: 3.6.1p2
Platform: All
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: sftp
AssignedTo: openssh-bugs at mindrot.org
ReportedBy: cduffy at spamcop.net
Accessing Savannah (which does not support SSH protocol 2), the following fails:
sftp USERNAME at savannah.nongnu.org
sftp -F ~/.ssh/config USERNAME at savannah.nongnu.org
even when ~/.ssh/config contains the snippet:
Host savannah.gnu.org
Protocol 1
whereas "sftp -1 USERNAME at savannah.nongnu.org" succeeds.
This implies that the "Protocol 1" directive is not being honored by
sftp.
This is a real problem for folks using software which calls sftp without
permitting the user to specify command line arguments. (tla, a revision control
system with support for hosting repositories on sftp servers, is one such piece
of software).
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2003-Oct-12 02:27 UTC
[Bug 742] sftp doesn't honor "Protocol 1" in config file
http://bugzilla.mindrot.org/show_bug.cgi?id=742 ------- Additional Comments From dtucker at zip.com.au 2003-10-12 12:27 -------> Accessing Savannah (which does not support SSH protocol 2), the following fails: > sftp USERNAME at savannah.nongnu.org[1]> even when ~/.ssh/config contains the snippet: > Host savannah.gnu.org[2]You realise that [1] and [2] are not the same host, right? ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2003-Oct-12 02:30 UTC
[Bug 742] sftp doesn't honor "Protocol 1" in config file
http://bugzilla.mindrot.org/show_bug.cgi?id=742 ------- Additional Comments From cduffy at spamcop.net 2003-10-12 12:30 ------- Err, yes, that's a typo on my part (hand-entered the ~/.ssh/config snippet rather than cut&pasting it). The actual ~/.ssh/config file does indeed reference savannah.nongnu.org. Further, this observation has been backed up by a few other tla users (it's come up on our IRC channel; see #arch on freenode), so it would seem unlikely to just be user error. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2003-Oct-12 02:50 UTC
[Bug 742] sftp doesn't honor "Protocol 1" in config file
http://bugzilla.mindrot.org/show_bug.cgi?id=742
------- Additional Comments From dtucker at zip.com.au 2003-10-12 12:50 -------
Can't reproduce with 3.7.1p2. In ~/.ssh/config:
Host localhost-test
Hostname localhost
Protocol 1
$ scp -v localhost-test:/tmp/tmp1 /tmp/tmp2
Executing: program /usr/local/bin/ssh host localhost-test, user (unspecified),
command scp -v -f /tmp/tmp1
[snip]
debug1: match: OpenSSH_3.7.1p2 pat OpenSSH*
Protocol major versions differ: 1 vs. 2
debug1: Calling cleanup 0x8060294(0x0)
lost connection
(The server is configured to allow Protocol 2 only, which is why this fails).
Do you have 2 versions of ssh installed? Do you get the same result with
3.7.1p2?
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2003-Oct-12 02:56 UTC
[Bug 742] sftp doesn't honor "Protocol 1" in config file
http://bugzilla.mindrot.org/show_bug.cgi?id=742 ------- Additional Comments From dtucker at zip.com.au 2003-10-12 12:56 ------- Er, hang on. That's sftp, which normally uses a SSH2 channel. Is that even supposed to work over SSH1? ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.