SSH Does Nothing, No Matter What Command Line it Get (Cygwin)

cygwinssh

SUMMARY: SSH isn't doing anything.

> ssh user@www@.yserver.com
> ssh oshdfojsfsdof -psd sdfisdfjdsf

(does nothing no matter what you pass to the commandline. No output, no errors, nothing)

FULLY STORY:
I recently installed Cygwin so that I could run some rsyncs utilizing SSH keys without having to figure out how to set this up on Windows. I had it all working beautifully, but then found I needed to install more parts of Cygwin to have cron working. I added some packages, admittedly not paying as much attention as I should have to what packages I installed.

I setup the cron and found next morning it didn't work. Lots of debugging later and I realized that rsync was giving me errors because the SSH command simply doesn't want to be… well… ssh. It's as if I ran nothing at all.

I'm so confused because everything was working prior to running the Cygwin setup again and adding additional packages.

Best Answer

You could check with "strace" and see what it is not doing.

strace ssh -v hostname