Skip to main content
Added correct markdown for monospaced code and weblinks ; Grammatical corrections (incl. formatting, redundancy removal, content rearrangement into it's logical chronology; removal of info not applicable to the answer)
Source Link
JW0914
  • 8.3k
  • 7
  • 31
  • 50

See Martin's answer it's quicker than this answer.

(Martin's answer is quicker than this answer)

The easiest way to do this is to make sure first thatensure you can connect in Putty 'cos Putty isPuTTY first since it's very similar to WinSCP.

(WinSCP even mentions PuttyGen!!!)

: enter image description hereScreenshot1

Putty seems to require thatPuTTY requires the key to be a PPK file. A Putty Private Key.

Instructions here mention how to use PuttyGen to convert an RSA key (like OpenSSH uses), to PPK format. https://www.dmit.io/index.php?rp=/knowledgebase/10/How-to-convert-RSA-Private-Key-to-Putty-Private-Key-.ppk.html

You open PuttyGen, do file..load private key. Then it shows PPK files, change that to show all files. Then choose id_rsa.ppk and then it loads that RSA key. Then do file..save private key. And that should save a PPK file.

Then in Putty under SSH..Auth..Private key file for authentication. You can choose that private key PPK file.

Then Putty asks you to specify the username, same username as you'd use with openssh, the ssh used in cygwin when you do ssh user@ip.[Putty Private Key]

Now you could put putty aside.. but it helps to know how to connect with Putty!

  • How to convert an RSA key (like OpenSSH uses) to a .ppk with PuTTYgen:
    1. FileLoad private key → Change to show all files
    2. Choose id_rsa to load the RSA key → FileSave private key
  • In PuTTY:
    1. ConnectionSSHAuthPrivate key file for authentication → Choose the .ppk
    2. PuTTY asks you to specify the username, which is the same username as with OpenSSH [SSH used in cygwin when executing ssh user@ip]
    3. Now put PuTTY aside, as it helps to know how to connect with PuTTY

WinSCP is very similar. At the login screen click advanced. Then it looks a bit like putty'sWinSCP login screen, click SSH..Authentication..Load private key. Choose that PPK private key, same one that worked in Putty. It will work for WinSCP too.

So, in WinSCP you go to "new session"

New Site
enter image description hereScreenshot

Then change file protocol to SCP of course. 'cos that's the protocol intended with the question. SCP is file transfer over SSH.

Then click 'advanced' (it may take a few moments when clicking advanced), that brings up the "advanced site settings" screen. ( it shouldn't call it "site", but anyway..it's really just a computer you are connecting to, that may or may not host a website). It may take a while for the screen to come up.. maybe the program was not written in C++. So lacks some speed. The about section mentions Delphi so maybe that is some explanation for why the screen comes up a bit slowly.

It's this screen here but don't click tools! You can simply point to the Private key file. But it's a putty private key that it wants!

enter image description here

So you use puttygen to convert your RSA private key to a putty private key! You do that in the way I described earlier in my answer.

  1. File protocolSCP [file transfer over SSH]
  2. AdvancedSSHAuthenticationLoad private key → Choose .ppk created above
    Screenshot2
    PuTTYgen is used to convert an RSA key to a .ppk, which is done in the same way I described above

See Martin's answer it's quicker than this answer.

The easiest way to do this is to make sure first that you can connect in Putty 'cos Putty is very similar to WinSCP.

(WinSCP even mentions PuttyGen!!!)

enter image description here

Putty seems to require that the key be a PPK file. A Putty Private Key.

Instructions here mention how to use PuttyGen to convert an RSA key (like OpenSSH uses), to PPK format. https://www.dmit.io/index.php?rp=/knowledgebase/10/How-to-convert-RSA-Private-Key-to-Putty-Private-Key-.ppk.html

You open PuttyGen, do file..load private key. Then it shows PPK files, change that to show all files. Then choose id_rsa and then it loads that RSA key. Then do file..save private key. And that should save a PPK file.

Then in Putty under SSH..Auth..Private key file for authentication. You can choose that private key PPK file.

Then Putty asks you to specify the username, same username as you'd use with openssh, the ssh used in cygwin when you do ssh user@ip.

Now you could put putty aside.. but it helps to know how to connect with Putty!

WinSCP is very similar. At the login screen click advanced. Then it looks a bit like putty's login screen, click SSH..Authentication..Load private key. Choose that PPK private key, same one that worked in Putty. It will work for WinSCP too.

So, in WinSCP you go to "new session"

enter image description here

Then change file protocol to SCP of course. 'cos that's the protocol intended with the question. SCP is file transfer over SSH.

Then click 'advanced' (it may take a few moments when clicking advanced), that brings up the "advanced site settings" screen. ( it shouldn't call it "site", but anyway..it's really just a computer you are connecting to, that may or may not host a website). It may take a while for the screen to come up.. maybe the program was not written in C++. So lacks some speed. The about section mentions Delphi so maybe that is some explanation for why the screen comes up a bit slowly.

It's this screen here but don't click tools! You can simply point to the Private key file. But it's a putty private key that it wants!

enter image description here

So you use puttygen to convert your RSA private key to a putty private key! You do that in the way I described earlier in my answer.

(Martin's answer is quicker than this answer)

The easiest way is to ensure you can connect in PuTTY first since it's very similar to WinSCP: Screenshot1

PuTTY requires the key to be a .ppk [Putty Private Key]

  • How to convert an RSA key (like OpenSSH uses) to a .ppk with PuTTYgen:
    1. FileLoad private key → Change to show all files
    2. Choose id_rsa to load the RSA key → FileSave private key
  • In PuTTY:
    1. ConnectionSSHAuthPrivate key file for authentication → Choose the .ppk
    2. PuTTY asks you to specify the username, which is the same username as with OpenSSH [SSH used in cygwin when executing ssh user@ip]
    3. Now put PuTTY aside, as it helps to know how to connect with PuTTY

At the WinSCP login screen, go to New Site
Screenshot

  1. File protocolSCP [file transfer over SSH]
  2. AdvancedSSHAuthenticationLoad private key → Choose .ppk created above
    Screenshot2
    PuTTYgen is used to convert an RSA key to a .ppk, which is done in the same way I described above
deleted 27 characters in body
Source Link
barlop
  • 24.3k
  • 47
  • 164
  • 247

See Martin's answer it's quicker than this answer.

The easiest way to do this is to make sure first that you can connect in Putty 'cos Putty is very similar to WinSCP.

(Looking at Reddy's answer, WinSCPWinSCP even mentions PuttyGen!!!)

enter image description here

Putty seems to require that the key be a PPK file. A Putty Private Key.

Instructions here mention how to use PuttyGen to convert an RSA key (like OpenSSH uses), to PPK format. https://www.dmit.io/index.php?rp=/knowledgebase/10/How-to-convert-RSA-Private-Key-to-Putty-Private-Key-.ppk.html

You open PuttyGen, do file..load private key. Then it shows PPK files, change that to show all files. Then choose id_rsa and then it loads that RSA key. Then do file..save private key. And that should save a PPK file.

Then in Putty under SSH..Auth..Private key file for authentication. You can choose that private key PPK file.

Then Putty asks you to specify the username, same username as you'd use with openssh, the ssh used in cygwin when you do ssh user@ip.

Now you could put putty aside.. but it helps to know how to connect with Putty!

WinSCP is very similar. At the login screen click advanced. Then it looks a bit like putty's login screen, click SSH..Authentication..Load private key. Choose that PPK private key, same one that worked in Putty. It will work for WinSCP too.

So, in WinSCP you go to "new session"

enter image description here

Then change file protocol to SCP of course. 'cos that's the protocol intended with the question. SCP is file transfer over SSH.

Then click 'advanced' (it may take a few moments when clicking advanced), that brings up the "advanced site settings" screen. ( it shouldn't call it "site", but anyway..it's really just a computer you are connecting to, that may or may not host a website). It may take a while for the screen to come up.. maybe the program was not written in C++. So lacks some speed. The about section mentions Delphi so maybe that is some explanation for why the screen comes up a bit slowly.

It's this screen here but don't click tools! You can simply point to the Private key file. But it's a putty private key that it wants!

enter image description here

So you use puttygen to convert your RSA private key to a putty private key! You do that in the way I described earlier in my answer.

See Martin's answer it's quicker than this answer.

The easiest way to do this is to make sure first that you can connect in Putty 'cos Putty is very similar to WinSCP.

(Looking at Reddy's answer, WinSCP even mentions PuttyGen!!!)

enter image description here

Putty seems to require that the key be a PPK file. A Putty Private Key.

Instructions here mention how to use PuttyGen to convert an RSA key (like OpenSSH uses), to PPK format. https://www.dmit.io/index.php?rp=/knowledgebase/10/How-to-convert-RSA-Private-Key-to-Putty-Private-Key-.ppk.html

You open PuttyGen, do file..load private key. Then it shows PPK files, change that to show all files. Then choose id_rsa and then it loads that RSA key. Then do file..save private key. And that should save a PPK file.

Then in Putty under SSH..Auth..Private key file for authentication. You can choose that private key PPK file.

Then Putty asks you to specify the username, same username as you'd use with openssh, the ssh used in cygwin when you do ssh user@ip.

Now you could put putty aside.. but it helps to know how to connect with Putty!

WinSCP is very similar. At the login screen click advanced. Then it looks a bit like putty's login screen, click SSH..Authentication..Load private key. Choose that PPK private key, same one that worked in Putty. It will work for WinSCP too.

So, in WinSCP you go to "new session"

enter image description here

Then change file protocol to SCP of course. 'cos that's the protocol intended with the question. SCP is file transfer over SSH.

Then click 'advanced' (it may take a few moments when clicking advanced), that brings up the "advanced site settings" screen. ( it shouldn't call it "site", but anyway..it's really just a computer you are connecting to, that may or may not host a website). It may take a while for the screen to come up.. maybe the program was not written in C++. So lacks some speed. The about section mentions Delphi so maybe that is some explanation for why the screen comes up a bit slowly.

It's this screen here but don't click tools! You can simply point to the Private key file. But it's a putty private key that it wants!

enter image description here

So you use puttygen to convert your RSA private key to a putty private key! You do that in the way I described earlier in my answer.

See Martin's answer it's quicker than this answer.

The easiest way to do this is to make sure first that you can connect in Putty 'cos Putty is very similar to WinSCP.

(WinSCP even mentions PuttyGen!!!)

enter image description here

Putty seems to require that the key be a PPK file. A Putty Private Key.

Instructions here mention how to use PuttyGen to convert an RSA key (like OpenSSH uses), to PPK format. https://www.dmit.io/index.php?rp=/knowledgebase/10/How-to-convert-RSA-Private-Key-to-Putty-Private-Key-.ppk.html

You open PuttyGen, do file..load private key. Then it shows PPK files, change that to show all files. Then choose id_rsa and then it loads that RSA key. Then do file..save private key. And that should save a PPK file.

Then in Putty under SSH..Auth..Private key file for authentication. You can choose that private key PPK file.

Then Putty asks you to specify the username, same username as you'd use with openssh, the ssh used in cygwin when you do ssh user@ip.

Now you could put putty aside.. but it helps to know how to connect with Putty!

WinSCP is very similar. At the login screen click advanced. Then it looks a bit like putty's login screen, click SSH..Authentication..Load private key. Choose that PPK private key, same one that worked in Putty. It will work for WinSCP too.

So, in WinSCP you go to "new session"

enter image description here

Then change file protocol to SCP of course. 'cos that's the protocol intended with the question. SCP is file transfer over SSH.

Then click 'advanced' (it may take a few moments when clicking advanced), that brings up the "advanced site settings" screen. ( it shouldn't call it "site", but anyway..it's really just a computer you are connecting to, that may or may not host a website). It may take a while for the screen to come up.. maybe the program was not written in C++. So lacks some speed. The about section mentions Delphi so maybe that is some explanation for why the screen comes up a bit slowly.

It's this screen here but don't click tools! You can simply point to the Private key file. But it's a putty private key that it wants!

enter image description here

So you use puttygen to convert your RSA private key to a putty private key! You do that in the way I described earlier in my answer.

added 58 characters in body
Source Link
barlop
  • 24.3k
  • 47
  • 164
  • 247

See Martin's answer it's quicker than this answer.

The easiest way to do this is to make sure first that you can connect in Putty 'cos Putty is very similar to WinSCP.

(Looking at Reddy's answer, WinSCP even mentions PuttyGen!!!)

enter image description here

Putty seems to require that the key be a PPK file. A Putty Private Key.

Instructions here mention how to use PuttyGen to convert an RSA key (like OpenSSH uses), to PPK format. https://www.dmit.io/index.php?rp=/knowledgebase/10/How-to-convert-RSA-Private-Key-to-Putty-Private-Key-.ppk.html

You open PuttyGen, do file..load private key. Then it shows PPK files, change that to show all files. Then choose id_rsa and then it loads that RSA key. Then do file..save private key. And that should save a PPK file.

Then in Putty under SSH..Auth..Private key file for authentication. You can choose that private key PPK file.

Then Putty asks you to specify the username, same username as you'd use with openssh, the ssh used in cygwin when you do ssh user@ip.

Now you could put putty aside.. but it helps to know how to connect with Putty!

WinSCP is very similar. At the login screen click advanced. Then it looks a bit like putty's login screen, click SSH..Authentication..Load private key. Choose that PPK private key, same one that worked in Putty. It will work for WinSCP too.

So, in WinSCP you go to "new session"

enter image description here

Then change file protocol to SCP of course. 'cos that's the protocol intended with the question. SCP is file transfer over SSH.

Then click 'advanced' (it may take a few moments when clicking advanced), that brings up the "advanced site settings" screen. ( it shouldn't call it "site", but anyway..it's really just a computer you are connecting to, that may or may not host a website). It may take a while for the screen to come up.. maybe the program was not written in C++. So packslacks some speed. The abouveabout section mentions Delphi so maybe that is some explanation for why the screen comes up a bit slowly.

It's this screen here but don't click tools! You can simply point to the Private key file. But it's a putty private key that it wants!

enter image description here

So you use puttygen to convert your RSA private key to a putty private key! You do that in the way I described earlier in my answer.

The easiest way to do this is to make sure first that you can connect in Putty 'cos Putty is very similar to WinSCP.

(Looking at Reddy's answer, WinSCP even mentions PuttyGen!!!)

enter image description here

Putty seems to require that the key be a PPK file. A Putty Private Key.

Instructions here mention how to use PuttyGen to convert an RSA key (like OpenSSH uses), to PPK format. https://www.dmit.io/index.php?rp=/knowledgebase/10/How-to-convert-RSA-Private-Key-to-Putty-Private-Key-.ppk.html

You open PuttyGen, do file..load private key. Then it shows PPK files, change that to show all files. Then choose id_rsa and then it loads that RSA key. Then do file..save private key. And that should save a PPK file.

Then in Putty under SSH..Auth..Private key file for authentication. You can choose that private key PPK file.

Then Putty asks you to specify the username, same username as you'd use with openssh, the ssh used in cygwin when you do ssh user@ip.

Now you could put putty aside.. but it helps to know how to connect with Putty!

WinSCP is very similar. At the login screen click advanced. Then it looks a bit like putty's login screen, click SSH..Authentication..Load private key. Choose that PPK private key, same one that worked in Putty. It will work for WinSCP too.

So, in WinSCP you go to "new session"

enter image description here

Then change file protocol to SCP of course. 'cos that's the protocol intended with the question. SCP is file transfer over SSH.

Then click 'advanced' (it may take a few moments when clicking advanced), that brings up the "advanced site settings" screen. ( it shouldn't call it "site", but anyway..it's really just a computer you are connecting to, that may or may not host a website). It may take a while for the screen to come up.. maybe the program was not written in C++. So packs some speed. The abouve section mentions Delphi so maybe that is some explanation for why the screen comes up a bit slowly.

It's this screen here but don't click tools! You can simply point to the Private key file. But it's a putty private key that it wants!

enter image description here

So you use puttygen to convert your RSA private key to a putty private key! You do that in the way I described earlier in my answer.

See Martin's answer it's quicker than this answer.

The easiest way to do this is to make sure first that you can connect in Putty 'cos Putty is very similar to WinSCP.

(Looking at Reddy's answer, WinSCP even mentions PuttyGen!!!)

enter image description here

Putty seems to require that the key be a PPK file. A Putty Private Key.

Instructions here mention how to use PuttyGen to convert an RSA key (like OpenSSH uses), to PPK format. https://www.dmit.io/index.php?rp=/knowledgebase/10/How-to-convert-RSA-Private-Key-to-Putty-Private-Key-.ppk.html

You open PuttyGen, do file..load private key. Then it shows PPK files, change that to show all files. Then choose id_rsa and then it loads that RSA key. Then do file..save private key. And that should save a PPK file.

Then in Putty under SSH..Auth..Private key file for authentication. You can choose that private key PPK file.

Then Putty asks you to specify the username, same username as you'd use with openssh, the ssh used in cygwin when you do ssh user@ip.

Now you could put putty aside.. but it helps to know how to connect with Putty!

WinSCP is very similar. At the login screen click advanced. Then it looks a bit like putty's login screen, click SSH..Authentication..Load private key. Choose that PPK private key, same one that worked in Putty. It will work for WinSCP too.

So, in WinSCP you go to "new session"

enter image description here

Then change file protocol to SCP of course. 'cos that's the protocol intended with the question. SCP is file transfer over SSH.

Then click 'advanced' (it may take a few moments when clicking advanced), that brings up the "advanced site settings" screen. ( it shouldn't call it "site", but anyway..it's really just a computer you are connecting to, that may or may not host a website). It may take a while for the screen to come up.. maybe the program was not written in C++. So lacks some speed. The about section mentions Delphi so maybe that is some explanation for why the screen comes up a bit slowly.

It's this screen here but don't click tools! You can simply point to the Private key file. But it's a putty private key that it wants!

enter image description here

So you use puttygen to convert your RSA private key to a putty private key! You do that in the way I described earlier in my answer.

added 1211 characters in body
Source Link
barlop
  • 24.3k
  • 47
  • 164
  • 247
Loading
Source Link
barlop
  • 24.3k
  • 47
  • 164
  • 247
Loading