Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ssh question.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
chrism
Guru
Guru


Joined: 15 Jul 2004
Posts: 526

PostPosted: Sun Feb 13, 2005 12:31 am    Post subject: ssh question. Reply with quote

Hi,

let's say I ssh from Computer A to Computer B. Now I run a Program.

My question is:
Is there a way to run a Program on Computer B and terminate the connection? For instance I run emerge world on my server, but I don't want to wait and leave the workstation on.

Thanks,

Chris
Back to top
View user's profile Send private message
j-m
Retired Dev
Retired Dev


Joined: 31 Oct 2004
Posts: 975

PostPosted: Sun Feb 13, 2005 12:33 am    Post subject: Re: ssh question. Reply with quote

yellowhippy wrote:

Is there a way to run a Program on Computer B and terminate the connection? For instance I run emerge world on my server, but I don't want to wait and leave the workstation on.


Code:

emerge screen
man screen


on Computer B :)
Back to top
View user's profile Send private message
thompsonmike
Apprentice
Apprentice


Joined: 19 Jan 2004
Posts: 275
Location: Bath UK

PostPosted: Sun Feb 13, 2005 12:56 am    Post subject: Reply with quote

nohup program name > nohup.out &
_________________
Thanks


Michael..
Back to top
View user's profile Send private message
chrism
Guru
Guru


Joined: 15 Jul 2004
Posts: 526

PostPosted: Mon Feb 14, 2005 8:10 pm    Post subject: Reply with quote

Thanks, everything is working as it should.

Chris
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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