I was trying to copy a file to my newly created Oracle Compute Cloud instance from one of my Linux servers.
But every time I entered the password, it kept reprompting me:
root@demo:/u01> scp -i "oracloud.ppk" filename.txt opc@129.129.129.129:/tmpEnter passphrase for key 'oracloud.ppk':Enter passphrase for key 'oracloud.ppk':Enter passphrase for key 'oracloud.ppk':However, running the same command from Windows with the same private key seemed to work:
P:\temp> pscp -i "oracloud.ppk" filename.txt opc@129.129.129.129:/tmp
Solution:
It worked on Windows because I was using pscp.exe which is Putty's implementation which uses the private key in PuTTY PPK format. But on Linux, use the private key saved in OpenSSH format instead.
1. Use the private key that was saved in the OpenSSH format:
root@demo:/u01> scp -i "oracloud.ssh" filename.txt opc@129.129.129.129:/tmp
Applicable Versions:
- Oracle Compute Cloud Service (2016)
References:

1 comment:
How to register a new bet365 account | Sportsbook - Airjordan 7
Bet365 is one of the jordan 18 white royal blue from my site best betting sites where to get air jordan 18 retro yellow suede in the world when it air jordan 18 retro yellow suede discount comes make jordan 18 white royal blue to mobile betting. We'll show you how you can use the Bet365 app website to buy air jordan 18 retro varsity red
Post a Comment