When connecting using an SFTP client, it's recommended to use key-based authentication with SFTP Gateway. This is more secure than regular password.
Note: If you need to use password-based authentication, refer to this page on how to set that up.
In the process of creating a new user, the user's SSH key is sent via email. Paste the contents of this email (include the lines containing
END) into a new file (e.g. call it
In order to use your private key at the command line, you need to tighten permissions. Run the following command:
chmod 600 userPrivateKey.pem
Log into the SFTP Gateway server as the new user:
sftp -i userPrivateKey.pem <user>@<public ip>
Once connected, you should be able to run SFTP commands:
To log into the SFTP Gateway server using Filezilla, follow the GIF below.
userPrivateKey.pemfile you created earlier
Fill in the following fields:
userPrivateKey.pemyou created earlier.
.PEMfile to a
.PPK file. Click Ok.
Note: Transfer resume must be disabled to properly transfer files when using WinSCP.
Enable transfer resume/transfer to temporary filename for.
Finally, you can connect to the SFTP Gateway server.