Howto enable and disable SSH access or SSH root access on Vyatta

Howto enable and disable SSH access or SSH root access on Vyatta

1. Enable SSH on vyatta

vyatta@vyatta# set service ssh

2. Enable SSH with root access

vyatta@vyatta# set service ssh allow-root

3. Enable SSH with other Port (default 22)

vyatta@vyatta# set service ssh port 222
[edit]
vyatta@vyatta# commit
[ service ssh ]
Restarting OpenBSD Secure Shell server: sshd.
[edit]
vyatta@vyatta# save

4. Disable SSH access on Vyatta

vyatta@vyatta# delete service ssh
vyatta@vyatta# commit
vyatta@vyatta# save

That’s all. Thanks for using IThelpblog.com.

Leave a reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>