Atom Code Editor
SFTP Setup
To set up SFTP for the Atom code editor, you need to install and configure the Remote-FTP package. Here are the steps to do so:
- Install Atom: If you haven’t already, download and install Atom from its official website.
- Install Remote-FTP Package:
- Open Atom and go to the Edit menu.
- Select Preferences (or Settings on some systems).
- Navigate to the Install section.
- Search for “Remote-FTP” and install the package.
- Create a Project Folder:
- Open Atom and go to the File menu.
- Select Open or Add Project Folder and choose the folder you want to work with.
- Configure SFTP:
- Go to the Packages menu in Atom.
- Select Remote-FTP and then click on Toggle to open the Remote-FTP sidebar.
- Click on Edit Configuration in the sidebar. This will create a
.ftpconfigfile in your project folder.
- Edit the Configuration File:
-
- Open the
.ftpconfigfile and populate it with your SFTP connection details.
Here is an example configuration:
- Open the
{
"protocol": "sftp",
"host": "your-server-address",
"port": 22,
"user": "your-username",
"pass": "your-password",
"remote": "/path/to/remote/directory"
}- Replace the placeholders with your actual server details.
-
- Connect to the Server:
- After saving the
.ftpconfigfile, go back to the Remote-FTP sidebar. - Click on **Connect** to establish the SFTP connection.
- Once connected, you will see the remote filesystem displayed in the sidebar, allowing you to open and edit files directly on the server.
- After saving the
By following these steps, you can set up SFTP in Atom to edit files on a remote server directly from the editor[2][4][5].
Citations:
[1] https://www.youtube.com/watch?v=C_s3FEWSRG0
[2] https://onion.io/2bt-atom-sftp/
[3] https://stackoverflow.com/questions/60619174/atom-editor-cannot-create-sftp-connection-to-aws-ubuntu-instance-using-remote-ft
[4] https://webauth.service.ohio-state.edu/idp/profile/SAML2/Redirect/SSO?execution=e1s1
[5] https://gist.github.com/stevekm/f8732344ed1c324e47954cd106044724
Extensions
Atom has a great repository of plugins.