Logging in via SFTP

Find out how to log in to your Private Cloud via SFTP

Last updated 28th December 2021

Objective

Connecting to your datastores via Secure File Transfer Protocol (SFTP) allows you to add local backup files to your infrastructure. You can connect from a graphical interface with software such as FileZilla, available on Windows and Mac. You can also log in using the command line from your Linux operating system.

You will however only be able to access the "upload-vpn" folder of your datastores. Files outside this folder will not be accessible with this method.

This guide explains how to log in via SFTP from a graphical or a command line interface.

Requirements

Instructions

Logging in from a graphical interface

In your FTP client (FileZilla in this example) you need to enter the following credentials:

Host: [sftp://pcc-xxx-xxx-xxx-xxx.ovh.com] / Username: user / Password: password

SFTP login

Once you are logged in, you will find your local machine on the left, and your datastores on the right:

Login via SFTP with FileZilla

Logging in from a command line interface

First, verify that the sftp command is installed by typing:

sftp

The command for your login is as follows:

sftp user@pcc-xxx-xxx-xxx-xxx.ovh.com

You will then be prompted for your user password. Once you are logged in, you can list your datastores using the ls command:

sftp> ls pcc-000714

Browse the list of datastores found with the previous command:

sftp> pcc-000714

Use the put command to export files from your datastore to your local machine.

sftp> put /home/ubuntu-18.04-server-amd64.iso
/datastore/pcc-000714/ubuntu-18.04-server-amd64.iso 

Use the get command to import files from your local machine to your datastore.

sftp> get /datastore/pcc-00714/ubuntu-18.04-server-amd64.iso /home/

You can log out using the exit command.

Overview from vSphere

In your vSphere Client, you can see the contents that you have just sent in the Storage section: select your storage from the left-hand menu, switch to the Files tab and click on the "upload-vpn" folder.

SFTP connection via vSphere

Go further

Join our community of users on https://community.ovh.com/en/.


Did you find this guide useful?

Please feel free to give any suggestions in order to improve this documentation.

Whether your feedback is about images, content, or structure, please share it, so that we can improve it together.

Your support requests will not be processed via this form. To do this, please use the "Create a ticket" form.

Thank you. Your feedback has been received.


These guides might also interest you...

OVHcloud Community

Access your community space. Ask questions, search for information, post content, and interact with other OVHcloud Community members.

Discuss with the OVHcloud community

In accordance with the 2006/112/CE Directive, modified on 01/01/2015, prices exclude VAT. VAT may vary according to the customer's country of residence.