From e473a0484ef2ee9bff386442c657e472759a2c51 Mon Sep 17 00:00:00 2001 From: Eric Torres Date: Mon, 9 Sep 2024 22:48:07 -0700 Subject: [PATCH] ssh: add srv-02 host --- ssh/authorized_keys.srv-02 | 1 + ssh/config.laptop | 6 ++++++ ssh/config.xenon | 22 +++++++++++----------- 3 files changed, 18 insertions(+), 11 deletions(-) create mode 100644 ssh/authorized_keys.srv-02 diff --git a/ssh/authorized_keys.srv-02 b/ssh/authorized_keys.srv-02 new file mode 100644 index 0000000..d213c70 --- /dev/null +++ b/ssh/authorized_keys.srv-02 @@ -0,0 +1 @@ +ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIItVva1V/icdm4uwtN+cd+sOoBAyL2CXig9R61RwY1JC etorres@xenon diff --git a/ssh/config.laptop b/ssh/config.laptop index c96541a..1027bd6 100644 --- a/ssh/config.laptop +++ b/ssh/config.laptop @@ -53,6 +53,12 @@ Host srv01 HostName srv-01.tail755c5.ts.net Port 22 +Host srv02 + User etorres + IdentityFile=~/.ssh/srv-02 + HostName srv-02.tail755c5.ts.net + Port 22 + Host minecraft1 User etorres IdentityFile=~/.ssh/minecraft1 diff --git a/ssh/config.xenon b/ssh/config.xenon index 6d12357..7106fdf 100644 --- a/ssh/config.xenon +++ b/ssh/config.xenon @@ -58,26 +58,26 @@ Host pve01 HostName 192.168.1.3 # ----- VMs ----- -# web-01 100 -Host web01 - User etorres - IdentityFile=~/.ssh/web-01 - HostName 192.168.1.5 - -# minecraft1 101 +# minecraft1 Host minecraft1 User etorres IdentityFile=~/.ssh/minecraft1 HostName 192.168.1.6 -# srv-01 102 +# srv-01 Host srv01 User etorres IdentityFile=~/.ssh/srv-01 HostName 192.168.1.7 -# homeassistant 103 -Host homeassistant +# srv-02 +Host srv02 User etorres - IdentityFile=~/.ssh/homeassistant + IdentityFile=~/.ssh/srv-02 HostName 192.168.1.8 + +# web-01 +Host web01 + User etorres + IdentityFile=~/.ssh/web-01 + HostName 192.168.1.5