grunt-ssh icon indicating copy to clipboard operation
grunt-ssh copied to clipboard

Not finding password authentication method

Open roytruelove opened this issue 11 years ago • 7 comments

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?

roytruelove avatar Dec 18 '13 16:12 roytruelove

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 ....

larryval avatar Jan 23 '14 17:01 larryval

bump. Having the same problem

mcgrews3 avatar Apr 30 '14 16:04 mcgrews3

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.

davidjbradshaw avatar Apr 30 '14 17:04 davidjbradshaw

Same issue here. On linux and node v0.10.38

przemyslawpluta avatar May 04 '15 12:05 przemyslawpluta

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"

fgarit avatar May 04 '15 12:05 fgarit

Possibly part of the issue https://github.com/mscdex/ssh2/issues/238. I'm connecting from linux into OS X Yosemite

przemyslawpluta avatar May 04 '15 13:05 przemyslawpluta

Same error, SLES11SP3, nde v0.10.33, grunt ^0.4.5, grunt-ssh: ^0.12.3

kinow avatar May 24 '15 23:05 kinow