How to run a console through SSH client and keep it open? [duplicate]












0
















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.










share|improve this 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. Try man screen

    – user535733
    yesterday
















0
















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.










share|improve this 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. Try man screen

    – user535733
    yesterday














0












0








0









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.










share|improve this question















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






share|improve this question













share|improve this question











share|improve this question




share|improve this question










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. Try man screen

    – user535733
    yesterday














  • 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








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










1 Answer
1






active

oldest

votes


















2














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.






share|improve this answer






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    2














    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.






    share|improve this answer




























      2














      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.






      share|improve this answer


























        2












        2








        2







        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.






        share|improve this answer













        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.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered yesterday









        olivierb2olivierb2

        1,95989




        1,95989















            Popular posts from this blog

            How did Captain America manage to do this?

            迪纳利

            南乌拉尔铁路局