From d8c4dc06dc32acc3da5ba080673223e1d0b289ea Mon Sep 17 00:00:00 2001 From: Morgan Wattiez Date: Mon, 29 Jul 2019 10:17:42 +0200 Subject: [PATCH] switch to ED25519 KEY --- dot_zsh_aliases | 4 ++-- private_dot_ssh/config | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/dot_zsh_aliases b/dot_zsh_aliases index 82ff066..0ce28a5 100644 --- a/dot_zsh_aliases +++ b/dot_zsh_aliases @@ -39,10 +39,10 @@ alias mailpro="gmail" #alias done='task_done' # Management / Security / SSH / SSL -alias mgmt='ssh $(whoami)@management.collibra.com -i ~/.ssh/id_rsa' +alias mgmt='ssh $(whoami)@management.collibra.com -i ~/.ssh/id_ed25519' alias m='mgmt' alias tunnel='sshuttle --dns -r "$(whoami)@management.collibra.com" 0/0' -alias sshpub='cat ~/.ssh/id_rsa.pub' +alias sshpub='cat ~/.ssh/id_ed25519.pub' alias ssla="openssl x509 -alias -noout -in" # Usage : ssla # Misc diff --git a/private_dot_ssh/config b/private_dot_ssh/config index 98a0715..7a6e108 100644 --- a/private_dot_ssh/config +++ b/private_dot_ssh/config @@ -2,5 +2,6 @@ Host * AddKeysToAgent yes UseKeychain yes + IdentityFile ~/.ssh/id_ed25519 IdentityFile ~/.ssh/id_rsa ServerAliveInterval 3600