I’d like access an Arista vEOS through SSH. Since I’m completely new to SSH (so far I’ve only accessed switches through the CLI) I am looking for the commands to enter to enable SSH on the switch.
I have a network automation container, I type ssh 192.168.122.11 and it asks me for a password. How do I set this password? How to generate keys? Please post the commands needed to access the switch via SSH since I don’t have much familiarity with Arista.
Thank you in advance,
SSH is enabled by default and a key is generated by default, but you need to have a username/password to be able to login
you can configure a username with:
You can also configure passwordless authentication with:
Our config guide should be helpful:
To modify ssh params you can go to global config and go to management ssh config mode. You can see the default params by doing ‘show active all’
You can see the current ssh keys with the following command:
You can regenerate them if you want, however not necessary:
The keys are stored in /persist/secure folder, which you can see from bash
Arista Networks EOS shell
[admin@ats324 ~]$ cd /persist/secure
Hope this helps!
SSH is enabled by default. The default user “admin” does not have password so you need to provide one:
then as long as you can connect to the management port you can ssh admin@your_mgmt_ip_addr
Keys are pre-generated by linux. You don’t need to worry about it unless you want to regenerate.
Perfect, thank you both!
Post your Answer
You must be logged in to post an answer.