aboutsummaryrefslogtreecommitdiff
path: root/sshfs.c
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@suse.cz>2011-10-21 17:12:31 +0200
committerMiklos Szeredi <mszeredi@suse.cz>2011-10-21 17:12:31 +0200
commitb5f0c128f57f75575429e5cc037fa5833011f7cf (patch)
tree7d5bac1d57b89fe7f842b731cb7dc2b3abc89be1 /sshfs.c
parent77d57a4a5d36155659a29573d550214c368ed2e2 (diff)
downloadsshfs-b5f0c128f57f75575429e5cc037fa5833011f7cf.tar
sshfs-b5f0c128f57f75575429e5cc037fa5833011f7cf.tar.gz
sshfs-b5f0c128f57f75575429e5cc037fa5833011f7cf.tar.bz2
sshfs-b5f0c128f57f75575429e5cc037fa5833011f7cf.zip
Remove "-oPreferredAuthentications" from ssh options
Remove "-oPreferredAuthentications" from ssh options if the "password_stdin" option is used. Reported by E. Kuemmerle
Diffstat (limited to 'sshfs.c')
-rw-r--r--sshfs.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sshfs.c b/sshfs.c
index b392f50..6874e34 100644
--- a/sshfs.c
+++ b/sshfs.c
@@ -3108,7 +3108,6 @@ static int read_password(void)
}
sshfs.password[n+1] = '\0';
ssh_add_arg("-oNumberOfPasswordPrompts=1");
- ssh_add_arg("-oPreferredAuthentications=password,keyboard-interactive");
return 0;
}