Skip to content
/ net-sshd Public

Ruby Net::SSHD aims to be a generic SSH protocol server to be used as a listener library providing a transport layer for SSH connections.

License

Notifications You must be signed in to change notification settings

jammi/net-sshd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Ruby Net::SSHD aims to be a generic SSH protocol server to be used as a
listener providing a transport layer for SSH connections.

The intent is to use it as a secure replacement for insecure plain text
TCP socket listeners to serve any arbitary "telnet" protocol encapsulated
in the ssh transport, preferrably supporting only public key authentication.

At this stage, it's just a crude hack worth a few hours of code and barely
handles the first stages of the handshake, so feel free to fork and contribute
patches.

It would be nice to reuse as much of Net::SSH as possible.

The end goal would be to provide a full SSH implementation in Ruby, similar to
the Erlang SSH library, which also provides a daemon in addition to just the
client libraries.

References:
 - Erlang SSH library: http://www.erlang.org/doc/apps/ssh/
 - SSH Transport Layer RFC: http://www.ietf.org/rfc/rfc4253.txt
 - SSH Connection Layer RFC: http://www.ietf.org/rfc/rfc4254.txt
 - SSH Authentication Procotol RFC: http://www.ietf.org/rfc/rfc4252.txt

Dependencies:
 gem install net-ssh
 gem install eventmachine
 gem install hexy

Testing:
 ruby test/test.rb
 ssh localhost -p 8022

-- Juha-Jarmo Heinonen <[email protected]> 2011-06-02

About

Ruby Net::SSHD aims to be a generic SSH protocol server to be used as a listener library providing a transport layer for SSH connections.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages