Making it possible to SSH without SFTP access.

The current master implementation requires SFTP access to do a simple SSH.

My pull request creates an SSH2 connection by default, and keeps it until the first time a SFTP command is used, which destroys the SSH2 connection and creates an SFTP connection in the same variable.