Connecting to SFTP

You can use ExpanDrive to connect to the Secure FTP server of your choice.


Unlike standard File Transfer Protocol (FTP), SFTP encrypts both commands and data, preventing passwords and sensitive information from being transmitted in the clear over a network.

An SFTP connection is also sometimes referred to us a Secure Shell (SSH) connection, since it uses the SSH cryptographic network protocol for secure data communication.


To connect to your SFTP server

  1. From the ExpanDrive window click on Add.
  2. Click on SSH (SFTP). The SFTP configuration screen is displayed.

sftp 1

The fields of the SFTP configuration screen are defined below

Parameter Description
server FQDN of the SSH/SFTP server that you would like to connect to

  1. servername.domain.com
username Username that you use to connect to the SFTP server.
password Password that you use to connect to the SFTP server.
authentication Password:
Default setting.  ExpanDrive will use the provided username and password to connect to the SFTP server.
SSH Key:
ExpanDrive will use the uploaded ssh key file to connect to the SFTP server.

Pageant:
ExpanDrive will use the private keys managed by Pageant (Putty SSH authentication agent) to connect to the SFTP server.

port Port for the SFTP server. Default is port 22.
nickname An optional nickname that you provide to identify this server.
remote path An optional remote path that you specify, if you would like to map to a specific directory on the SFTP server.
drive letter Drive letter that will be assigned to the ExpanDrive drive mapping.
If “reconnect at login” is enabled, the same drive mapping is enabled each time that ExpanDrive connects to the SFTP server.

Authentication Types

The following authentication types can be selected

Password

To connect using Password

  1. From the SFTP configuration screen, enter the server name and username and password
  2. For “authentication” leave the default setting: Password
  3. Configure the remaining fields as required

SSH Key

You can specify your SSH Key file to connect to the SFTP securely using a public/private key pair.

Note: You must have already generated a public/private rsa key pair, and that you must have also already added the public key to the SFTP server.

Generating SSH Keys on OS X

Generating SSH Keys on Windows

To use SSH Key

  1. From the SFTP configuration screen, enter the server name.
  2. For “authentication” select SSH Key.
  3. You are prompted to provide the SSH key file that includes the private key via the pop-up (must be in format supported by OpenSSH).
  4. Configure the remaining fields as required.
  5. Click on Connect. If your private key has a passphrase you will be prompted to enter it when connecting.

SSH Agent

A SSH Agent manages ssh key files for you, removing the need to enter a lengthy passphrase each time you want to connect to an SSH server. This is particularly helpful if you use multiple private/public key pairs to connect to different resources.

You can use ExpanDrive with the Pageant SSH authentication agent (Putty utility).

To connect using Pageant

  1. From the SFTP configuration screen, enter the server name.
  2. For “authentication” select Pageant.
  3. Configure the remaining fields as required.
  4. Click Connect.

The private key managed by Pageant will be used to connect to the SFTP server, and there is no need to enter a passphrase.