summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBertrand Jacquin <bertrand@jacquin.bzh>2024-02-10 19:16:08 +0000
committerBertrand Jacquin <bertrand@jacquin.bzh>2024-02-10 21:54:57 +0000
commit4c213d8d11670e8b8af0fcd18e9cb3f30bf72959 (patch)
treed60386ede7b146950e7a147faa5bc62e424f6799
parentfactory-default/net-misc/openssh: define KnownHostsFile (diff)
downloadportage-4c213d8d11670e8b8af0fcd18e9cb3f30bf72959.tar.xz
factory-default/net-misc/openssh: define IdentityFile
-rw-r--r--factory-default/net-misc/openssh/etc/ssh/ssh_config3
1 files changed, 3 insertions, 0 deletions
diff --git a/factory-default/net-misc/openssh/etc/ssh/ssh_config b/factory-default/net-misc/openssh/etc/ssh/ssh_config
index f822f7a5..a243583a 100644
--- a/factory-default/net-misc/openssh/etc/ssh/ssh_config
+++ b/factory-default/net-misc/openssh/etc/ssh/ssh_config
@@ -53,6 +53,9 @@ Host *
# Order in which the client should try authentication methods
PreferredAuthentications publickey,keyboard-interactive,password
+ # File from which the user authentication identity is read
+ IdentityFile %d/.ssh/id_ed25519
+
# Do not forward authentication agent to the remote machine
ForwardAgent no