Skip to content

VPS: Connect via SFTP

Discover how to transfer files securely via SFTP and protect your data with encrypted connections

12 November 20261 min read49 Views0 helpful

Introduction

SFTP is a secure protocol for transferring files between computers over the internet or a network. It stands for “SSH File Transfer Protocol” or “Secure File Transfer Protocol” and is based on the SSH protocol (Secure Shell).

Unlike FTP (File Transfer Protocol), which transfers data without encryption, SFTP ensures that all data is encrypted and therefore protected from unauthorized access.

Connect

To connect via SFTP, use the root user's login credentials. This example shows how to set up the connection using the WinSCP application. Create a New Session in WinSCP.

In the configuration window for the new session, select SFTP as the File protocol. Then enter your server's IP address and port 22. Use your root user's login credentials for the username and password.

Warning: Using SSH keys

If you use an SSH key instead of the standard password option, click Advanced and go to SSH -> Authentication. There, you can add your SSH key.

The first time you connect via SFTP, this message appears because your computer does not yet recognize the server. Click “Yes” if you trust the server. This saves its security key so you won't be asked again on future connections. This is a normal step when connecting to a new server for the first time.

Conclusion

If you have followed all the steps, you have successfully connected to your server via SFTP. If you have any further questions or need help, our support team is available every day! 🙂

Free tools

Related tools for servers and developers

View all

FAQ

Frequently asked questions

FTP transfers data without encryption, while SFTP is based on the SSH protocol and encrypts all data to protect it from unauthorized access.
Your root user's login credentials, your server's IP address, and port 22.
Yes. In WinSCP, click 'Advanced' and go to SSH -> Authentication to add your SSH key.

Feedback

Was this article helpful?

Your feedback helps us prioritize and improve content.

0 of 0 people found this article helpful.

Personal support

Need more help than the guide provides?

Our ZAP-Hosting support team knows your product — briefly describe your issue and we'll help you personally.

Zappy knows this guide and answers you right in the chat.