Discussion:
[rancid] Using ssh version 1
Gerhard Mourani
2013-01-08 14:47:04 UTC
Permalink
Hello list,

I've a Cisco switch on which I could only connect via ssh version 1. If I manually try to connect with ssh command on CLI, it works but with Rancid it fail because I need to inform it (rancid) to use version 1 for this host but cannot find how to do it inside .clogin file, here my configs.

add user 1.2.3.4 admin
add cyphertype 1.2.3.4 3des
add password 1.2.3.4 passwd enpasswd
add method 1.2.3.4 ssh

Gerhard,
heasley
2013-01-08 15:01:51 UTC
Permalink
Post by Gerhard Mourani
Hello list,
I've a Cisco switch on which I could only connect via ssh version 1. If I manually try to connect with ssh command on CLI, it works but with Rancid it fail because I need to inform it (rancid) to use version 1 for this host but cannot find how to do it inside .clogin file, here my configs.
add user 1.2.3.4 admin
add cyphertype 1.2.3.4 3des
add password 1.2.3.4 passwd enpasswd
add method 1.2.3.4 ssh
you should be able to do this with a Host entry in your .ssh/config file or
using sshcmd in your cloginrc.
Gerhard Mourani
2013-01-08 16:14:30 UTC
Permalink
Thanks,

Work with the following add:
add sshcmd 1.2.3.4 {ssh\ -1}

Gerhard,

-----Original Message-----
From: heasley [mailto:***@shrubbery.net]
Sent: January-08-13 10:02 AM
To: Gerhard Mourani
Cc: rancid-***@shrubbery.net
Subject: Re: [rancid] Using ssh version 1
Post by Gerhard Mourani
Hello list,
I've a Cisco switch on which I could only connect via ssh version 1. If I manually try to connect with ssh command on CLI, it works but with Rancid it fail because I need to inform it (rancid) to use version 1 for this host but cannot find how to do it inside .clogin file, here my configs.
add user 1.2.3.4 admin
add cyphertype 1.2.3.4 3des
add password 1.2.3.4 passwd enpasswd
add method 1.2.3.4 ssh
you should be able to do this with a Host entry in your .ssh/config file or using sshcmd in your cloginrc.
Loading...