muerwre.github.io/content/Linux/SSH.md
2022-11-03 10:38:11 +06:00

283 B

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