Networking HowTos
Networking HowTos

Enable SSH on Vyatta / vRouter / VyOS

June 4, 2017 Networking, Vyatta / vRouter, VyOS

One of the first things you will probably want to do when setting up a new Vyatta / vRouter / VyOS install, is to enable SSH so you can configure it from your desk.
The secure shell (SSH) service allows you to securely administer the device from a remote location on the network.
These steps below outline how to enable SSH.
Enter configuration mode

$ configure

Enable the SSH service

# set service ssh

Commit the changes

# commit

Save the configuration

# save

Exit configuration mode

# exit

Example output

vyatta@vyatta:~$ configure
[edit]
vyatta@vyatta# set service ssh
[edit]
vyatta@vyatta# commit
[ service ssh ]
Restarting OpenBSD Secure Shell server: sshd.
[edit]
vyatta@vyatta# save
Saving configuration to '/config/config.boot'...
Done
[edit]
vyatta@vyatta# exit
exit
vyatta@vyatta:~$

You should now be able to SSH into your Vyatta / vRouter / VyOS device.

You Might Also Like