Skip to content

Instantly share code, notes, and snippets.

@iddqd3
Created January 15, 2015 06:35
Show Gist options
  • Save iddqd3/a83a2b0ffd93bfa78b9d to your computer and use it in GitHub Desktop.
Save iddqd3/a83a2b0ffd93bfa78b9d to your computer and use it in GitHub Desktop.
Прописываем настройки в файл:
# ~/.ssh/config
Host MyHost
HostName [host-ip]
Port [host-port]
User [host user, usually root]
IdentityFile [path/to/your/ID_RSA, usually ~/.SSH/ID_RSA]
Далее запускаем:
$ ssh MyHost
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment