Jessie setup ssh: Difference between revisions
From embeddedTS Manuals
(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...") |
No edit summary |
||
Line 4: | Line 4: | ||
</source> | </source> | ||
Make sure | 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. | ||
<source lang=bash> | <source lang=bash> | ||
Line 15: | Line 15: | ||
</pre> | </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 | {{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 15:33, 10 February 2017
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. |