PDA

View Full Version : ssh man page #protocal 2,1 s/b 2


SlowJet
18th May 2010, 09:03 PM
Using sftp from CentOS to F14 is refued with incoeect protocol.

CentOS uses protocol 1 and f14 is protocol 2

If the -o is used, i.e. uncomment the 2.1 is used in f14 but the default is 2
The comments indicate that 2,1 is the default.

Going to test this out now by changing f14 /etc/ssh/ssh_cong
un# protocol for 2,1

SJ

---------- Post added at 12:03 PM CDT ---------- Previous post was at 11:30 AM CDT ----------

OK, changing protocol to 2,1 in f14 /etc/ssh/ssh_conig
allowed CetOS to sftp to f14 with a very simple command

sftp username#hostname:/path/to/dir #for interactiive get and put

or

sftp username#hostname:/path/to/dir/filename.ext #for getting files


So to go from F14 to CentOS (RHEL5) the cli woul only need the -o option (or the config file change.

sftp -0protocol 1 username#hostname:/path/to/dir #for interactive

Could someone with a CentOS machine try this from F14 using the -o(without changing the config) and then
changing the config (without the out option.)
And post back the results.

thank you,

SJ