Quantcast
Channel: linuxadmin: Expanding Linux SysAdmin knowledge
Viewing all articles
Browse latest Browse all 17819

Input password on SCP script

$
0
0

Hey guys, I have a script running that scp's a folder from my local computer to a remote computer, and most of the time the scp command prompts for a password, which I then enter. But how would entering my password work if this script is running of my crontab? I don't want to have to deal with ssh keys, and using sshpass (which is not a proprietary software) sounds like a pain for all the machines I have to do. Im sure there is a way to make this work simply.

submitted by exp0sure
[link][38 comments]

Viewing all articles
Browse latest Browse all 17819

Trending Articles