Work on a server
Open a folder of a server over SFTP, and edit its files as if they were on your computer. The server needs SSH, and nothing else installed.
On this page
Open a folder on a server
- Choose Open a folder on a server… in the list of commands: ⇧⌘P on the Mac, Ctrl+Shift+P on Windows and Linux. With no folder open, the button is also on the left.
- Fill in the Address, the Port and the User. In Name, write how you want to see it in the list.
- In Sign in with, choose The SSH agent of the system, A key file or A password. On Windows, the agent is the one of OpenSSH, and its service must be running.
- In Folder, write its path. Leave it empty for the home folder of the user.
- Press Connect.
The server stays in the list, to open it again with a press. The pencil changes it and the bin forgets it, with its password, without asking.
Trust the server
The first time, TotalEdit shows the fingerprint of the server. Compare it with the one that your provider or your administrator gives you, and press Trust and connect.
If TotalEdit says that the server is not the one that you trusted before, find out why before you go on. It may have been installed again, or someone may be between you and it.
The password
The password, or the passphrase of the key, is asked when you connect. Keep it in the keychain of the system is marked: unmark it if you want to write it each time. It is never kept in a file of TotalEdit.
What is different on a server
- Deleting is for ever. There is no Trash. TotalEdit asks first.
- New files: make them with New file… in the tree. An Untitled file can only be saved on your computer.
- Finding and going to a file leave out
.git,node_modules,target,vendor,.cache,__pycache__,.venv,distandbuild, and do not read your.gitignore. Finding also skips the files larger than 2 MB, and looks in 20,000 files at most. - There is no language help. The help of Total.js works.
- The terminal is of your computer.
How a file is saved
The new version is written next to the old one, and then takes its place, so a connection that is cut does not leave half a file. A symbolic link stays a link: what you save goes to the file that it leads to. Your user needs permission to create files in that folder.
If the connection is lost
TotalEdit connects again by itself when it can. What you have not saved stays in its tab, and comes back if you close the window. If a file cannot be saved, save it again. If it says Connect to … again to go on, it needs the password that you did not keep: open the server from the list, and your tabs stay as they are.
If someone changed the file meanwhile, TotalEdit asks before it replaces their version, as on your computer.