SirCharles
Programmer
I'd like to start a secure copy and then log out, let the command complete, and come back after dinner to check the status of the command. scp requires that you respond with a password. There is a -B option but the man pages don't say how to use it.
I'd like to be able to do something like this but
doesn't seem to work quite right. I still get prompted
for password. I tried putting this in a script and
backgrounding the script, but still didn't work.
scp -pr * user@ipaddress:/path/to/dir/. <<EOF
password
EOF
I'd like to be able to do something like this but
doesn't seem to work quite right. I still get prompted
for password. I tried putting this in a script and
backgrounding the script, but still didn't work.
scp -pr * user@ipaddress:/path/to/dir/. <<EOF
password
EOF