-1

I have a remote server on a computer with Windows 8, using the program WinSCP to access. I want to access the server from another computer. The situation is I have not the password, so I want to know, if I can clone the private key to the another computer and how to do that. Somebody can help me?

  • Wouldn't it be easier to replace the private key, with a key you know the passphrase too, so you can distribute it to however many machines as you want? – Ramhound Feb 1 '18 at 21:00
  • 1
    Private key is just a file. So copy it over to the other machine. – Martin Prikryl Feb 1 '18 at 21:18
  • Martin is correct, and If you used a command line client you'd never ask such a question! As it'd be so obvious to you that the private key is a file! – barlop Feb 1 '18 at 21:33
  • thanks for your comments, somebody know where I can find the ssh files from WinSCP? – Jeov Feb 2 '18 at 0:46
  • @Jeov does this help? cloud.google.com/compute/images/connecting/… either way it looks like it uses ppk files so you could search your hard drive for that. But that screen or that kind of screen should show you where it is and where to point winscp to them.. but i don't use winscp – barlop Feb 2 '18 at 4:40
0

Private key is just a file. So copy it over to the other machine.

As you are using WinSCP and are able to login with it, you probably have a key file path configured in your stored session.

  • Select your stored session on WinSCP Login dialog.
  • Click Edit button.
  • Click Advanced button.
  • Go to SSH > Authentication page.
  • There, in the Authentication parameters > Private key file box, you will find a path to your SSH private key.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.