======Setup WinSCP for file copy====== Before you can setup ''%%WinSCP%%'' with a key pair, you need to perform the necessary actions for ''%%putty%%'' key based access ([[:services:2fa:ssh:putty|see here]]). So you should already have a private key somewhere on your directory structure. This provate key will now be added tou your WinSCP setup. Open the ''%%WinSCP%%'' programs, select the saved profile to which you want to add the private key: {{ :services:2fa:ssh:winscp1.png?600 |}} Then click **Advanced** to open the configuration window: {{ :services:2fa:ssh:winscp2.png?600 |}} Select Authenticate onder SSH and then you see halfway down the right part of the window a textbox named **Private Key File:**. Click the Browse button and select your private key file: {{ :services:2fa:ssh:winscp3.png?600 |}} Once selected, click **OK** to save this setting and when back on the main window, click **Save** to save this new setting in the profile. Now you are ready to transfer files password/2fa code free.