On Sat, Jan 26, 2002 at 01:28:54PM -0800, Stonelx wrote: > Hi, > I tried this command: > > scp /etc/file remotehost:/etc/file & > > but when scp asks for the password, I'm actually > back on the command line. (thus the scp command fails) > Is there anyway around this? I would love > to be able to run scp in the background. > I looked at the man page, and see a flag -B , > but I don't quite get how that works. > I basically want to remote shell into my server, > run a scp command that may take serveral hours, but > be able to let the scp take place while I exit the shell > and go for lunch.
ssh has the -f option that does what you want, but that doesn't seem to be enabled in scp. See bug #131090. Rob -- Fuch's Warning: If you actually look like your passport photo, you aren't well enough to travel.