Skip to content

Instantly share code, notes, and snippets.

@SebastiaAgramunt
Last active April 26, 2019 13:04
Show Gist options
  • Save SebastiaAgramunt/656fef8e54c8f33bcda1f26759eb744d to your computer and use it in GitHub Desktop.
Save SebastiaAgramunt/656fef8e54c8f33bcda1f26759eb744d to your computer and use it in GitHub Desktop.
A typical config file for remote ssh access
# This file should be placed in ~/.ssh/ folder
# along with the private keys specified for each host
# To access raspberry machine type ssh raspberry in terminal
Host raspberry
HostName 0.0.0.0
User pi
Port 5555
IdentityFile ~/.ssh/id_rsa_rpi_2
Host github.com
Hostname github.com
User sebastiaagramunt
PreferredAuthentications publickey
IdentityFile ~/.ssh/id_rsa_github
Host AiWorkstation
HostName 0.0.0.0
User sebastia.agramunt
Port 22
IdentityFile ~/.ssh/alpha_ai_workstation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment