[rancid] Re: SSH Proto 1

Sotiris Tsimbonis stsimb at irc.gr
Fri Nov 24 10:40:29 UTC 2006


Ian Lists said the following on 24/10/2006 9:53 μμ:
> I have seen some postings online to use the "add sshcmd" line in my .cloginrc file to enable ssh protocol 1 for a device.  I don't see this as one of the avaliable options in the sample .cloginrc file and it didn't seem to work for me anyway.  Could someone give me some tips on getting the ssh "-1" flag to work?

Use a tiny wrapper for ssh :-)

$ cat ssh1
#!/bin/sh

exec ssh -1 $@
###############

in .cloginrc put the following
add sshcmd hostname ssh1

Cheers,
Sotiris.




More information about the Rancid-discuss mailing list