Difference between revisions of "~/.ssh/config"
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
Line 6: | Line 6: | ||
[[IdentityFile]] ~/[[.ssh/id_ed25519]] | [[IdentityFile]] ~/[[.ssh/id_ed25519]] | ||
+ | Host * | ||
+ | User yourdefaultuser | ||
+ | [[StrictHostKeyChecking]] no | ||
Latest revision as of 11:10, 21 September 2023
https://linux.die.net/man/5/ssh_config
Host your_machine_name Hostname IP_or_dns_name User USERNAME_TO_CONNECT IdentityFile ~/.ssh/id_ed25519
Host * User yourdefaultuser StrictHostKeyChecking no
mkdir ~/.ssh/ touch ~/.ssh/config
ServerAliveInterval ClientAliveInterval
Related[edit]
/etc/ssh/ssh_config
IdentityFile
pointing to private key- Terraform: AWS instance example with aws ami lookup and key name
Bad owner or permissions on
chmod
SendEnv
See also[edit]
Advertising: