pkgin install openssh
* Customize settings
Optionally, edit ///usr/pkg/etc/ssh/sshd_config//.
* Start //sshd//
reboot
or
sh /usr/pkg/etc/rc.d/sshd start
Security keys will be created automatically.
* If SSH connections fail...
Check if the //sshd// daemon is running.
ps ax | grep sshd
Next, check that it's listening to the appropriate port.
tcpstat -a | grep ssh