What is SSH2 and how to install it?

SSH2 provides bindings to libssh2 library which give access to resources (remote EXEC, shell, file transfer, tunneling) on a remote machine using a secure cryptographical transport. SSH2 may be a a lot of efficient, secure, & portable version of SSH that features SFTP, that functions like FTP, however has SSH2 encryption enabled. It works on port 22 rather than 21.

You can validate multiple identities via public key encryption rather than using passwords to authenticate remote hosts.

Installation of SSH2 is very easy and needs no more than 2 commands on a linux distro.

# yum install libssh2-devel
# pecl install -f ssh2

You can install SSH2 on your linux VPS OR managed dedicated servers.