OpenSSH on FreeBSD 6.2

Prerequisites:

FreeBSD (Base + Autoconf, Automake, Bash and GCC)

OpenSSH – Secure Sockets Layer

Home: 

 http://www.openssh.com

# Download (Notes: Users behind a Proxy Server should read this and users without Internet but have a CDRom read this.)

# OpenSSL
cd /usr/ports/security/openssl
make install clean

# OpenSSH
cd /usr/ports/security/openssh-portable
#
 Compile & Install
make install -DOPENSSH_OVERWRITE_BASE clean

# Edit /etc/rc.conf so OpenSSH will start at boot time
vi /etc/rc.conf

# Edit sshd_config
vi /etc/ssh/sshd_config


# Reboot
shutdown -r now

 

 

# Note: Here is a good sample /etc/rc.conf at this point (edit to suit your needs):