Joel VanderWerf wrote: >> In terms of using ssh tunneling with ruby scripts, the most common use >> for me would be accessing remote database servers or distributed ruby >> objects securely without messing with firewall rules (because ssh port >> is already open). > > > I'd be interested in using this (for DRb) too. So, if I understand it correctly, what you (all) would expect to be able to do is something like the following: Thread.new do Net::SSH.forward_local( proxy_host, local_port, remote_host, remote_port ) end do_something_on( 'localhost', local_port ) Is that correct? -- Jamis Buck jgb3 / email.byu.edu http://www.jamisbuck.org/jamis ruby -ropenssl -e'k="01234567";p((c,c.padding,c.iv,c.key=OpenSSL::Cipher::BF.new,false,k,k*2)[0].decrypt.update("1A81803C452C324619D319F980D5B84DBB45FC0FE2BAA045".scan(/../).map{|n|n.to_i(16).chr}.join))'