How to Use sFTP to Connect to Your Web Hosting¶
You can use sFTP to upload and manage files on your web hosting.
Login Details¶
Note
Web Hosting only supports the sFTP protocol, which is more secure than regular FTP. When configuring your client, note that sFTP uses port 22, which is the standard sFTP port, and not port 21, which is used by regular FTP.
For PHP web hostings, you will find login details in the “Sites” section of your web hosting management page, within each Site’s page. For other Node.js or Python web hostings, you’ll find this information in the “Deploy” section of your web hosting’s management page.
The information provided is:
User: Use this as your
username
when connecting via sFTP. It is your web hosting “unique identifier”, that is generated for each web hosting and is not the same as your Gandi account’s username.Password: A deploy token, which you can create from the “Deploy tokens” tab on your web hosting’s management page and may be different from your account password. Use it as your sFTP password.
Server: The sFTP server’s hostname. Start a connection to this server and enter your username and password to gain access to your web hosting’s files.
Directory: Once you’re connected, you’ll find your website’s or application’s files in the specified path.
In your sFTP client, also remember to specify the following information:
Protocol: sFTP
Port: 22
SSH Key Authentication¶
Note
This only concerns sFTP and Git access. SSH key authentication is not available for SSH console access.
Instead of using a password to login to your web hosting via sFTP, you can use a public SSH key. You can add the key in the “Administration & Security” section of your web hosting’s management page.
Recommended sFTP Client Software¶
The following client software is used by many of our users, and is known to work well with our service :
FileZilla (Cross-platform)
FireFTP (Browser Plugin)
WinSCP (Windows)
iWeb (Mac)