Jessie setup ssh

From embeddedTS Manuals
Revision as of 15:33, 10 February 2017 by Mark (talk | contribs)

To install ssh, install the package as normal with apt-get:

apt-get install openssh-server

Make sure the board is configured on the network, and set a password for your remote user. SSH will not allow remote connections without a password or a shared key.

passwd root

SSH in Debian Jessie also now either requires a key, or requires editing /etc/ssh/sshd_config. Comment out the line that says:

PermitRootLogin without-password

After this configuration it is now possible to connect from a remote pc supporting SSH. On Linux/osx this is the "ssh" command, or from Windows using a client such as putty.

Note: If a DNS server is not present on the target network, it can save login time to add "UseDNS no" in /etc/ssh/sshd_config.