I
Insight Horizon Media

How do I add auth key in WinSCP?

Author

Mia Smith

Published Mar 08, 2026

How do I add auth key in WinSCP?

You can use Session > Install Public Key into Server command on the main window, or Tools > Install Public Key into Server command on SSH > Authentication page page on Advanced Site Settings dialog.

How do I access SFTP with WinSCP?

Start WinSCP. Login Dialog will appear….Connecting

  1. Select your File protocol.
  2. Enter your host name to Host name field, username to User name and password to Password.
  3. You may want to save your session details to a site so you do not need to type them in every time you want to connect.
  4. Press Login to connect.

How do I use SFTP with RSA key?

Using sftp in a Script (with RSA Authentication)

  1. Generate RSA key pair and verify that the keys are there.
  2. Copy the public key to the remote machine.
  3. Log in to remote machine to add key to authorized_keys file.
  4. Test the RSA Authentication.
  5. Create batch script to test sftp.
  6. Test sftp.

Can WinSCP be automated?

WinSCP offers scripting interface that you can use to automate many operations that it supports, including file transfers, synchronization and other operations. There is also WinSCP . NET assembly built on top of the scripting interface. If you plan to call WinSCP from your .

How do I authenticate public key?

Public key authentication works like this:

  1. Generate a key pair.
  2. Give someone (or a server) the public key.
  3. Later, anytime you want to authenticate, the person (or the server) asks you to prove you have the private key that corresponds to the public key.
  4. You prove you have the private key.

How do I find my SSH key in Windows?

Generating an SSH key

  1. Open the PuTTYgen program.
  2. For Type of key to generate, select SSH-2 RSA.
  3. Click the Generate button.
  4. Move your mouse in the area below the progress bar.
  5. Type a passphrase in the Key passphrase field.
  6. Click the Save private key button to save the private key.

How do I use WinSCP on Windows?

Set Up

  1. Download and install WinSCP.
  2. Connect to FTP server or SFTP server.
  3. Connect to FTP/SFTP server which can be accessed via another server only.
  4. Set up SSH public key authentication.

How do I open a WinSCP file in Windows 10?

Running the WinSCP Installation Program

  1. If you have WinSCP running, close it. The installer will not run if it finds any instance of WinSCP running.
  2. Open the installation program by double clicking on its icon.
  3. The WinSCP installer starts. Follow its instructions.

How do I log into WinSCP with a private key?

Private Key Tools After you save your new key pair in PuTTYgen, WinSCP will detect it and automatically insert a path to the new key file into Private key file box. Use the command Tools > Install Public Key into Server to install a public key into OpenSSH server. You will be prompted to select key pair to install.

How do I automate transfer in Windows?

  1. Type Task Scheduler in the search box on the Toolbar.
  2. Select Task Scheduler from the search options.
  3. In the right pane, click Create Task.
  4. Type a name for the task.
  5. Click Triggers to open the Triggers tab.
  6. Click New to create a Trigger.
  7. In the settings, select the frequency to trigger the task.