How to run a console through SSH client and keep it open? [duplicate]
This question already has an answer here:
Keep running a python program even after logging-off the ssh session [duplicate]
1 answer
I have a node application in development in a ubuntu server through SSH connection, I'm using bitvise ssh client, and running node server.js
through its GUI terminal.
But then when I exit the ssh client, the server terminal is closed remotely, how can I keep it open? I'm not sure if the question is related to this specific client or to SSH in general.
command-line server ssh nodejs
marked as duplicate by pa4080, karel, Charles Green, MadMike, Eric Carvalho yesterday
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |
This question already has an answer here:
Keep running a python program even after logging-off the ssh session [duplicate]
1 answer
I have a node application in development in a ubuntu server through SSH connection, I'm using bitvise ssh client, and running node server.js
through its GUI terminal.
But then when I exit the ssh client, the server terminal is closed remotely, how can I keep it open? I'm not sure if the question is related to this specific client or to SSH in general.
command-line server ssh nodejs
marked as duplicate by pa4080, karel, Charles Green, MadMike, Eric Carvalho yesterday
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
1
Lookup how to use the "screen" application (among others), running on the server, to keep a virtual terminal open between connections. 'screen' is included with desktop and server flavors of Ubuntu - you probably already have it installed. Tryman screen
– user535733
yesterday
add a comment |
This question already has an answer here:
Keep running a python program even after logging-off the ssh session [duplicate]
1 answer
I have a node application in development in a ubuntu server through SSH connection, I'm using bitvise ssh client, and running node server.js
through its GUI terminal.
But then when I exit the ssh client, the server terminal is closed remotely, how can I keep it open? I'm not sure if the question is related to this specific client or to SSH in general.
command-line server ssh nodejs
This question already has an answer here:
Keep running a python program even after logging-off the ssh session [duplicate]
1 answer
I have a node application in development in a ubuntu server through SSH connection, I'm using bitvise ssh client, and running node server.js
through its GUI terminal.
But then when I exit the ssh client, the server terminal is closed remotely, how can I keep it open? I'm not sure if the question is related to this specific client or to SSH in general.
This question already has an answer here:
Keep running a python program even after logging-off the ssh session [duplicate]
1 answer
command-line server ssh nodejs
command-line server ssh nodejs
asked yesterday
MojimiMojimi
1185
1185
marked as duplicate by pa4080, karel, Charles Green, MadMike, Eric Carvalho yesterday
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
marked as duplicate by pa4080, karel, Charles Green, MadMike, Eric Carvalho yesterday
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
1
Lookup how to use the "screen" application (among others), running on the server, to keep a virtual terminal open between connections. 'screen' is included with desktop and server flavors of Ubuntu - you probably already have it installed. Tryman screen
– user535733
yesterday
add a comment |
1
Lookup how to use the "screen" application (among others), running on the server, to keep a virtual terminal open between connections. 'screen' is included with desktop and server flavors of Ubuntu - you probably already have it installed. Tryman screen
– user535733
yesterday
1
1
Lookup how to use the "screen" application (among others), running on the server, to keep a virtual terminal open between connections. 'screen' is included with desktop and server flavors of Ubuntu - you probably already have it installed. Try
man screen
– user535733
yesterday
Lookup how to use the "screen" application (among others), running on the server, to keep a virtual terminal open between connections. 'screen' is included with desktop and server flavors of Ubuntu - you probably already have it installed. Try
man screen
– user535733
yesterday
add a comment |
1 Answer
1
active
oldest
votes
Just use nohup command ending by &. So your node command will be like this :
nohup node server.js &
Note that all output of your node command will be written into nohup.log file.
Also consider using systemd config to keep this script running into a production server.
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Just use nohup command ending by &. So your node command will be like this :
nohup node server.js &
Note that all output of your node command will be written into nohup.log file.
Also consider using systemd config to keep this script running into a production server.
add a comment |
Just use nohup command ending by &. So your node command will be like this :
nohup node server.js &
Note that all output of your node command will be written into nohup.log file.
Also consider using systemd config to keep this script running into a production server.
add a comment |
Just use nohup command ending by &. So your node command will be like this :
nohup node server.js &
Note that all output of your node command will be written into nohup.log file.
Also consider using systemd config to keep this script running into a production server.
Just use nohup command ending by &. So your node command will be like this :
nohup node server.js &
Note that all output of your node command will be written into nohup.log file.
Also consider using systemd config to keep this script running into a production server.
answered yesterday
olivierb2olivierb2
1,95989
1,95989
add a comment |
add a comment |
1
Lookup how to use the "screen" application (among others), running on the server, to keep a virtual terminal open between connections. 'screen' is included with desktop and server flavors of Ubuntu - you probably already have it installed. Try
man screen
– user535733
yesterday