putty - I can't transfer files using pscp to amazon AWS ec2 instances. Key refused -
i can connect server command line using putty using same private key.
but when try use same key transfer file pc on server":
pscp -i c:\xxx.ppk "c:\xx\somefile.yy" ec2-xx-xx-xxx-xxx.compute-1.amazonaws.com:/home/(some location)
i receive following error:
server refused our key fatal: disconnected: no supported authentication methods available (server sent: publickey)
could me fixing problem please?
you may want review error: server refused our key or no supported authentication methods available section of troubleshooting connecting instance document.
try this: add -l user name option pscp command line, proper username instance.
pscp -i c:\xxx.ppk -l user ec2-user "c:\xx\somefile.yy" ec2-xx-xx-xxx-xxx.compute-1.amazonaws.com:/home/(some location)
the -l option allows connect specified username. may have username mismatch.
Comments
Post a Comment