Skip to content

Instantly share code, notes, and snippets.

@Cybourgeoisie
Last active February 29, 2020 14:36
Show Gist options
  • Save Cybourgeoisie/613e61172c3ae393fe31d707ca19ed69 to your computer and use it in GitHub Desktop.
Save Cybourgeoisie/613e61172c3ae393fe31d707ca19ed69 to your computer and use it in GitHub Desktop.
A list of programmer efficiency tips and tricks

Programmer Efficiency Tips

SSH

Shortcut ssh calls with ~/.ssh/config

Create and use an ~/.ssh/config file to store access info for all commonly-accessed servers.

Usage:

ssh game-server-alpha

Example ~/.ssh/config:

Host game-server-alpha
  Hostname 1.2.3.4
  User ubuntu
  IdentityFile /Volumes/ssh-keys/game-server-alpha.pem

Host game-server-prod
  Hostname 4.3.2.1
  User ubuntu
  IdentityFile /Volumes/ssh-keys/game-server-prod.pem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment