The SFTP functionality of Termius lets you:

  • securely transfer files between the local and a remote host or two remote hosts,
  • manage files on the local and a remote host,
  • edit files on a remote and the local host.

The SFTP screen is divided into two panes, each of which shows files and directories stored on a selected host and provides options for transferring, managing and editing files.

ezgif-3-de46d1a14e.gif

Note: SFTP is available only through a Termius subscription.

Important note about Termius in app stores

Accessing the local host is currently not possible using Termius downloaded from Mac App Store, Microsoft Store and Snap, unless you access the local host as if it was a remote host, i.e. through ssh, which requires a locally installed and enabled ssh server. It is not possible because Termius in these app stores is sandboxed, meaning it can't access your local drive. You can download a non-sandboxed version from the website.

Termius in Google Play and iOS App Store has limited access to your local drive – to the app's directory on iOS and the app's directory and certain other directories on Android.

Browse a host

 The following steps will allow you to select / access a host in one of the SFTP panes:

  1. Either click  Button.png or if there's an already selected host click its name at the top.
    ezgif-3-739cb84943.gif
  2. Click  Local.png or double-click a remote host to select the local or a remote host, respectively.
    Screenshot_2021-12-16_at_21.17.09.png

You can navigate to a directory by typing its path:

  1. Hover over the area next to your current location and click.
  2. Type in the directory's path and press Enter.
    ezgif-5-217b8b5aca.gif

To show a host's hidden files, choose Actions > Show hidden files when connected to it.

When using an iPhone set to the portrait mode, you can see only one SFTP pane. To switch to the other pane, use the toggle at the bottom right.

sftp_i.png

By default, both SFTP panes are set to the app's directory, 'Documents', on your local device.

To select a host in one of the SFTP panes, tap the currently selected host's name, e.g. 'Local', and then the host you'd like to switch to.

IMG_0DC5773B02B8-1.jpeg

To show hidden files, tap icon_gear.png then turn on the 'Hidden files' toggle.

Termius for Android shows the contents of one SFTP pane at a time. To switch between the two panes, use the toggle at the top of the screen.

Screenshot_20220113_212312_com.server.auditor.ssh.client.jpg

By default, both SFTP panes are set to the app's local directory - 'Termius Local'.

To select a remote host in one of the panes, tap your current location, e.g. 'Termius Local :/', then switch to Hosts at the top and tap the host you'd like to switch to.

To select the app's local directory, tap your current location, then, on the Local tab, tap Termius Local :/.

To select a local directory outside the app's directory, tap your current location, e.g. 'Termius Local :/', then tap Choose a different directory, and select the directory you'd like to switch to.

Transfer files

Firstly, in the SFTP panes, select the hosts between which you'd like to transfer files.

Secondly, in the appropriate pane, navigate to the file or directory that you'd like to transfer to the other host and then

  • either drag it to the other pane,
    ezgif-3-de46d1a14e.gif
  • or right-click it and choose Copy to target directory.

Firstly, in the SFTP panes, select the hosts between which you'd like to transfer files.

Secondly, in the appropriate pane, navigate to the file or directory that you'd like to transfer to the other host and then either swipe it to the left and tap Copy, or drag it to the other pane.

IMG_0DC5773B02B8-1.jpeg

The files downloaded to the local host can be found in the Files app. In the Files app, see Locations > On my iPhone (iPad) > Termius.

Before you transfer a file: the 'Termius local' directory can only be accessed from Termius.

Firstly, in the SFTP panes, select the hosts between which you'd like to transfer files.

Secondly, in the appropriate pane, navigate to the file or directory that you'd like to transfer to the other host, then tap its icon, tap at the top right and choose Transfer to.

a_new.gif

Manage files

Select the host, the files of which you'd like to manage, in one of the SFTP panes and then:

  • To rename, delete or edit permissions, right-click an item and choose the required option.
    Screenshot_2021-12-16_at_22.02.36.png
  • To create a directory, choose the relevant option in the Actions menu at the top.
    Screenshot_2021-12-16_at_22.05.04.png

Select the host, the files of which you'd like to manage, in one of the SFTP panes and then:

  • To rename or delete, swipe the item to the left and choose the relevant option.
    sftp_delete.png
  • To create a directory, tap  icon.png.

Select the host, the files of which you'd like to manage, in one of the SFTP panes and then:

  • To rename or delete, tap an item's icon, then tap at the top right and choose the relevant option.
  • To create a directory, tap next to your current location and then New Dir.

sftp_a_more.gif

Edit files

To edit a remote file, right-click it and click Open or Open with.

The Open command will:

  1. download the file to a temporary directory,
  2. open it using the app associated with that file's type,
  3. if you confirm, auto-upload the file once it has been modified.
    Screenshot_2021-12-16_at_22.09.12.png

Open with is different from Open in that it lets you choose an app for opening the file and associate it with the file's type. In Preferences > SFTP, you'll be able to adjust the file type associations you've created.

Screenshot_2022-05-06_at_00.50.44.png

Editing local files is not possible on Android.

To edit a remote file tap its icon, then tap at the top right and Edit.

You'll be asked to choose a CLI app that is installed on the host. The file will be opened in that app.

Add comment

Please sign in to leave a comment.

Comments

4 comments

  • Simon Hagemann

    Is there no ability to move files within a host? E.g. move a file via drag&drop into a folder (same host)

    Simon Hagemann
    0
  • Dmitry Machulo

    Hi Simon, that functionality has not been implemented yet.

    Dmitry Machulo
    0
  • Brian S.

    does SFTP respect host chaining (proxyjump) to the host?

    Brian S.
    0
  • Dmitry Machulo

    Hi, Brian. Yes, it should. I see that it does on my configuration.

    Dmitry Machulo
    0