the ssh command is work perfect in my cygwin before. but today it is not work. It always show a usgage. but my command is correct.
$ ssh root@10.0.0.1
usage: ssh [-1246AaCfgKkMNnqsTtVvXxYy] [-b bind_address] [-c cipher_spec]
[-D [bind_address:]port] [-e escape_char] [-F configfile]
[-I pkcs11] [-i identity_file]
[-L [bind_address:]port:host:hostport]
[-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port]
[-R [bind_address:]port:host:hostport] [-S ctl_path]
[-W host:port] [-w local_tun[:remote_tun]]
[user@]hostname [command]
$ ssh -V
OpenSSH_5.6p1, OpenSSL 0.9.8o 01 Jun 2010
cygwin version is 1.7
Thants
ssh? Check with the commandtype ssh. – Gilles Sep 9 '10 at 7:07