Re: OpenSSH question : password prompt when scripting
- From: Holger.VanKoll@xxxxxxxxxxxx
- Date: Thu, 15 Jun 2006 08:42:38 +0200
if you do
su - pearson
/usr/local/bin/get_Pearson
do you get prompted for a password?
as with any ssh-problem its advisable to use -v or -vv to debug - on
client and serverside
-----Original Message-----
From: IBM AIX Discussion List [mailto:aix-l@xxxxxxxxxxxxx] On Behalf Of
Yard, John
Sent: Wednesday, June 14, 2006 8:39 PM
To: aix-l@xxxxxxxxxxxxx
Subject: OpenSSH question : password prompt when scripting
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
- Prev by Date: Re: I'm signed on all night, so what
- Next by Date: Re: AIX 5.3 Release notes
- Previous by thread: Re: OpenSSH question : password prompt when scripting
- Next by thread: Re: OpenSSH question : password prompt when scripting
- Index(es):
Relevant Pages
- Re: Website comes up as a blank page
... No brand-new machines should be used for browsing or anything else online without having
first enabled a firewall, been fully-patched at Windows Update, and installing an AV app and updating
its definitions. ... I would think that it was more of a Group Policy issue because the policy
settings wouldn't affect Firefox, ... It looks like McAfee's "protections" are disabling
scripting, or possibly another security application is. ... dialog to set anything which is
currently Enable to Prompt. ... (microsoft.public.windows.inetexplorer.ie6.browser) - Re: Website comes up as a blank page
... No brand-new machines should be used for browsing or anything else online without having
first enabled a firewall, been fully-patched at Windows Update, and installing an AV app and updating
its definitions. ... ~Robear Dyer ... It looks like McAfee's "protections" are disabling
scripting, or possibly another security application is. ... dialog to set anything which is
currently Enable to Prompt. ... (microsoft.public.windows.inetexplorer.ie6.browser) - Re: Adding and Deleting Domain Computers
... I run scripts at a command prompt with the cscript host. ... ' Bind to the computer
object with the LDAP provider. ... >>> network but I dont wan tthem to have Administrator
rights. ... >> Microsoft MVP Scripting and ADSI ... (microsoft.public.windows.server.active_directory) - Re: [JavaScript Appliation] error message
... in order to see the effect of the interpreting of the script commands on the rendering
... any options which are currently Enable be made Prompt where possible. ... ActiveX
controls which are safe for scripting, ... Provided you aren't overriding any custom
settings of your own you would restore the ... (microsoft.public.windows.inetexplorer.ie6.browser) - Re: Website comes up as a blank page
... But if that was the case, why does it work in Firefox? ... I would think that
it was more of a Group Policy issue because the policy settings wouldn't affect Firefox, ...
It looks like McAfee's "protections" are disabling scripting, or possibly another security application
is. ... dialog to set anything which is currently Enable to Prompt. ... (microsoft.public.windows.inetexplorer.ie6.browser)