Switch from RSA to ED25519 ssh keys

This commit is contained in:
2026-04-15 14:52:33 +02:00
parent 38e8ea43cd
commit a29050a389
+12 -8
View File
@@ -13,31 +13,35 @@ Host backup
hostname pierrick.tdehaeze.xyz hostname pierrick.tdehaeze.xyz
Port 10022 Port 10022
user thomas user thomas
IdentityFile ~/.ssh/id_rsa IdentityFile ~/.ssh/id_ed25519
Host pierrick Host pierrick
hostname pierrick.tdehaeze.xyz hostname pierrick.tdehaeze.xyz
Port 56432 Port 56432
user pierrick user pierrick
IdentityFile ~/.ssh/id_rsa IdentityFile ~/.ssh/id_ed25519
Host homelab Host homelab
hostname <<get-password(passname="ip/homelab")>> hostname <<get-password(passname="ip/homelab")>>
Port 22 Port 22
user thomas user thomas
IdentityFile ~/.ssh/id_rsa IdentityFile ~/.ssh/id_ed25519
Host zotac
hostname 192.168.5.75
Port 22
user thomas
IdentityFile ~/.ssh/id_ed25519
Host router Host router
hostname 192.168.1.1 hostname 192.168.1.1
Port 22 Port 22
user root user root
IdentityFile ~/.ssh/id_rsa IdentityFile ~/.ssh/id_ed25519
PubkeyAcceptedAlgorithms +ssh-rsa
HostkeyAlgorithms +ssh-rsa
Host *.esrf.fr Host *.esrf.fr
User dehaeze User dehaeze
IdentityFile ~/.ssh/id_rsa IdentityFile ~/.ssh/id_ed25519
Host firewall.esrf.fr Host firewall.esrf.fr
Port 5022 Port 5022
@@ -49,7 +53,7 @@ Match host *.esrf.fr !host firewall.esrf.fr !exec "~/.ssh/esrf-test"
Host rnice Host rnice
Port 22 Port 22
user dehaeze user dehaeze
IdentityFile ~/.ssh/id_rsa IdentityFile ~/.ssh/id_ed25519
#+end_src #+end_src
#+begin_src bash :tangle ~/.ssh/esrf-test :comments none :mkdirp yes :shebang "#!/usr/bin/env bash" :tangle-mode (identity #o555) #+begin_src bash :tangle ~/.ssh/esrf-test :comments none :mkdirp yes :shebang "#!/usr/bin/env bash" :tangle-mode (identity #o555)