ssh server in freebsd howto

cd /usr/ports/security/openssh-portable
make config;make install clean
cp /etc/make.conf /etc/make.conf.old

echo “NO_OPENSSH = YES” >> /etc/make.conf
cd /etc/ssh/
cp sshd_config sshd_config.old
cp sshd_config-dist ssh_config
/etc/rc.d/sshd restart
Stopping sshd.
Starting sshd.

open  /etc/rc.conf and add

sshd_enable=”YES”

 

 

 

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *