Enabling SSH on Freebsd
- Details
- Category: Technical Articles
- Published on Monday, 01 January 2007 18:02
- Written by Administrator
- Hits: 14762
- 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.


