A fresh install of DesktopBSD or PCBSD does not allow remote SSH
logins, took me a while to find all this out so I decided to put it all
in one place. DesktopBSD does not install sshd by default.
- Install SSH, on DesktopBSD just run the package manager and install OpenSSH
- Make sure there is an editor installed that you can use, I installed nano with the package manager
- Open /etc/rc.conf and insert this at the end sshd_enable="YES"
- run /etc/rc.d/sshd start
- Type a full line of junk as requested to generate the keys
- OK sshd is now running but you won't be able to login into it with just a user name and password
- nano /etc/ssh/sshd_config
- change the line "PasswordAuthentication no" to PasswordAuthentication yes and remove the # at the start of line
- If you want to login as root PermitRootLogin yes
- Restart sshd by running /etc/rc.d/sshd restart
- Check status with /etc/rc.d/sshd status
thats it, go to another machine and you should be able to now login vis SSH.