Hello sun lovers
when i do
$scp -r XXX usr@servernameath...
it asks for password
how can i do this in a script so that it doesn't ask for any password.
depends on the version of your ssh, some versions store the key in a separate file and you have to refere to that in a configfile. OpenSSH works with ~/.ssh/authorized_key file.
Best Regards, Franz
--
UNIX System Manager from Munich, Germany
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.