Volver a la wiki

SFTP: remote file browser

What it is

SFTP (SSH File Transfer Protocol) moves files securely over an SSH connection. The Terminal includes an SFTP sidebar — the FILES panel — that lets you browse the file system of the connected device, upload and download files, and edit text files in place. No separate FTP client needed.

The panel rides on your active SSH session: it uses the same connection and the same credentials, so there is nothing extra to log into. Where the transfer runs depends on where the console runs (see Run on in [[crearack—terminal—sesiones-ssh]]):

Not every network device supports SFTP. Linux servers, firewalls and most enterprise switches do; access points (Cambium, Xirrus) and low-end switches usually expose only a CLI. On those the panel says This device has no SFTP; fall back to scp or tftp from the SSH console.

How to browse files

  1. Open an SSH session with the device.
  2. Press Files in the session toolbar. The FILES sidebar slides open and lists the session’s starting directory.
  3. Navigate:
    • Double-click a folder to enter it.
    • Double-click .. to go up one level.
    • The path bar under the header shows where you are.
  4. Use Home to jump back to the starting directory and Refresh to reload the current one.

The list shows folders first (in green), then files, with name and size in the tooltip. A very large directory shows the first 2000 entries and says so.

How to upload a file

  1. Navigate to the destination folder.
  2. Press Upload and pick the file in your operating system’s dialog.
  3. The file transfers to the device and the listing refreshes. On a remote console the panel shows the progress (Uploading… N of M blocks).

Typical uses: pushing firmware images, deploying prepared config files, copying scripts to a server.

On a remote console the file is written first as <name>.part and replaces the destination only when it is complete, so an interrupted upload never leaves a half-written file in place. If the device cannot replace an existing file atomically, the old one is removed first; if that last step fails, the panel says Your file is at .part and nothing is lost.

How to download a file

Double-click any binary or unrecognized file and it downloads through your browser. Typical uses: pulling config backups, collecting log files for offline analysis.

How to edit a text file

Double-click a file with a text extension (txt, conf, cfg, log, py, js, sh, json, yaml, yml, md, html, css, xml) and it opens in the built-in editor:

  1. Edit the content in the modal.
  2. Press Save (or Ctrl+S) to write the changes back to the device.
  3. Press Close when done.

Be careful editing live configuration on production devices. Download a copy first so you can roll back.

Limits on remote consoles

Troubleshooting

Subir