Jessie setup ssh: Difference between revisions

From embeddedTS Manuals
(Cleanup)
(Cleanup)
Line 4: Line 4:
</source>
</source>


Make sure the device 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.
 
Make sure the device is configured on the network and set a password for the remote user.  SSH will not allow remote connections without a password or a valid SSH key pair.


<source lang=bash>
<source lang=bash>

Revision as of 16:04, 18 December 2017

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

apt-get install openssh-server


Make sure the device is configured on the network and set a password for the remote user. SSH will not allow remote connections without a password or a valid SSH key pair.

passwd root

After this setup it is now possible to connect from a remote PC supporting SSH. On Linux/OS X 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 is possible to save time at login by adding "UseDNS no" in /etc/ssh/sshd_config.