My customer accountSales contactWebmailOVHcloud Blog

Welcome to OVHcloud.

Log in to order, manage your products and services, and track your orders

Log in
OVH Guides

Logging in via SFTP

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

Last updated 25th June 2020

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/.


These guides might also interest you...