At work we have freeBSD testmachine. And we have a PHP script that uses SSH2 protocol to connect with the freeBSD server. With this script I'm not able to connect to the freeBSD server.
I wanted to install it, but I'm not sure where to find the right source to compile.
The connection can be made with a different machine, but isntalling a new distro isn't the solution right now.
I can connect to the server over ssh, but not with the ssh2 protocol in PHP (http://nl.php.net/ssh2).
Best Answer
FreeBSD has OpenSSH-server installed by default
Enable it with sshd_enable=YES in rc.conf, and run "sh /etc/rc.d/sshd start"
Edit: Make sure "Protocol 2" is enabled in /etc/ssh/sshd_config and reload sshd with "sh /etc/rc.d/sshd reload".