Setting Up SSH

The following steps must be done as root.

pkgin install openssh
Optionally, edit ///usr/pkg/etc/ssh/sshd_config//.
reboot

or

sh /usr/pkg/etc/rc.d/sshd start

Security keys will be created automatically.

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