Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- scripts without passwords
March 7, 2008, 1:35 pm
rate this thread
without a passwords.
If the scp is not contained within a script it must have a password.
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?
Re: scripts without passwords
Is this a requirement of yours?
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
Darren Dunham firstname.lastname@example.org
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. >
- » Forcing both password and PublicKey Authentication
- — Previous thread in » Secure Shell Forum
- » protocol question - issue with exit-status inside unfinished data stream?
- — Newest thread in » Secure Shell Forum