hosts + ssh config

This commit is contained in:
TheK4n 2023-11-21 13:57:41 +03:00
parent 7cbd625d89
commit 4414d1019e
2 changed files with 23 additions and 3 deletions

View File

@ -0,0 +1,14 @@
# Local
## 192.168.50.1 router.home
## 192.168.50.2 router2.home
## 192.168.50.10 files.home
## 192.168.50.11 builder.home
## 192.168.50.12 printer.home
## 192.168.50.20 workstation.home
## 192.168.50.21 phone.home
# Network
# 91.91.91.91 home

View File

@ -1,8 +1,7 @@
Host docker
HostName 0.0.0.0
Port 2222
Port 2022
User root
IdentityFile ~/.ssh/id_rsa
UserKnownHostsFile=/dev/null
StrictHostKeyChecking no
@ -10,9 +9,16 @@ Host aur.archlinux.org
IdentityFile ~/.ssh/aur
User aur
# Host pc.work.vpn
# HostName 10.0.0.20
# Host 192.168.2?.*
# UserKnownHostsFile=/dev/null
# StrictHostKeyChecking no
Host *
User thek4n
Port 22
IdentityFile ~/.ssh/id_rsa
ControlMaster auto
ControlPath /tmp/ssh_mux_%h_%p_%r
ControlPersist 10m