How To Guide
How to configure the distribution
Logging in via SSH without a password
|
|
Logging in via SSH without a password
As the target boards are development systems, additional security can be added by specifying that a password to be entered when logging into accounts on these target systems.
By default SSH requires a password to be specified and so, even if the account itself does not require a password, failure to specify a password will result in an inability to log on to such an account via SSH.
One workround for this is described in Configuring the target in the Advanced Development Guide. Another solution is to edit the SSH configuration file. Find the PermitEmptyPasswords line, uncomment it and set the line to PermitEmptyPassword yes. Conversely, it can be set no to explicitly require that a password always be entered for SSH logins. For example:
host# cd /export/rootfs/<user> host# vi +/PermitEmptyPasswords ./etc/openssh/sshd_config S PermitEmptyPasswords yes ZZ host# |
|
|
|