SSH - Can't Login
Sun Oct 31 17:35:00 GMT 2010
> On 31 October 2010 16:45, James Broadhead wrote:
> > I also have this problem;
> >>> ssh email@example.com
> > 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 -p 1022 james@localhost
[UTF-8?]> > Bad port 'Ã¯Â¿Â½y"a'
> > Here are strace output for:
> > - OpenSSH_5.6p1, OpenSSL 0.9.8l 5 Nov 2009 Â -
> > http://obviouslies.net/share/strace-new-ssh
> > and
> > - OpenSSH_5.5p1, OpenSSL 0.9.8o 01 Jun 2010 Â -
> > http://obviouslies.net/share/strace-old-ssh
> > SFVs of my cygwin1.dll for the old and new environments:
> > cygwin1-new.dll B6328143
> > cygwin1-old.dll Â DFB07A25
> > Anything else that I can add that would be useful?
In my case the context was that suddenly ssh stopped working and would only
give the usage message no matter what I tried. I ran the "cygcheck -svr" and
noted that I did not have the latest Cygwin (1.7.7) installed even though
running setup said there was nothing needed. I confirmed this by opening a
bash shell and running "uname -a" command.
I rebooted my PC in safe mode with networking and ran setup with cygwin and
cygserver set to reinstall. I rebooted and opened a bash shell again and
reran the uname -a command to confirm the update was working. I then ran the
ssh <machine name> and got the expected login prompts.
Hope this helped.
Brian S. Wilson
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin