| www.delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=1.7 required=5.0 tests=BAYES_50,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,SPF_HELO_PASS,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <29023002.post@talk.nabble.com> |
| Date: | Tue, 29 Jun 2010 05:13:36 -0700 (PDT) |
| From: | sarthakjain <sarthakiitkgp AT gmail DOT com> |
| To: | cygwin AT cygwin DOT com |
| Subject: | Problem with ssh using RSA authentication on Windows 7 |
| 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-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 |
I am working on a 64-bit windows 7 machine.
I have installed ssh on my machine through cygwin.
I am trying to connect an XP machine to this windows7 machine through SSH
using RSA authentiation..I am proceeding as follows:
1. On the XP machine, I create an RSA public/private
key pair using the command
ssh-keygen -t rsa
following 2 files get created at ~/.ssh/ location
:
id_rsa and id_rsa.pub
2. Next I copy the id_rsa.pub file on my windows7
machine.
3. Then I append the contents of id_rsa.pub to the
file ~/.ssh/authorized_keys on the windows7 machine.
cd ~/.ssh
cat id_rsa.pub >> authorized_keys
chmod 600 authorized_keys
chmod 755 ~/.ssh
4. I restart the sshd service on this machine
5. I try to ssh from the XP machine to the win7
machine.
I am observing the following output:
...
..
..
debug1: Offering public key:
/home/Administrator/.ssh/id_rsa
debug2: We sent a public key packet, wait for reply
connection closed by xx.xx.xx.xx
Plz help!!!!!!!!!!!
--
View this message in context: http://old.nabble.com/Problem-with-ssh-using-RSA-authentication-on-Windows-7-tp29023002p29023002.html
Sent from the Cygwin list mailing list archive at Nabble.com.
--
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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |