How to automate the transfer of files between Linux servers using SCP? -
this question has reply here:
how respond password prompt when using scp in shell script? 10 answersi'm writing script automatically transfer files between 2 different linux servers. every time utilize scp command, requires me input password. there anyway around automated process?
as lev levitsky commented, ssh public key authentication need in order around beingness prompted password every time utilize scp re-create file. see http://www.thegeekstuff.com/2008/06/perform-ssh-and-scp-without-entering-password-on-openssh/ first-class step-by-step guide on how setup ssh public key authentication.
linux
No comments:
Post a Comment