Re: SSH question

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

 



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@xxxxxxxxxxxxxxx -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-            The gene pool could use a little chlorine.              -
----------------------------------------------------------------------

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux