Skip to content

Instantly share code, notes, and snippets.

@maciejskorski
Created April 21, 2023 11:34
Show Gist options
  • Save maciejskorski/1aba266765e975a487f5b3eb311e7716 to your computer and use it in GitHub Desktop.
Save maciejskorski/1aba266765e975a487f5b3eb311e7716 to your computer and use it in GitHub Desktop.
An example of SSH config for Google Cloud
# Read more about SSH config files: https://linux.die.net/man/5/ssh_config
Host snarto_kaggle_cpu
# update the instance IP under console.cloud.google.com/compute/instances -> more (...) -> network details
HostName 34.170.120.99
# add the public part under console.cloud.google.com/compute/metadata
IdentityFile ~/.ssh/id_rsa
# match the name under the SSH key
User maciej.skorski
Port 22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment