grunt-ssh
grunt-ssh copied to clipboard
Not finding password authentication method
Windows 7, node version 0.10.13
I'm unable to connect using a password. My config is as follows:
sftp:
dist:
files:
"./": "bower/docs/**/*.*"
options:
path:"/var/www/html/devDocs/myLib/#{VERSION}/"
host: 'myHost'
username: 'myUsername'
password: 'myPassword'
And the error I receive is:
>> Connection :: error :: Error: Authentication failure. Available authentication methods: publickey,gssapi-keyex,gssapi-with-mic,password
Since I am providing a password I'd expect it to go through - am I missing a config option?
Hum... same problem for me, i've read on one of this post than it's preferable to rollback to the 8.0 of this module ... I'll try this ....
bump. Having the same problem
I expect this is an issue with the underling SSH project having a compatibility problem with your remote SSH server. If your not connecting to OpenSSH 6.1 then I'd suggest making a test case with that project and submitting a ticket on that project.
Same issue here. On linux
and node v0.10.38
Similar problem here. Running grunt on cygwin.
Warning: Connection :: error :: Error: All configured authentication methods failed
sshexec: {
test: {
command: 'uptime',
options: {
host: 'myMachine',
username: 'myUser',
password: 'myPwd'
}
}
}
node v0.12.2 "grunt": "^0.4.5" "grunt-cli": "^0.1.13" "grunt-ssh": "^0.12.3"
Possibly part of the issue https://github.com/mscdex/ssh2/issues/238. I'm connecting from linux
into OS X Yosemite
Same error, SLES11SP3, nde v0.10.33, grunt ^0.4.5, grunt-ssh: ^0.12.3