Re: scripts without passwords
- From: ddunham@xxxxxxxx (Darren Dunham)
- Date: Fri, 07 Mar 2008 17:44:01 GMT
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. >
.
- References:
- scripts without passwords
- From: rc647bob
- scripts without passwords
- Prev by Date: scripts without passwords
- Next by Date: Re: Port Forwarding
- Previous by thread: scripts without passwords
- Next by thread: Re: scripts without passwords
- Index(es):
Relevant Pages
|
|