Hi Tiago,

I can't imagine why you aren't just using SSH normally. I can't say I've
ever had the problem. In cases where I've needed to test something, I have
started opensshd in another process in a chroot jail, and examined the
filesystem changes from outside.

Using SSH without authentication isn't really using SSH.

Lee Hambley
--
http://lee.hambley.name/
+49 (0) 170 298 5667


On 6 March 2014 09:27, Tiago Cardoso <[email protected]> wrote:

> 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 [email protected].
> To view this discussion on the web, visit
> https://groups.google.com/d/msgid/capistrano/a27e75ec-1124-4545-9152-9cf99e1193e0%40googlegroups.com<https://groups.google.com/d/msgid/capistrano/a27e75ec-1124-4545-9152-9cf99e1193e0%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
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 [email protected].
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/capistrano/CAN_%2BVLV%3D3nVyMUfXyzFukd5PKPEiN6BOZx7Pr-zRyUXAO_PSDg%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to