Howtos / Articles

Enable SSH on 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.



Share this howto article!
  • Facebook
  • Twitter
  • Reddit
  • email

Leave a Reply

  

  

  

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>