Jessie setup ssh: Difference between revisions

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


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.
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.


<source lang=bash>
<source lang=bash>
Line 10: Line 10:
</source>
</source>


SSH in Debian Jessie also now either requires a key, or requires editing /etc/ssh/sshd_config. Comment out the line that says:
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 [http://www.chiark.greenend.org.uk/~sgtatham/putty/ putty].
<pre>
PermitRootLogin without-password
</pre>


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 [http://www.chiark.greenend.org.uk/~sgtatham/putty/ 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.}}
 
{{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.}}

Revision as of 13:52, 27 October 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 your remote user. SSH will not allow remote connections without a password or a shared key.

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.