Re: scripts without passwords



rc647bob@xxxxxxx wrote:
My objective is to run a script containing a scp command that runs
without a passwords.

Okay.

If the scp is not contained within a script it must have a password.

Is this a requirement of yours?

The following page
says it does the former but not the latter. When I follows the
instruction it does both the
former and the latter. Can this be fixed?

I don't understand what your problem is. Can you restate it?

SSH authentication is most often done via:
someone typing a password ('passwd', 'kbd-interactive', or passphrase on key)
ssh-agent providing user key info for RSA auth.
passphrase-less user key for RSA auth.

If you don't have access to the user key, then the default will be to
prompt for a password.

Perhaps the script could invoke ssh/scp with options to point to a
particular key, which isn't normally in the user's default location.
Then ssh/scp outside of the script woudn't authenticate without the
password.

--
Darren Dunham ddunham@xxxxxxxx
Senior Technical Consultant TAOS http://www.taos.com/
Got some Dr Pepper? San Francisco, CA bay area
< This line left intentionally blank to confuse you. >
.



Relevant Pages

  • basic vbscript help needed
    ... I'm writting a script in vb to get a list of IP addresses. ... 2)If its true then i need to pause the program and wait for a user key ...
    (microsoft.public.inetsdk.programming.scripting.vbscript)
  • Re: basic vbscript help needed
    ... > I'm writting a script in vb to get a list of IP addresses. ... > into my script and pause every 6 ip address so i can view them. ... > 2)If its true then i need to pause the program and wait for a user key ...
    (microsoft.public.inetsdk.programming.scripting.vbscript)
  • Re: basic vbscript help needed
    ... >> I'm writting a script in vb to get a list of IP addresses. ... >> into my script and pause every 6 ip address so i can view them. ... >> 2)If its true then i need to pause the program and wait for a user key ...
    (microsoft.public.inetsdk.programming.scripting.vbscript)