[prev in list] [next in list] [prev in thread] [next in thread]
List: aix-l
Subject: Re: OpenSSH question : password prompt when scripting
From: JOSEPH KREMBLAS <JKREMBLAS () REDHEARTGIFTS ! COM>
Date: 2006-06-17 10:25:02
Message-ID: 03fb01c691f8$4e8edbe0$6600a8c0 () azwinxplap01
[Download RAW message or body]
Because you are switching your user to "pearson," you must verify that the
.ssh directory exists within pearson's $HOME directory, followed by
verifying that your id_rsa & id_dsa files are in there. I would also check
the $HOME/.ssh/authorized_keys file as well.
Also, what is the output from using the -v option as suggested by Enrique?
-----Original Message-----
From: IBM AIX Discussion List [mailto:aix-l@Princeton.EDU] On Behalf Of
Enrique Sanchez Vela
Sent: Thursday, June 15, 2006 13:38
To: aix-l@Princeton.EDU
Subject: Re: OpenSSH question : password prompt when scripting
--- "Yard, John" <jyard@AIS.UCLA.EDU> wrote:
> On AIX 5.1 , using openssh, running as a user
> I can do a key exchange, and will not be prompted
> for a password :
>
> $ sftp geles@xxxasaprdftp.nc.ncs.com
> Connecting to xxxasaprdftp.nc.ncs.com...
> sftp> quit
> $
>
> But if I run the exact same command as a script,
> it prompts me for a password:
>
> [viper:/usr/local/bin] # su - pearson -c /usr/local/bin/get_Pearson
> Connecting to xxxasaprdftp.nc.ncs.com...
> gesles@xxxasaprdftp.nc.ncs.com's password:
try running the ssh command with the -v option to
see more messages about key exchanges and
server-client interaction.
regards,
enrique.
Enrique Sanchez Vela
email: esanchezvela@yahoo.com
--------------------------------------
http://www.savetheinternet.com/
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic