This shows you the differences between two versions of the page.
releases:3.2.0:usersguide:settingupssh [2014/11/11 14:52] 127.0.0.1 external edit |
releases:3.2.0:usersguide:settingupssh [2014/11/14 14:26] (current) lionelsambuc |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Setting Up SSH ====== | ||
+ | The following steps must be done as //root//. | ||
+ | |||
+ | * [[.:installingbinarypackages|Install]] OpenSSH<code> | ||
+ | pkgin install openssh | ||
+ | </code> | ||
+ | * Customize settings \\ Optionally, edit ///usr/pkg/etc/ssh/sshd_config//. | ||
+ | * Start //sshd//<code> | ||
+ | reboot | ||
+ | </code> or <code> | ||
+ | sh /usr/pkg/etc/rc.d/sshd start | ||
+ | </code> Security keys will be created automatically. | ||
+ | * If SSH connections fail... \\ Check if the //sshd// daemon is running.<code> | ||
+ | ps ax | grep sshd | ||
+ | </code> Next, check that it's listening to the appropriate port.<code> | ||
+ | tcpstat -a | grep ssh | ||
+ | </code> |