diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-02-27 11:28:36 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-02-28 11:36:49 +0200 |
commit | 98c482d7903d059a6598a6e7280f0e7b431eac29 (patch) | |
tree | a28adbf8b8b47b8c757d2fd7ae363c91d61ea71f | |
parent | 7f7cad4c2fdf5f42314da4fe5e9c410d9e27faec (diff) | |
download | vmadm-98c482d7903d059a6598a6e7280f0e7b431eac29.tar.gz |
feat: make ssh/config never use passwords, only use specified key
-rw-r--r-- | ssh/config | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,4 +1,6 @@ host * userknownhostsfile=/dev/null stricthostkeychecking=accept-new - identityfile=ssh/test.key
\ No newline at end of file + identityfile=ssh/test.key + identitiesonly=yes + passwordauthentication=no |