Jessie setup ssh

From embeddedTS Manuals
Revision as of 11:24, 28 August 2015 by Mark (talk | contribs) (Created page with "To install ssh, install the package as normal with apt-get: <source lang=bash> apt-get install openssh-server </source> Make sure your board is configured properly on the net...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

apt-get install openssh-server

Make sure your board is configured properly 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

You should now be able to connect from a remote Linux or OSX system using "ssh" or from Windows using a client such as putty.

Note: If your intended application does not have a DNS source on the target network, it can save login time to add "UseDNS no" in /etc/ssh/sshd_config.