-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
34 lines (25 loc) · 1.18 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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