A fresh installation of Vyatta does not have SSH access enabled by default. Thus, if you would like to SSH to a Vyatta router, you first need to enable SSH service. In order to enable SSH access on Vyatta router, enter the following commands via its console.
[You are now entering the Vyatta's CLI.]
$ set service ssh
[This command enables ssh service with default port 22]
$ set service ssh allow-root
[This command allows the root user to log in via SSH. Without this, only non-root users will be able to SSH to the router]
[This command reloads Vyatta configuration with ssh access enabled]
[This command saves the updated configuration permanently]
If you would like to change SSH port number to something else, as a security precaution, you can use the following command.
If you want to enable SSH service on an internal interface, so that you can SSH to Vyatta router from within internal networks only, you can use the following command. I assume that 192.168.10.1 is the IP address of Vyatta router's LAN interface.
Subscribe to Xmodulo
You can have daily Linux tutorials and FAQs delivered to your email inbox. Simply enter your email address below to subscribe to our mailing list. You will receive hands-on guides and carefully written tutorials related to Linux, everything for free.