-1

I'm trying to execute below command using Putty pscp tool.

pscp -v -pw mypassword "X:\data\temp*" root@172.x.x.x:\tmp\data

I'm getting following error.

Fatal: Disconnected: No supported authentication methods available

I have to pass user name and password. And on target system I don't have much of control.

Could anybody point out what I'm doing wrong?

Ganesh Satpute
  • 3,664
  • 6
  • 41
  • 78

2 Answers2

0

The remote server might be rejecting ssh with a password. You could try to set up DSA or RSA keys with puttygen but you would need to change the key on the remote site. Does this work with ftp? Root login might also be disabled, and besides its usually a bad idea. That is why someone suggested that this go to the superuser forum. Root is not a regular user and remote login might be disabled in /etc/sshd_config.

John Rigler
  • 183
  • 1
  • 7
0

Changed ... PermitRootLogin no ... PasswordAuthentication no ...

To

...
PermitRootLogin     yes
...
PasswordAuthentication  yes

And it worked!

Ganesh Satpute
  • 3,664
  • 6
  • 41
  • 78