I'm having some problems setting my tests up to test an ssh client 
connection. Basically I'm setting a kind of "SSH Server" on another 
process, binding it to a port, and telling my connection client to connect 
to that port. The client uses Net::SSH. Problem is, when it binds, it 
expects the whole SSH authentication protocol messages back and forth (SSH 
Version, key exchange, bla bla bla...). I would like either to replicate 
that behaviour on my server (quite difficult, haven't seen that anywhere) 
or at least mock the Net::SSH authentication scheme so that it bypasses it 
and uses an unencrypted channel (just for testing purposes, as stated). 

I know this is not the best channel to discuss this, but I haven't found 
any net-ssh discussion group, and since capistrano does use Net::SSH 
extensively and tests its code, I would like to know if somebody has ever 
stumbled on this issue, maybe there is a best solution for this. 

-- 
You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to capistrano+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/capistrano/a27e75ec-1124-4545-9152-9cf99e1193e0%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to