Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

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.
Comment

PREVIOUS NEXT
Code Example
Shell :: ogv to gif linux 
Shell :: bash find files and operator 
Shell :: mac cleanup github 
Shell :: how to install wordpress ubuntu 16.04 rosehosting 
Shell :: windows 10 direct inbound port to another device 
Shell :: navigating through directories using path 
Shell :: disable monitor on boot linux 
Shell :: Git Commands: Step By Step Guide (Part 1) 
Shell :: get old commit based on active users 
Shell :: libexpat fedora 
Shell :: how to know tachyons version 
Shell :: how to clear shell traps 
Shell :: failed to write object git pull 
Shell :: add computer to collection powershell 
Shell :: youtube-dl Network Options 
Shell :: watch coomnd bash 
Shell :: Disable the built-in Redis and Fill in the connection details 
Shell :: K8S Auto complate 
Shell :: canot find acord dynamic import 
Shell :: separate a file using a tag 
Shell :: ansible-playbook "module_stderr": "sudo: xx?" 
Shell :: bashrc setup "android" example 
Shell :: upload file to remote linux 
Shell :: what is 127 of echo $? 
Shell :: CentOS Extras aarch64 epel-release-8-8.el8.noarch.rpm 
Shell :: ubuntu 20.04 command line maky copy of folder 
Shell :: ssh_askpass: posix_spawnp: Unknown error 
Shell :: free space terminal ubuntu 
Shell :: linux command to check running process 
Shell :: aws install g++ 
ADD CONTENT
Topic
Content
Source link
Name
1+9 =