My cheat sheet for SSH and screen...
SSH is a network protocol for secure data communication, remote shell services or command execution and other secure network services between two networked computers.
SSH
Start SSH from command line terminal using public / private keys:
ssh -2 -l username hostname -v -p port -i privatekeypath
where -l is low case L for login
Screen
Start screen:
screen -S chooseasessioname
List screens:
screen -list
Reconnect to a screen:
screen -d -r sessionowner/[pid.tty.host]
or
screen -d -r thesessionname
Commands once in screen
Ctrl-a - escape
Ctrl-a-d - detach the screen and all windows
Ctrl-a-c - new terminal window
Ctrl-a 0-9 - swap terminal window
Ctrl-a a - swap to last window
Ctrl-a-\ - kill the screen and all windows
Ctrl-a D D - detach log out of screen and close the ssh session
Share a screen
Ctrl-a :multiuser on
screen -x thesessionname
google 291
ReplyDeletegoogle 292
google 293
google 294
google 295
google 296
Your blog is great. I read a lot of interesting things from it. Thank you very much for sharing. Hope you will update more news in the future. If you want to Fix QuickBooks Bank Error 163 easily please contact QuickBooks team for instant help.
ReplyDelete