5

When I run my node server node server.js through SSH, the server starts and operates properly, however, I am left at the command prompt on a blank line, and no matter what I try to do, I can't "escape" out of that back to root /]#. Is it necessary for me to terminate the session completely and rerun a new SSH session to be able to operate on the prompt again?

I'm sure this is a completely basic problem with a completely basic solution, I just can't for the life of me seem to "escape" out of this back to the command line. It would seem unlikely that it would be necessary to completely exit out of PuTTy and start a new session just to terminate it..

3
  • Have you tried pressing Ctrl + C, that usually exits most servers I start via the CLI. Commented Sep 7, 2011 at 5:00
  • Thanks, that was it. I had tried Ctrl+X, Ctrl+Q, ESC, END, DELETE, etc.. glad that is sorted out. Commented Sep 7, 2011 at 5:03
  • @Derrick Tucker you might want to try Ctrl + D when Ctrl + C doesn't work. Commented Sep 7, 2011 at 5:15

2 Answers 2

6

Going to post as an answer, have you tried pressing Ctrl + C or as Gabi mentioned, Ctrl + D, that usually exits most servers I start via the CLI.

Sign up to request clarification or add additional context in comments.

Comments

0

You can use GNU Screen (quick reference here) to simultaneously work with multiple terminal interfaces within existing PuTTy session.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.