Difference between revisions of "Remote file editing"
Jump to navigation
Jump to search
m |
m (→Other editors) |
||
Line 5: | Line 5: | ||
Use vi, [[Vim|vim]], nano, or some other editor at the terminal for editing if you want simplicity and do a lot of admin work. | Use vi, [[Vim|vim]], nano, or some other editor at the terminal for editing if you want simplicity and do a lot of admin work. | ||
− | = | + | = Text editor apps = |
Generally, a text editor will have either a built-in feature or an extension that supports adding SFTP (secure FTP) servers. You'll want to add tools, hopper, or both to your editor. | Generally, a text editor will have either a built-in feature or an extension that supports adding SFTP (secure FTP) servers. You'll want to add tools, hopper, or both to your editor. | ||
+ | |||
+ | A common pattern is to: | ||
+ | * download the software (links with each editor), | ||
+ | * add your username and password or ssh key for the server you want, | ||
+ | * connect, | ||
+ | * and save a document to verify that your connection works. | ||
[https://atom.io/ Atom] | [https://atom.io/ Atom] | ||
− | * Install the FTP-remote extension. | + | * [https://atom.io/packages/ftp-remote-edit Install the FTP-remote-edit extension.] |
− | * Set your password. | + | * Set your password. This is for your local account only. |
* Add your servers. | * Add your servers. | ||
* Use the SSH port (22) and your ssh key or password. | * Use the SSH port (22) and your ssh key or password. | ||
* You can right-click > Edit Servers at any time to add, remove, or change servers. | * You can right-click > Edit Servers at any time to add, remove, or change servers. | ||
− | + | [https://www.sublimetext.com/ Sublime] | |
+ | |||
+ | TextWrangler | ||
− | + | [https://notepad-plus-plus.org/ Notepad++] | |
− | |||
− |
Revision as of 12:07, 26 August 2019
It's often good to be able to edit files remotely in an editor. This is much superior (for advanced projects) to Jupyter Notebooks for most purposes. Here are some instructions as to how.
At the terminal
Use vi, vim, nano, or some other editor at the terminal for editing if you want simplicity and do a lot of admin work.
Text editor apps
Generally, a text editor will have either a built-in feature or an extension that supports adding SFTP (secure FTP) servers. You'll want to add tools, hopper, or both to your editor.
A common pattern is to:
- download the software (links with each editor),
- add your username and password or ssh key for the server you want,
- connect,
- and save a document to verify that your connection works.
- Install the FTP-remote-edit extension.
- Set your password. This is for your local account only.
- Add your servers.
- Use the SSH port (22) and your ssh key or password.
- You can right-click > Edit Servers at any time to add, remove, or change servers.
TextWrangler