Got my ICX6610-48P fully nine days ago, literally *on the day* of moving into a new house. Now finally spending some quality time in the (still very messy, stuff on the floor) home office getting set up. What a great piece of used kit!
My main desktop is Ubuntu Linux 18.04 and as some of you probably have, I ran into issues with the old SSH server on the switch. For anyone who's not familiar with getting around it, here's what I did to generate and install a public key, then connect to the switch:
On Linux: (with IP 192.168.1.10/24)
cd ~/.ssh
ssh-keygen -t rsa
ssh-keygen -e -f id_rsa.pub >id_rsa_ssh2.pub # convert to SSH2 format, demanded by the switch
cp id_rsa_ssh2.pub /tftpboot
On ICX6610: (with IP 192.168.1.99/24)
ip ssh pub-key-file tftp 192.168.1.10 id_rsa_ssh2.pub
ip ssh key-authentication yes
On Linux:
ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 -i ~/.ssh/id_rsa 192.168.1.99
# I set up an alias like this in .bashrc
alias icx='ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 -i ~/.ssh/id_rsa 192.168.1.99'
Hope this comes in handy for someone.
Cheers,
Allen
My main desktop is Ubuntu Linux 18.04 and as some of you probably have, I ran into issues with the old SSH server on the switch. For anyone who's not familiar with getting around it, here's what I did to generate and install a public key, then connect to the switch:
On Linux: (with IP 192.168.1.10/24)
cd ~/.ssh
ssh-keygen -t rsa
ssh-keygen -e -f id_rsa.pub >id_rsa_ssh2.pub # convert to SSH2 format, demanded by the switch
cp id_rsa_ssh2.pub /tftpboot
On ICX6610: (with IP 192.168.1.99/24)
ip ssh pub-key-file tftp 192.168.1.10 id_rsa_ssh2.pub
ip ssh key-authentication yes
On Linux:
ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 -i ~/.ssh/id_rsa 192.168.1.99
# I set up an alias like this in .bashrc
alias icx='ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 -i ~/.ssh/id_rsa 192.168.1.99'
Hope this comes in handy for someone.
Cheers,
Allen