aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-04-29 19:32:36 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2022-04-29 19:32:36 +0200
commit8c8af8b9d67104246aca917181f3a84e1e6de772 (patch)
treef8c19a7558d3c36581b6525c53afdf017e72011d
parentssh: remove GitHub SSH key (diff)
downloadlinux-home-8c8af8b9d67104246aca917181f3a84e1e6de772.tar.gz
linux-home-8c8af8b9d67104246aca917181f3a84e1e6de772.zip
ssh: update host settings
-rw-r--r--%HOME%/.ssh/config15
1 files changed, 13 insertions, 2 deletions
diff --git a/%HOME%/.ssh/config b/%HOME%/.ssh/config
index 7db498b..de4cdb8 100644
--- a/%HOME%/.ssh/config
+++ b/%HOME%/.ssh/config
@@ -57,11 +57,22 @@ Host 192.168.205.3 pc.vpn pc1.vpn tensin-pc.vpn tensin-pc1.vpn
User egor
ForwardAgent yes
-Host 192.168.203.4 192.168.205.1 pi pi1 raspi raspi1 tensin-raspi tensin-raspi1
+# TODO: remove tensin-raspi1?
+Host 192.168.203.4 pi pi1 raspi raspi1 tensin-raspi tensin-raspi1
User egor
ForwardAgent yes
-Host 192.168.203.8 192.168.205.4 pi2 raspi2 tensin-raspi2
+Host 192.168.205.1 pi.vpn pi1.vpn raspi.vpn raspi1.vpn tensin-raspi.vpn tensin-raspi1.vpn
+ Hostname 192.168.205.1
+ User egor
+ ForwardAgent yes
+
+Host 192.168.203.8 pi2 raspi2 tensin-raspi2
+ User egor
+ ForwardAgent yes
+
+Host 192.168.205.4 pi2.vpn raspi2.vpn tensin-raspi2.vpn
+ Hostname 192.168.205.4
User egor
ForwardAgent yes