Re: OpenSSH question : password prompt when scripting
- From: Enrique Sanchez Vela <esanchezvela@xxxxxxxxx>
- Date: Thu, 15 Jun 2006 10:38:05 -0700
--- "Yard, John" <jyard@xxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx'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@xxxxxxxxx
--------------------------------------
http://www.savetheinternet.com/
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
- Follow-Ups:
- Re: OpenSSH question : password prompt when scripting
- From: JOSEPH KREMBLAS
- Re: OpenSSH question : password prompt when scripting
- References:
- OpenSSH question : password prompt when scripting
- From: Yard, John
- OpenSSH question : password prompt when scripting
- Prev by Date: Re: I'm signed on all night, so what
- Next by Date: Re: HACMP/ES 5.1 on AIX 5.3
- Previous by thread: OpenSSH question : password prompt when scripting
- Next by thread: Re: OpenSSH question : password prompt when scripting
- Index(es):
Relevant Pages
|