delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/09/04/09:10:20

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.9 required=5.0 tests=AWL,BAYES_50,KHOP_THREADED,RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
From: "Brian Wilson" <wilson AT ds DOT net>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: Re: ssh tunneling and keys - how to...
Date: Tue, 4 Sep 2012 09:09:52 -0400
Message-Id: <20120904130349.M50796@ds.net>
In-Reply-To: <1346762020.5257.YahooMailNeo@web87706.mail.ir2.yahoo.com>
References: <1346762020 DOT 5257 DOT YahooMailNeo AT web87706 DOT mail DOT ir2 DOT yahoo 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

You have your local computer connected to a second computer and want to go fro 
the second machine to a third machine (if I understand this).  The connection 
from the local machine to the second machine works; but the connection from 
the second to the third does not work.

You need to set up an ssh key from the second server to the third server.  
Generate the public/private key on the second server and move the public key 
to the third server's .ssh directory (and check the directory and file 
permissions are correct).  You can't set up keys for all machines from the 
local machine only.  I hope this helps.

Sincerely,

Brian S. Wilson

---------- Original Message -----------
> I need to ssh to a server and from there jump to another server.
> 
> I created a public key and gave it to the administrator to install 
> it on their side.
> 
> I successfully connect to the first server but once in there, I 
> cannot connect to the next server, I always get 'Permission denied'.
> 
> My colleagues on Mac or Linux have not issues. Can I do this with 
> CygWin or should I use something different?
> 
> I've been told that I need to do something else on CygWin so this 
> carry on the public key... Is this the case?
> 
> Thanks.
------- End of Original Message -------

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