~/.ssh/config
Dziedziczenie konfiguracji
Dział zatytułowany „Dziedziczenie konfiguracji”Użyta zostanie pierwsza uzyskana wartość:
Konfiguracja:
Host fooUser foot
Host barryIdentityFile ~/.ssh/another
Host bar*User bart
Host barmanUser barmanHostName barman.example.com
Host foo bar*HostName example.com
Host fooIdentityFile ~/.ssh/foo
Host bar*IdentityFile ~/.ssh/%hEfekt:
| polecenie | wynik |
|---|---|
ssh foo |
ssh foot@example.com -i ~/.ssh/foo |
ssh bar |
ssh bart@example.com -i ~/.ssh/bar |
ssh barman |
ssh bart@barman.example.com -i ~/.ssh/barman |
ssh barry |
ssh bart@example.com -i ~/.ssh/another |
ssh barqa |
ssh bart@example.com -i ~/.ssh/barqa |
Źródło: https://linux.die.net/man/5/ssh_config
Zapobieganie błędowi “Too many authentication failures”
Dział zatytułowany „Zapobieganie błędowi “Too many authentication failures””Użyj:
Host *IdentitiesOnly=yesŹródło: How to Fix “SSH Too Many Authentication Failures” Error
Follow @gander.pl on Bluesky