OpenSSH question : password prompt when scripting
- From: "Yard, John" <jyard@xxxxxxxxxxxx>
- Date: Wed, 14 Jun 2006 11:39:16 -0700
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:
Has anyone seen this behavior in scripted sftp sessions ?
JYard
UCLA
- Follow-Ups:
- Re: OpenSSH question : password prompt when scripting
- From: Enrique Sanchez Vela
- Re: OpenSSH question : password prompt when scripting
- Prev by Date: Re: command to monitor fiber channel adapters?
- Next by Date: Re: command to monitor fiber channel adapters?
- Previous by thread: AIX 5.3 Release notes
- Next by thread: Re: OpenSSH question : password prompt when scripting
- Index(es):
Relevant Pages
- Re: OpenSSH question : password prompt when scripting
... I can do a key exchange, ... $ sftp geles@xxxxxxxxxxxxxxxxxxxxxxx ...
Connecting to xxxasaprdftp.nc.ncs.com... ... it prompts me for a password: ...
(AIX-L) - Re: Help needed by novice trying to figure out how to use sftp
... I recently found out that I needed to use sftp and not plain old ftp. ... I
managed to get sftp installed on my AIX 5.3 box and now I have ... prompts for user
name or password. ... vendor whose sftp site I am trying to connect to. ... (comp.unix.shell) - Re: sftp "put" suddenly stopped working, all else works fine.
... sftp "put" suddenly stopped working on a sever i've been connecting to ...
show up on the server with a zero byte size. ... any ideas what cud b causing this, is
it a server problem or a client ... (comp.security.ssh) - FW: 2 sftp questions
... || I got sftp working, ... || with gftp, also from root. ... |
logging in as root if at all possible. ... Connecting to 66.225.207.87... ...
(Fedora) - sftp "put" suddenly stopped working, all else works fine.
... sftp "put" suddenly stopped working on a sever i've been connecting to ...
show up on the server with a zero byte size. ... any ideas what cud b causing this, is
it a server problem or a client ... (comp.security.ssh)