delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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 |
Message-ID: | <007601c320b3$afec9c60$78d96f83@pomello> |
From: | "Max Bowsher" <maxb AT ukf DOT net> |
To: | <cygwin AT cygwin DOT com> |
References: | <OF7733B313 DOT 5DACF56D-ON88256D2D DOT 0074D1D5 AT ds-us DOT com> <Pine DOT GSO DOT 4 DOT 44 DOT 0305211929530 DOT 26639-100000 AT slinky DOT cs DOT nyu DOT edu> <bajdmg$mm5$1 AT main DOT gmane DOT org> <000901c320a7$011f94a0$6400a8c0 AT FoxtrotTech0001> <001b01c320a7$b299d880$6400a8c0 AT FoxtrotTech0001> <bajj1g$qdk$1 AT main DOT gmane DOT org> |
Subject: | Re: Question about "rexec" |
Date: | Thu, 22 May 2003 23:44:21 +0100 |
MIME-Version: | 1.0 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2800.1165 |
X-Cam-ScannerAdmin: | mail-scanner-support AT ucs DOT cam DOT ac DOT uk |
X-Cam-AntiVirus: | Not scanned |
X-Cam-SpamDetails: |
Andrew DeFaria wrote: > Bill C. Riemers wrote: > >> Opps I made a typo in those instructions... >> >> $ ssh-keygen -t rsa >> > $ ssh-keygen -t rsa > Generating public/private rsa key pair. > Enter file in which to save the key (/us/adefaria/.ssh/id_rsa): > > Hmmm... Guess I'll just default it... > > Enter passphrase (empty for no passphrase): > Enter same passphrase again: > open \033[6~ failed: No such file or directory. > Saving the key failed: . > > Well that didn't work! > > Hmmm.... > > $ touch ~/.ssh/id_rsa > $ ssh-keygen -t rsa > Generating public/private rsa key pair. > Enter file in which to save the key (/us/adefaria/.ssh/id_rsa): > /us/adefaria/.ssh/id_rsa already exists. > Overwrite (y/n)? y > Enter passphrase (empty for no passphrase): > Enter same passphrase again: > Your identification has been saved in /us/adefaria/.ssh/id_rsa. > Your public key has been saved in /us/adefaria/.ssh/id_rsa.pub. > > That appeared to work. Strange... > >> Generating public/private rsa key pair. >> Enter passphrase (empty for no passphrase): <press return> >> Enter same passphrase again: <press return> >> ... >> $ ssh remotehost.com mkdir .ssh 2>>/dev/null >> > Testing this with an ssh $(hostname) id so I don't think I need to > mkdir. Did this command anyway... > >> $ ssh remotehost.com tee -a .ssh/authorizedkeys < ~/.ssh/id_rsa.pub >> 2>>/dev/null >> > OK... > >> $ chmod go-rwX ~/. ~/.ssh >> > OK... > >> $ ssh remotehost.com chmod go-rwX . .ssh >> > OK... > > Now for the test: > > ssh $(hostname) id > adefaria AT adefaria's password: > > Darn! Still need to enter my password! There is still a typo in the above instructions. "authorizedkeys" should read "authorized_keys". Max. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |