Answers for "exit ssh session in shell script"

0

exit ssh session in shell script

1. closing the shell session, e.g. with exit followed by Enter, or Ctrl-d usually allows you to exit the ssh session normally,
OR
2. in the case where you have a bad connection and the shell is unresponsive, hit the Enter key, then type ~. and ssh should immediately close and return you to your command prompt.
Posted by: Guest on May-12-2020
0

exit ssh session in shell script

1. closing the shell session, e.g. with exit followed by Enter, or Ctrl-d usually allows you to exit the ssh session normally,
OR
2. in the case where you have a bad connection and the shell is unresponsive, hit the Enter key, then type ~. and ssh should immediately close and return you to your command prompt.
Posted by: Guest on May-12-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language