Skip to content

Instantly share code, notes, and snippets.

View ucancodethis's full-sized avatar
🎯
Focusing

Noe Garcia ucancodethis

🎯
Focusing
View GitHub Profile
@ucancodethis
ucancodethis / ssh-tips-and-tricks.md
Last active August 17, 2021 17:39
ssh tips and tricks

Connect to server with ssh

ssh username@machine -p [PORT]

To non interactive auth

  1. Generate ssh cert
ssh-keygen
# Terminal Cheat Sheet
pwd # print working directory
ls # list files in directory
cd # change directory
~ # home directory
.. # up one directory
- # previous working directory
help # get help
-h # get help