mirror of
https://github.com/LeCoupa/awesome-cheatsheets.git
synced 2026-01-26 05:08:03 -08:00
Compare commits
2 Commits
master
...
34c0a81349
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
34c0a81349 | ||
|
|
12f7e23f8f |
@@ -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