From: Dave Lilley Date: 2009-12-28T08:54:29+09:00 Subject: Re: pasing data between 2 win XP boxes via internet Hi Bill thanks for the reply, I guess i will have to setup a SSH server on the PC as it will be the central point for data being sent from and sent to. thanks for your time in replying. Dave. Bill Kelly wrote: > Dave Lilley wrote: >> >> how to pass a stream of data in a secure manner using SSH protocos from >> a winXP Pro OS to a winXP Pro OS using 1.8.6.X ruby. >> >> there won't be a "server" used for the present and so would like to push >> data from one end to the other when the user has an update needed to be >> passed on. >> >> I am totally new to the net::XXXX protocols so any help would be >> appreciated. > > Note, there's also OpenSSL::SSL::SSLSocket and OpenSSL::SSL::SSLServer > which should allow you to establish an encrypted connection between > two nodes at the TCP socket level. > > That's a pretty low-level solution, in that you end up with a socket, > and you'll need to write code on either end to decide what to do with > data that is sent/received. > > Depending on your needs, a higher level solution--as others have > mentioned--might be to install cygwin and get an ssh server running, > then use for example rsync to synchronize files and directories between > the nodes. > > > Hope this helps, > > Bill -- Posted via http://www.ruby-forum.com/.