Setting Up SSH
The following steps must be done as root.
Install OpenSSH
pkgin install openssh
- Customize settings
Optionally, edit /usr/pkg/etc/ssh/sshd_config.
Start sshd
reboot
orsh /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