switch to ED25519 KEY

This commit is contained in:
Morgan Wattiez 2019-07-29 10:17:42 +02:00
parent 6d8500b7c1
commit d8c4dc06dc
2 changed files with 3 additions and 2 deletions

View File

@ -39,10 +39,10 @@ alias mailpro="gmail"
#alias done='task_done' #alias done='task_done'
# Management / Security / SSH / SSL # 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 m='mgmt'
alias tunnel='sshuttle --dns -r "$(whoami)@management.collibra.com" 0/0' 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 <cert> alias ssla="openssl x509 -alias -noout -in" # Usage : ssla <cert>
# Misc # Misc

View File

@ -2,5 +2,6 @@
Host * Host *
AddKeysToAgent yes AddKeysToAgent yes
UseKeychain yes UseKeychain yes
IdentityFile ~/.ssh/id_ed25519
IdentityFile ~/.ssh/id_rsa IdentityFile ~/.ssh/id_rsa
ServerAliveInterval 3600 ServerAliveInterval 3600