Skip to content

Easy SSH 0.2.0

Choose a tag to compare

@dhlptx00 dhlptx00 released this 03 Oct 01:51
· 51 commits to main since this release
d7d3b4a

Changed

  • Ctrl+click on a folder now downloads it (Cmd+click on macOS, or a plain click with easySsh.plainClick). Before, the click ran cd; that's gone. The download:

    • copies the whole folder over SFTP, keeping its structure and permission bits;
    • shows progress and has Cancel;
    • names it logs (1) when logs already exists;
    • is written into a hidden temporary folder and only renamed into place when complete;
    • is limited to easySsh.maxTransferFiles (5000) files;
    • skips symbolic links and special files, and lists them afterwards.

    Hovering a folder name says Download folder.

  • Downloads go to your Downloads folder by default, not the Desktop. On Windows and Linux this is the localized or redirected Downloads folder. A folder set with /folder or easySsh.downloadFolder is kept.

  • New servers show their host key fingerprint and connect only after you accept it. Keys already in ~/.ssh/known_hosts are trusted without asking, and @revoked keys are refused. easySsh.hostKeyPolicy: trustFirst brings back the old trust-on-first-use behaviour. Forget Trusted Host Keys… (was Reset Trusted Host Keys) now lets you pick hosts and asks before it forgets anything.

  • Uploads ask before replacing remote files: Replace, Keep Both (notes (1).txt), or Skip. A file is written to a hidden temporary name and renamed into place, so a failed upload never leaves a half-written file.

  • The login message (MOTD, "Last login", system notices) stays visible. The folder-tracking hook is sent after it, its echo is hidden, and it is kept out of shell history.

  • Ctrl+C always goes to the remote program. It no longer cancels a running transfer; use the Cancel button in the progress notification, or Easy SSH: Cancel Transfer.

  • The panel is maximized only if it wasn't already, and restored on close only if Easy SSH maximized it and it still is. Turn this off with easySsh.maximizePanel.

New

  • Progress notification for big transfers and folders, with speed, time left, file count and Cancel. Several transfers in one terminal queue up instead of being refused.
  • Faster transfers: several SFTP requests in flight per file (easySsh.transferConcurrency, default 32), which helps a lot on distant servers.
  • Connection lost screen: it gives the reason and offers Reconnect, which returns to the same folder. easySsh.autoReconnect retries by itself after 2, 5 and 10 s.
  • Ask for the password every time: a per-connection choice, so the password is never saved. When a saved password is rejected, Easy SSH asks again (up to 3 tries), and it can save the one you type.
  • Key passphrases are asked in the terminal when needed, for the server and for jump hosts.
  • Folder tracking in zsh and fish too. The login shell is detected first.
  • The terminal tab is named after the connection.
  • Servers without SFTP open a terminal-only session instead of failing.
  • ~/.ssh/config import:
    • applies Host * and wildcard defaults with OpenSSH's first-match rules;
    • lists ProxyCommand hosts instead of importing them as direct connections;
    • keeps your manual edits and start folder when you import again.
  • Agent sign-in falls back to ~/.ssh/id_ed25519, id_ecdsa and id_rsa, like ssh. On Windows it supports Pageant as well as the OpenSSH agent (easySsh.windowsAgent).
  • Sign-in errors say what to try next, for example "Start ssh-agent and run ssh-add" or "the server does not accept passwords".
  • New settings:
    • easySsh.hostKeyPolicy, easySsh.knownHostsWriteBack
    • easySsh.transferConcurrency, easySsh.maxTransferFiles
    • easySsh.keepaliveInterval, easySsh.keepaliveCountMax, easySsh.autoReconnect
    • easySsh.maximizePanel, easySsh.terminalLocation, easySsh.windowsAgent

Fixed

  • A pasted path that also exists on your computer was uploaded instead of typed. Now it's typed when it matches the clipboard, and always inside full-screen programs such as vim. Dropping a file from outside your home folder asks first.
  • A PROMPT_COMMAND ending in ; (for example history -a;) broke every prompt.
  • Changing a connection's sign-in method or key left its jump hosts on the old one.
  • A transfer cut short by a dropped connection could be reported as finished. Every byte is checked now.
  • Files that report size 0, such as /proc/cpuinfo, downloaded empty. Files that grow while being read, such as logs, are read to the end.
  • The connection failed, and leaked, when the first folder listing failed.
  • Two terminals downloading files with the same name at once wrote to the same file.
  • A big folder drop could not be cancelled while it was being scanned. The file limit is now checked during the scan.
  • Windows: looking up the Desktop and Downloads folders no longer blocks the editor.
  • Accepting one changed host key behind a jump host accepted changed keys for every hop.
  • The saved password was sent to every keyboard-interactive prompt, including 2FA codes. It now only answers a single hidden password prompt, once.
  • Downloaded files keep the remote permission bits (an 0600 key stays 0600), and are always readable and writable by you.
  • The status bar item now hides when no Easy SSH terminal is open.

Project

  • Integration tests against a real OpenSSH server (Docker) cover:
    • bash, zsh and fish
    • PROMPT_COMMAND variants
    • keyboard-interactive sign-in
    • host keys
    • jump hosts
    • upload conflicts and folder downloads
  • ESLint, @types/vscode pinned to the oldest supported VS Code (1.85), and CI actions pinned by commit.
  • A release workflow publishes to Open VSX and GitHub Releases from a version tag.
  • Issue templates and GitHub Discussions.
  • README rewritten: install, requirements and limitations, settings, security, FAQ, a comparison with Remote-SSH and SSH FS, and new screenshots, infographic and demo GIF. Clearer Marketplace name, description and keywords.

Install: search for Easy SSH in the Extensions view of VS Code or Cursor, or download easy-ssh-0.2.0.vsix below and run Extensions: Install from VSIX….

If Easy SSH helps you, a rating on the VS Code Marketplace or Open VSX helps others find it.