muerwre.github.io/content/Linux/SSH.md
2022-11-04 18:29:11 +06:00

13 lines
283 B
Markdown

## Config aliases for #SSH hosts
#SSH config can be used to made aliases for different hosts. Should be put at `~/.ssh/config`. To simply call `ssh router` without parameters, use this:
```
Host router
HostName 192.168.0.1
IdentityFile ~/.ssh/id_rsa
User root
Port 22522
```