We use cookies
We use cookies to optimize our website. By continuing to browse the site, you agree to our use of cookies.
New design
Control panel
  • Русский
  • Українська
  • English
  • UAH
  • USD
  • RUB
  • EUR
  • 0-800-307-307 Hotline
  • +38 (044) 392-74-33 Kiev
  • +38 (057) 728-39-00 Kharkiv
  • +38 (056) 794-38-31 Dnipro
  • +38 (032) 229-58-93 Lviv
  • +38 (048) 738-57-70 Odessa
  • +38(093) 170-15-42  Life
  • +38 (067) 400-88-44 Kievstar
  • +1(888)393-24-51  USA, Toll free
  • +44(131)507-01-14  Great Britain
  • +7 (499) 348-28-61 Moscow

2.6.2.3.4. Configuring Key Authentication in WinSCP

When connecting via SFTP or SCP in WinSCP, key authentication can be used instead of passwords.

To set up key authentication, do the following:

  1. Generate a key pair in any of the ways.
  2. Add public key on the server.
  3. Convert the private key to the format .ppk using the utility PuTTYgen:
    1. Run puttygen.exe.
    2. In the menu, clickConversions → Import key»:
    3. Select the generated private key file id_rsa.
    4. Click "Save private key»:
    5. If you receive a warning that the passphrase is missing, clickYes"To continue without it (or you can click"No"To go back and specify it):
    6. Save the received private key in a safe place.
  4. When setting up a connection via SFTP or SCP in WinSCP, instead of specifying a password, do the following:
    1. Click "Yet…»:
    2. In chapter "SSH → Authentication"Use the button with three dots to specify in the field"Private key file"The path to the previously saved private key and click"OK»:
  5. Check the connection.