Squeeze setup ssh: Difference between revisions

From embeddedTS Manuals
(Added a note about ssh login delays on non-DNS networks.)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:


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.
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.
 
{{Note|Setting up a password for root is only feasible on the uSD image.}}
<source lang=bash>
<source lang=bash>
passwd root
passwd root
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.}}

Latest revision as of 15:07, 29 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.

Note: Setting up a password for root is only feasible on the uSD image.
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.