Manual contents

Remote files

In Advanced and Expert mode, File > Open from Server connects to a server over SFTP and shows its folders in the Server Files panel (View > Panels > Server Files). Enter or a double-click opens a file. Ctrl+S saves in the background while you keep typing, and File > Save to Server puts any document on a server. The title bar always shows user@host:/path, so you can tell production from staging, and the status bar says whether you're connected. Saved connections and recent files are in the panel. In Simple mode none of this runs, and a window that has never connected hasn't loaded a network library.

Signing in tries your SSH agent, then your default keys in ~/.ssh, then a password, or you can choose one way. Keys can be Ed25519, ECDSA or RSA, in any format OpenSSH writes, with or without a passphrase. TriPad asks for a password only after the server's key has been checked.

When something goes wrong#

Unsaved text stays in the editor, and a session backup is written as soon as the connection drops. Only Don't Save can lose it.

What happensWhat you see
The connection dropsThe tab and status bar say not connected. You keep typing
Save with no connectionTriPad reconnects, checks the key again and saves. If it can't: Try Again, Save a Copy or Cancel
The file changed on the serverOverwrite, Save a Copy or Cancel. Nothing is overwritten without asking
A drop in the middle of a saveThe original is untouched, because a save writes a temporary file beside it and renames it over. A .tripad- file may stay on the server
A drop after that renameTriPad can't know it worked, so the next Save reports a change on the server
A server that stops answeringThe window stays free. Click the status bar, or close the window, to cancel
You close TriPadThe session keeps unsaved text. The tab comes back modified and not connected, and nothing connects until you save

A symlink, a folder TriPad can't create a file in, an owner that can't be kept, or a server without posix-rename@openssh.com means the file is written in place instead, and a drop there can leave it damaged: the message says so, and your text is still in the editor. Files above Large file limit in Preferences don't open from a server, and there's no large-file mode there. Binary files open read-only.

Host keys#

The first time you connect, TriPad shows the server's key and asks. Check the fingerprint against the server's own (ssh-keygen -lf on the server) before you trust it. A trusted key goes in known_hosts in TriPad's settings folder.

TriPad also reads your ~/.ssh/known_hosts, and never changes it. If a server's key has changed, or is marked @revoked, TriPad refuses and offers no way on, and the password is never sent. If you know the key really changed, forget it in Preferences > Remote Files > Known Hosts, or with ssh-keygen -R for a line in ~/.ssh, and connect again.

What runs#

Nothing connects by itself. Only Open from Server, the panel, Reconnect and saving a server's file do. A sftp:// name on the command line, a project, a dropped file, a script or a restored session connects to nothing.

TriPad starts no program for this, and doesn't read ~/.ssh/config, so nothing named there (ProxyCommand, ProxyJump, Match exec) can run. That also means no jump hosts in this version. Names from a server are never used as Windows paths, and only reach the screen cleaned of control characters.

Saved connections are in remote.ini in the settings folder, with no secrets in it. A password is saved only if you tick Remember this password, in Windows Credential Manager, and only goes to a server whose key matched. Any program running as you can read a saved credential. Passphrases are never saved: that's what an agent is for.

The connection uses libssh2 with LibreSSL's crypto library, built into TriPad. A security fix in either one means a new TriPad, and until there's an updater you'd install it by hand.

Git, language servers, Follow File, Compare with Saved and the terminal don't work on a server's file, and new, rename and delete on the server aren't in this version.