delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/06/14/11:06:03

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.4 required=5.0 tests=AWL,BAYES_00,RCVD_NUMERIC_HELO,SPF_HELO_PASS,TW_JG,TW_TX,TW_XV,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
connect(): No such file or directory
From: Andrew DeFaria <Andrew AT DeFaria DOT com>
Subject: Re: ssh error
Date: Mon, 14 Jun 2010 08:05:29 -0700
Lines: 112
Message-ID: <hv5gfp$a2i$1@dough.gmane.org>
References: <hu5oqa$ihb$1 AT dough DOT gmane DOT org> <hue12g$ark$1 AT dough DOT gmane DOT org> <20100607115947 DOT GH8163 AT calimero DOT vinschen DOT de> <huivrs$5c3$1 AT dough DOT gmane DOT org> <20100607150048 DOT GB12721 AT calimero DOT vinschen DOT de> <humtp4$p3h$1 AT dough DOT gmane DOT org>
Mime-Version: 1.0
User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.1.10) Gecko/20100512 Lightning/1.0b2pre Thunderbird/3.0.5
In-Reply-To: <humtp4$p3h$1@dough.gmane.org>
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 06/08/2010 07:20 PM, Andrew DeFaria wrote:
> On 06/07/2010 08:00 AM, Corinna Vinschen wrote:
>> I'm not sure about your terminology. With pre-shared key you're 
>> talking about public key authentication, right?
> Yes where you put say hostA:~/.ssh/id_dsa.pub into 
> hostB:~/.ssh/authorized_keys.
>> If so, I just tested this again with Linux and XP Cygwin clients. 
>> From both clients I can ssh with command as well as scp, connecting 
>> with both, admin and non-admin accounts. So it's not a generic Cygwin 
>> problem afaics. BLODA, maybe?
>
> No, this is just plain Cygwin. Given hcu-g97pnd1, my XP laptop and 
> usseactxvm01, a 2k3 server, with pre-shared key set up, going from XP 
> -> 2K3:
>
>    Hcu-g97pnd1:uname -a
>    CYGWIN_NT-5.1 HCU-G97PND1 1.7.5(0.225/5/3) 2010-04-12 19:07 i686 Cygwi
>    Hcu-g97pnd1:ssh usseactxvm01
>    Last login: Tue Jun  8 17:30:43 2010 from
>    hcu-g97pnd1.clients.am.health.ge.com
>    Usseactxvm01:uname -a
>    CYGWIN_NT-5.2 USSEACTXVM01 1.7.2(0.225/5/3) 2010-03-24 21:12 i686 
> Cygwin
>    Usseactxvm01:exit
>    logout
>    Connection to usseactxvm01 closed.
>    Hcu-g97pnd1:ssh usseactxvm01 uname -a
>           3 [main] sshd 4976 D:\Cygwin\usr\sbin\sshd.exe: *** fatal
>    error - could not load user32, Win32 error 1114
>    Hcu-g97pnd1:
>
> So I can ssh to the 2K3 box but if put a command on the end (e.g. 
> uname –a) it fails. Now redoing that last command but removing my 
> pre-shared key so that I am prompted for a password:
>
>    Hcu-g97pnd1:ssh usseactxvm01
>    Last login: Tue Jun  8 17:33:10 2010 from
>    hcu-g97pnd1.clients.am.health.ge.com
>    Usseactxvm01:mv .ssh/authorized_keys .ssh/authorized_keys.save
>    Usseactxvm01:exit
>    logout
>    Connection to usseactxvm01 closed.
>    Hcu-g97pnd1:ssh usseactxvm01 uname -a
>    lf827522 AT usseactxvm01's password:
>    CYGWIN_NT-5.2 USSEACTXVM01 1.7.2(0.225/5/3) 2010-03-24 21:12 i686 
> Cygwin
>    Hcu-g97pnd1:
>
> Now going from the 2K3 machine -> XP machine:
>
>    Usseactxvm01:ssh hcu-g97pnd1
>    Last login: Tue Jun  8 16:24:06 2010 from :0
>           ____________________,               
> ______________________________________
>        .QQQQQQQQQQQQQQQQQQQQQQQQL_           
> |                                      |
>      .gQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQ__     
> |                                      |
>      gQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQ==   |                      
> _.---.)           |
>      QQQQQQQQQQQQQQQQQQQQQQQQQQQF=         |          (^--^)_.-"     
>    `;          |
>      QQQQQQQQQ================!            |          ) ee (          
>    |          |
>      QQQQQQQQ                              |         (_.__._)        
>    /           |
>      QQQQQQQQ                              |           `--',          
> ,'            |
>      QQQQQQQQ     ~"jjj__,                 |            jgs
>    )_|--')_|             |
>      QQQQQQQQ       "jjjjjjjjjj___         |                ""'     
> ""'             |
>      QQQQQQQQ        ~jjjjjjjjjjjjjjjjj__    
> |                                      |
>      QQQQQQQQ        _jjjjjjjjjjjjjj/~~~~  |      The Hippo says:
>    Welcome to      |
>      QQQQQQQQ      .{jjjjjjj/~~~~~           
> |                             _        |
>      QQQQQQQQ     .{/~~~~`                 |  ____  _   _   ____  _ _ _
>    (_) ____  |
>      QQQQQQQQ                              | / ___)| | | | / _  || | |
>    || ||  _ \ |
>      QQQQQQQQ                              |( (___ | |_| |( (_| || | |
>    || || | | ||
>      QQQQQQQQQL_______________,            | \____) \__  | \___ | \___/
>    |_||_| |_||
>      QQQQQQQQQQQQQQQQQQQQQQQQQQQL___       |        (___/    
> (____|                 |
>      4QQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQ___    
> |                                      |
>      (=QQQQQQQQQQQQQQQQQQQQQQQQQQQQQ====   |       -.-. -.-- --. .-- ..
>    -.        |
>        (QQQQQQQQQQQQQQQQQQQQQQQQF=           
> |______________________________________|
>
>    Hcu-g97pnd1:uname -a
>    CYGWIN_NT-5.1 HCU-G97PND1 1.7.5(0.225/5/3) 2010-04-12 19:07 i686 
> Cygwin
>    Hcu-g97pnd1:exit
>    logout
>    Connection to hcu-g97pnd1 closed.
>    Usseactxvm01:ssh hcu-g97pnd1 uname -a
>    CYGWIN_NT-5.1 HCU-G97PND1 1.7.5(0.225/5/3) 2010-04-12 19:07 i686 
> Cygwin
>    Usseactxvm01:
So then  you have no ideas and there's nothing I can try?
-- 
Andrew DeFaria <http://defaria.com>
When something is "new and improved!". Which is it? If it's new, then 
there has never been anything before it. If it's an improvement, then 
there must have been something before it.


--
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