Discussion:
[rancid] Which cypertype should use to connect to Cisco and Fortinet devices ?
S***@cpu.ca
2018-03-07 22:01:37 UTC
Permalink
Hi guys,

I am curious to know which cypertype do you use to connect to Cisco and Fortinet devices ?
I use aes256-ctr aes256-cbc but I would like to know which others cypertype work.

Thanks for your answer.

Sebastien
Piegorsch, Weylin William
2018-03-10 04:52:37 UTC
Permalink
Have you tried specifying all the cyphertypes your system support? I manually ran the command ssh -vvv <device> and read the (incredibly plentiful) output to find what my system was offering; then, I just specified all of them in .cloginrc. The target system will only accept those cypher it supports, so there's no harm to the SSH protocol to offer as many as you want.

If you're interested in being security conscious, that's a much more involved discussion. I've not researched that - while I'm aware of the discussion around the topic, I'm nonetheless much more concerned (in my current job, anyway) with inter-operability than encryption strength.

weylin

On 3/7/18, 5:01 PM, "***@cpu.ca" <***@cpu.ca> wrote:

Hi guys,

I am curious to know which cypertype do you use to connect to Cisco and Fortinet devices ?
I use aes256-ctr aes256-cbc but I would like to know which others cypertype work.

Thanks for your answer.

Sebastien
heasley
2018-03-10 15:24:20 UTC
Permalink
Post by Piegorsch, Weylin William
Have you tried specifying all the cyphertypes your system support? I manually ran the command ssh -vvv <device> and read the (incredibly plentiful) output to find what my system was offering; then, I just specified all of them in .cloginrc. The target system will only accept those cypher it supports, so there's no harm to the SSH protocol to offer as many as you want.
see ssh -Q

Also, these can be placed these in ~/.ssh/config or /etc/ssh/ssh_config so
that they work outside of rancid too.
S***@cpu.ca
2018-03-12 13:57:40 UTC
Permalink
Thanks sir.

-----Message d'origine-----
De : heasley [mailto:***@shrubbery.net]
Envoyé : 10 mars 2018 10:24
À : Piegorsch, Weylin William <***@bu.edu>
Cc : Sebastien Boulianne <***@cpu.ca>; rancid-***@shrubbery.net
Objet : Re: [rancid] Which cypertype should use to connect to Cisco and Fortinet devices ?
Post by Piegorsch, Weylin William
Have you tried specifying all the cyphertypes your system support? I manually ran the command ssh -vvv <device> and read the (incredibly plentiful) output to find what my system was offering; then, I just specified all of them in .cloginrc. The target system will only accept those cypher it supports, so there's no harm to the SSH protocol to offer as many as you want.
see ssh -Q

Also, these can be placed these in ~/.ssh/config or /etc/ssh/ssh_config so that they work outside of rancid too.
Loading...