www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/10/31/13:12:22

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
From: "Brian Wilson" <wilson AT ds DOT net>
To: cygwin AT cygwin DOT com
Subject: Re: SSH - Can't Login
Date: Sun, 31 Oct 2010 12:12:06 -0500
Message-Id: <20101031170244.M19842@ds.net>
In-Reply-To: <AANLkTi=D9e8Sv84tfWjDDuEsB755qT6XK==GM9jmFmB0@mail.gmail.com>
References: <AANLkTi=y7UqM8aFci42oGYDfmC3tE4XofKoumhZ7h9q_ AT mail DOT gmail DOT com> <AANLkTi=pDfxw7ymUp-8yjHnAxAA+X-y0095qEFowp982 AT mail DOT gmail DOT com> <AANLkTi=D9e8Sv84tfWjDDuEsB755qT6XK==GM9jmFmB0 AT mail DOT gmail DOT com>
X-OriginatingIP: 65.12.174.114 (wilson)
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com


> On 31 October 2010 16:45, James Broadhead wrote:
> > I also have this problem;
> 
> Context?
> 
> >>> ssh james AT 192 DOT 168 DOT 1 DOT 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 AT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019