From f4d1642097cb8cfab5d9701dfdd3e534a810a575 Mon Sep 17 00:00:00 2001 From: Alexis Werefox Date: Fri, 26 Mar 2021 19:07:11 -0500 Subject: [PATCH] Modified ssh-config, added a secondary config for wireguard-connected devices. --- ssh/ssh-config | 25 ++++------------- ssh/wg-ssh-config | 70 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 76 insertions(+), 19 deletions(-) create mode 100644 ssh/wg-ssh-config diff --git a/ssh/ssh-config b/ssh/ssh-config index d88eebb..9a67815 100644 --- a/ssh/ssh-config +++ b/ssh/ssh-config @@ -1,3 +1,9 @@ +# Linode VPS +Host linode-vps + HostName 50.116.26.217 + User shadow8t4 + IdentityFile /home/shadow8t4/.ssh/id_ed25519 + # SSH Config for local network # ASUS @@ -30,22 +36,3 @@ Host shadow8t4-raspi4-beta User shadow8t4 IdentityFile /home/shadow8t4/.ssh/id_ed25519 -# NUC - Remote -Host werefox-nuc - HostName werefox.dev - Port 20202 - User shadow8t4 - IdentityFile /home/shadow8t4/.ssh/id_ed25519 - -# Optiplex Remote -Host werefox-nas - HostName werefox.dev - Port 22222 - User shadow8t4 - IdentityFile /home/shadow8t4/.ssh/id_ed25519 - -# Linode VPS -Host linode-vps - HostName 50.116.26.217 - User shadow8t4 - IdentityFile /home/shadow8t4/.ssh/id_ed25519 diff --git a/ssh/wg-ssh-config b/ssh/wg-ssh-config new file mode 100644 index 0000000..6de8c4c --- /dev/null +++ b/ssh/wg-ssh-config @@ -0,0 +1,70 @@ +# Linode VPS +Host linode-vps + HostName 50.116.26.217 + User shadow8t4 + IdentityFile /home/shadow8t4/.ssh/id_ed25519 + +# SSH Config for Wireguard network + +# ASUS +Host shadow8t4-asus + HostName 192.168.4.8 + User shadow8t4 + IdentityFile /home/shadow8t4/.ssh/id_ed25519 + +# NUC +Host shadow8t4-nuc + HostName 192.168.4.2 + User shadow8t4 + IdentityFile /home/shadow8t4/.ssh/id_ed25519 + +# Optiplex +Host shadow8t4-nas + HostName 192.168.4.10 + User shadow8t4 + IdentityFile /home/shadow8t4/.ssh/id_ed25519 + +# Raspi 4 alpha +Host shadow8t4-raspi4-alpha + HostName 192.168.4.6 + User shadow8t4 + IdentityFile /home/shadow8t4/.ssh/id_ed25519 + +# Raspi 4 beta +Host shadow8t4-raspi4-beta + HostName 192.168.4.7 + User shadow8t4 + IdentityFile /home/shadow8t4/.ssh/id_ed25519 + +# SSH Config for local network + +# ASUS +Host local-shadow8t4-asus + HostName 192.168.1.207 + User shadow8t4 + IdentityFile /home/shadow8t4/.ssh/id_ed25519 + +# NUC +Host local-shadow8t4-nuc + HostName 192.168.1.201 + User shadow8t4 + IdentityFile /home/shadow8t4/.ssh/id_ed25519 + +# Optiplex +Host local-shadow8t4-nas + HostName 192.168.1.202 + User shadow8t4 + IdentityFile /home/shadow8t4/.ssh/id_ed25519 + +# Raspi 4 alpha +Host local-shadow8t4-raspi4-alpha + HostName 192.168.1.208 + User shadow8t4 + IdentityFile /home/shadow8t4/.ssh/id_ed25519 + +# Raspi 4 beta +Host local-shadow8t4-raspi4-beta + HostName 192.168.1.209 + User shadow8t4 + IdentityFile /home/shadow8t4/.ssh/id_ed25519 +