mirror of
https://github.com/LeCoupa/awesome-cheatsheets.git
synced 2026-01-25 04:38:51 -08:00
Merge 12f7e23f8f into 88e5be6e4b
This commit is contained in:
@@ -153,6 +153,8 @@ ssh user@host # connects to host as user
|
||||
ssh -p <port> user@host # connects to host on specified port as user
|
||||
ssh-copy-id user@host # adds your ssh key to host for user to enable a keyed or passwordless login
|
||||
|
||||
<Enter> + ~ + . # Exit an unresponsive SSH shell connection
|
||||
|
||||
whoami # returns your username
|
||||
su <user> # switch to a different user
|
||||
su - # switch to root, likely needs to be sudo su -
|
||||
|
||||
Reference in New Issue
Block a user