This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: SSH - Can't Login



> On 31 October 2010 16:45, James Broadhead wrote:
> > I also have this problem;
> 
> Context?
> 
> >>> ssh james@192.168.1.15
> > 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?
> 
> http://cygwin.com/problems.html

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
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]