Net-ssh is a pure-Ruby implementation of the SSH2 client protocol.