Prefer public key authentication.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Mon, 03 May 2010 19:41:08 +0300
changeset 70 637657d3b402
parent 69 0e2366650523
child 71 dcc8c2a63ec3
Prefer public key authentication.
.ssh/config
--- a/.ssh/config	Mon May 03 19:16:41 2010 +0300
+++ b/.ssh/config	Mon May 03 19:41:08 2010 +0300
@@ -11,3 +11,7 @@
 
 # Enable compression. To turn on it manually invoce ssh with -C key.
 # Compression yes
+
+# Prefer public key authentication.
+PreferredAuthentications publickey,keyboard-interactive,password
+PubkeyAuthentication yes