Skip to content

Latest commit

 

History

History
50 lines (28 loc) · 2.34 KB

SetupWinSCP.md

File metadata and controls

50 lines (28 loc) · 2.34 KB

Setup WinSCP

WinSCP can be used for live editing, uploading and downloading files using an encrypted SSH/SFTP connection. SFTP is part of OpenSSH and easy to setup. Don't use FTP or SCP – both is either insecure or outdated.

You can download WinSCP here.

Settings

Before you can work with WinSCP, there are many important settings you need to change.

After installation, choose Options > Preferences and make sure, that you use English as language and restart WinSCP:

language

Now, make sure all of these settings are applied:

commander

Add an editor, usually Notepad++ (can be downloaded here):

editor

Add SSH or SFTP session using Public Key Authentication

  1. Choose SFTP.
  2. Enter the servers hostname or IP address.
  3. Default port number is both 22 for SSH or SFTP.
  4. Enter your username.
  5. Don't enter any password, leave it empty.
  6. Finally click Advanced...

session1

Now, make sure the setting Sending of null SSH packets is enabled:

advanced1

Set your private key which is used instead of a password for authentication:

advanced2

You can now finally save your session and will be never asked again for any credentials:

session2

Permission Errors

In case you don't have root access, you might get the error Upload of file [...] was successful, but error occurred while setting the permissions and/or timestamp. In that case, you need to disable the option Preserve timestamp:

transfer-settings