From: Mitch Vincent Date: 2001-02-21T08:45:34+09:00 Subject: [ruby-talk:11193] Re: Telnet/SSH service > I'm among a group of people who are trying to get a simple BBS server up, > with Telnet. > > Unfortunately, using raw sockets doesn't seem to work all that well. > We can tinker with it to the point where it works with Windows Telnet, > but most other clients get garbage characters and other such things. Telnet is basically a server that spawns a shell, it's really not all that special. > I'd rather work on features like a user list or message board than > spend a few hours reinventing the wheel. I'd like to know a couple of > things: > > first, is there a Telnet server module available? I'm aware of the > client one, but it doesn't look like it goes both ways. You can make TCP/IP servers fairly easy in Ruby, consult the manual and the TCPServer class. It's simple as pie to use. > Second, if I were to get OpenSSL support working, would that be enough > to talk to ssh clients? Well, you'd have to write a SSH server (SSH is it's own protocol, it's not just encrypted telnet) it'll take a lot more than just having OpenSSL installed.. -Mitch