ssh2.cr icon indicating copy to clipboard operation
ssh2.cr copied to clipboard

Find a way to make the tests more portable

Open watzon opened this issue 7 years ago • 1 comments

Currently the spec tries to authenticate with a pubkey on port 2222 which naturally will fail on most systems. The only way I can think of to circumvent this and make the tests more portable would either be to provide a user (probably with the shell set to /dev/null) on an existing server and allow them ssh login, or run a local ssh server on a random port in Crystal.

watzon avatar Jan 22 '18 16:01 watzon

I like this idea. It would be nice to spawn a server with crystal_ssh for that.

alexanderadam avatar Dec 26 '18 13:12 alexanderadam