Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
console downloader via ssh
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
newbie_gentoo
Apprentice
Apprentice


Joined: 04 Jul 2004
Posts: 189

PostPosted: Sat Sep 25, 2004 6:03 pm    Post subject: console downloader via ssh Reply with quote

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
View user's profile Send private message
Voltago
Advocate
Advocate


Joined: 02 Sep 2003
Posts: 2593
Location: userland

PostPosted: Sat Sep 25, 2004 7:34 pm    Post subject: Reply with quote

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
View user's profile Send private message
viperlin
Veteran
Veteran


Joined: 15 Apr 2003
Posts: 1319
Location: UK

PostPosted: Sat Sep 25, 2004 7:45 pm    Post subject: Reply with quote

best bet i think is use "proz" in screen.

"emerge prozilla" i beleve
Back to top
View user's profile Send private message
newbie_gentoo
Apprentice
Apprentice


Joined: 04 Jul 2004
Posts: 189

PostPosted: Sun Sep 26, 2004 11:39 am    Post subject: Reply with quote

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
View user's profile Send private message
viperlin
Veteran
Veteran


Joined: 15 Apr 2003
Posts: 1319
Location: UK

PostPosted: Sun Sep 26, 2004 4:29 pm    Post subject: Reply with quote

actually, highlight url & middle click into the terminal after typing proz, it pastes it :-)
Back to top
View user's profile Send private message
newbie_gentoo
Apprentice
Apprentice


Joined: 04 Jul 2004
Posts: 189

PostPosted: Sun Sep 26, 2004 4:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum