View previous topic :: View next topic |
Author |
Message |
newbie_gentoo Apprentice
Joined: 04 Jul 2004 Posts: 189
|
Posted: Sat Sep 25, 2004 6:03 pm Post subject: console downloader via ssh |
|
|
Hello. I have a Gentoo box that is always on, but hasn't got a keyboard or monitor. I use it via ssh through my desktop computer.
Since it's always connected it's an ideal computer for long over-night downloads. I emerged the console-browser "Links" in order to make my downloads.
The only problem is that, whenever I close the ssh window on my desktop, Links shutsdown in the gentoo box. I think it's some kind of protection feature of SSH.
Is there a way for me to be able to run Links via SSH, and make it still run after I close down the ssh window?
Thanks |
|
Back to top |
|
|
Voltago Advocate
Joined: 02 Sep 2003 Posts: 2593 Location: userland
|
Posted: Sat Sep 25, 2004 7:34 pm Post subject: |
|
|
There are several possibilites:
a) Use screen. With screen, you can suspend ssh sessions and resume them later.
b) Execute
Code: | wget <url.you.want.to.download> & |
to daemonize the download thread. When you close the ssh session, the download will continue. |
|
Back to top |
|
|
viperlin Veteran
Joined: 15 Apr 2003 Posts: 1319 Location: UK
|
Posted: Sat Sep 25, 2004 7:45 pm Post subject: |
|
|
best bet i think is use "proz" in screen.
"emerge prozilla" i beleve |
|
Back to top |
|
|
newbie_gentoo Apprentice
Joined: 04 Jul 2004 Posts: 189
|
Posted: Sun Sep 26, 2004 11:39 am Post subject: |
|
|
Thank you very much for your help! I managed to get screen and links to work after closing my ssh window.
Prozilla looked like a good sugestion, but via links I don't have to type url's for the downloads.
Once again thanks for the help! |
|
Back to top |
|
|
viperlin Veteran
Joined: 15 Apr 2003 Posts: 1319 Location: UK
|
Posted: Sun Sep 26, 2004 4:29 pm Post subject: |
|
|
actually, highlight url & middle click into the terminal after typing proz, it pastes it |
|
Back to top |
|
|
newbie_gentoo Apprentice
Joined: 04 Jul 2004 Posts: 189
|
Posted: Sun Sep 26, 2004 4:53 pm Post subject: |
|
|
Well, it's like a discussion I had with a friend of mine. I also agree that proz and wget are download-purpose programs, and so, should do it better than links. But, for what I'm doing, links is fine. I just need to press enter while on the link... no neet to open another window with a browser and copy+paste the url so that proz or wget and start... links does it all.
But thanks for the suggestion, nonetheless |
|
Back to top |
|
|
|