summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-02-27 11:28:36 +0200
committerLars Wirzenius <liw@liw.fi>2021-02-28 11:36:49 +0200
commit98c482d7903d059a6598a6e7280f0e7b431eac29 (patch)
treea28adbf8b8b47b8c757d2fd7ae363c91d61ea71f
parent7f7cad4c2fdf5f42314da4fe5e9c410d9e27faec (diff)
downloadvmadm-98c482d7903d059a6598a6e7280f0e7b431eac29.tar.gz
feat: make ssh/config never use passwords, only use specified key
-rw-r--r--ssh/config4
1 files changed, 3 insertions, 1 deletions
diff --git a/ssh/config b/ssh/config
index eb1be72..b4cbdec 100644
--- a/ssh/config
+++ b/ssh/config
@@ -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