[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: run scp in background?



> Try this :
> 
> $ scp <blah> <blah> >/dev/null 2>&1
> <enter your password, there will be no prompt>
> <press ^Z>
> $ bg
> $ exit
> 

This worked great!! Thanks
Yeah, I didn't want to have to bother with ssh-keys and such.
I have too many remote locations, and I'm too lazy to set up
the authorized_keys files, so this came in handy.
Actually, I think I was able to just run the command regularly,
<press ^Z>
$ bg
and then exit.

Mike



Reply to: