SSH question
Rick Stevens
rstevens at vitalstream.com
Wed Oct 11 20:31:43 UTC 2006
On Wed, 2006-10-11 at 16:21 -0400, Tony Nelson wrote:
> At 2:54 PM +0800 10/11/06, Ed Greshko wrote:
> >M.Lewis wrote:
> >>
> >> I'm sure the answer to this question is incredibly simple and I have
> >> looked through the archives, but I really don't know what to look for
> >> (hence the poor subject).
> >>
> >> I want to ssh into a remote machine, start a download (say wget -c
> >> xyz.iso), then close my ssh session, but still maintain the download
> >> while I'm no longer logged into the remote machine.
> >>
> >> Can this be done? If so, how?
> >
> >I find it easiest to use wget with the -b parameter along with nohup as in:
> >
> >nohup wget -b -c http://blah.blah.com
>
> Does backgrounding a task have the same effect? That is, would:
>
> wget -b -c http://blah.blah.com &
>
> do as well? I didn't see anything relevent in man bash.
>
> I've played with screen. I may actually use it soon.
ssh servername "screen -d -m wget -b -c http://blah"
Works find, lasts a long time!
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com -
- VitalStream, Inc. http://www.vitalstream.com -
- -
- The gene pool could use a little chlorine. -
----------------------------------------------------------------------
More information about the fedora-list
mailing list