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: | <001b01c320a7$b299d880$6400a8c0@FoxtrotTech0001> |
From: | "Bill C. Riemers" <cygwin AT docbill DOT net> |
To: | "Bill C. Riemers" <cygwin AT docbill DOT net>, <cygwin AT cygwin DOT com>, |
"Andrew DeFaria" <ADeFaria AT Salira 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> |
Subject: | Re: Question about "rexec" |
Date: | Thu, 22 May 2003 17:16:52 -0400 |
MIME-Version: | 1.0 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2800.1165 |
Opps I made a typo in those instructions... $ ssh-keygen -t rsa 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 $ ssh remotehost.com tee -a .ssh/authorizedkeys < ~/.ssh/id_rsa.pub 2>>/dev/null $ chmod go-rwX ~/. ~/.ssh $ ssh remotehost.com chmod go-rwX . .ssh ----- Original Message ----- From: "Bill C. Riemers" <cygwin AT docbill DOT net> To: <cygwin AT cygwin DOT com>; "Andrew DeFaria" <ADeFaria AT Salira DOT com> Sent: Thursday, May 22, 2003 5:13 PM Subject: Re: Question about "rexec" > $ ssh-keygen -t rsa > 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 > $ ssh remotehost.com tee -a authorizedkeys < ~/.ssh/id_rsa.pub > $ chmod go-rwX ~/. ~/.ssh > $ ssh remotehost.com chmod go-rwX . .ssh > > Walla, a password is nolonger required to login to remotehost.com . > > Bill > > ----- Original Message ----- > From: "Andrew DeFaria" <ADeFaria AT Salira DOT com> > To: <cygwin AT cygwin DOT com> > Sent: Thursday, May 22, 2003 5:02 PM > Subject: Re: Question about "rexec" > > > > Igor Pechtchanski wrote: > > > > >On Wed, 21 May 2003, David HALE wrote: > > > > > > > > > > > >>Hi, > > >> > > >>I am writing a shell script that needs to execute commands on a remote > > >>system using "rexec". I want to do this without typing in a password > every > > >>time the "rexec" command executes. The way I see it the "rexec" command > in > > >>CYGWIN does not allow a password to be passed. I have tried to use a > > >>".netrc" file (to supply the password) with the format: > > >> machine remote_machine_name login remote_username password string > > >>I have not been able to get this to work. I cannot find a man page or > other > > >>CYGWIN documentation for "rexec" or ".netrc". > > >> > > >>Is it possible to do this with CYGWIN? > > >> > > >>David Hale > > >> > > >> > > > > > >Umm, why not use "ssh"? > > > Igor > > > > > > > > When I use ssh I get prompted for a password. > > > > > > > > -- > > 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/ > > > > > > -- > 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/ > -- 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 |