Topic "How to upload a private key and send file using WINCP"

Author Message
dericchow
[View user's profile]

Joined: 2004-07-13
Posts: 2
I already have private key. How can I upload if in WinSCP and send file to a SSH server ?

Thanbks
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24993
Location: Prague, Czechia
dericchow wrote:
I already have private key. How can I upload if in WinSCP and send file to a SSH server ?

Every SSH server has different way. What is your server? In general you do not send your private key to the server (that's why it is private). You send only the public key. With OpenSSH you insert the public key to file ~/.ssh/authorized_keys
_________________
Martin Prikryl
dericchow
[View user's profile]

Joined: 2004-07-13
Posts: 2
Thanks.

I only used the private key for encrtiption.
Do WINSCP use the following concept for encription ?

1. WinSCP generate session key for encryption.
2. The session key is encrypted by the private key of my own.
3. The other party (SSH server) receive the encrypted message and session key, and can decrpt the session key using my public key. (I have already sent my public key to the other party before).

How can I do the above in WINSCP?

Deric
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24993
Location: Prague, Czechia
Sorry, I've misunderstood your question. Enter path to your private key to "Private key file" box on login dialog. You may need to convert the key to Putty format using puttygen tool before.
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License