Squeeze setup ssh: Difference between revisions

From embeddedTS Manuals
(Added a note about ssh login delays on non-DNS networks.)
mNo edit summary
Line 12: Line 12:
You should now be able to connect from a remote Linux or OSX system using "ssh" or from Windows using a client such as [http://www.chiark.greenend.org.uk/~sgtatham/putty/ putty].
You should now be able to connect from a remote Linux or OSX system using "ssh" or from Windows using a client such as [http://www.chiark.greenend.org.uk/~sgtatham/putty/ putty].


NoteIf 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.
{{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.}}

Revision as of 21:31, 2 April 2020

On our boards we include the Debian package for openssh-server, but we remove the automatically generated keys for security reasons. To regenerate these keys:

dpkg-reconfigure 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

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.