Vyatta Network OS Documentation

Learn how to install, configure and operate the Vyatta NOS, which helps drive our virtual networking & physical platforms portfolio.

service ssh allow-root

Specifies that root logins are to be allowed on SSH connections.

set service ssh allow-root
delete service ssh allow-root
show service ssh

Root logins are not allowed on SSH connections.

Configuration mode


service {
	ssh {
		allow-root
	}
}

Use this command to specify that root logins are to be allowed on SSH connections.

Note: The root account is often the target of external attacks so its use is discouraged. The vyatta account provides sufficient privileges to administer the system.

Use the set form of this command to specify that root logins are to be allowed on SSH connections.

Use the delete form of this command to restore the default allow-root configuration.

Use the show form of this command to view the configuration.