Difference between revisions of "Basin/atomftp"
Maja Cannavo (talk | contribs) |
Maja Cannavo (talk | contribs) |
||
(11 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
<li><p><code>Packages -> Settings View -> Install Packages/Themes</code></p></li> | <li><p><code>Packages -> Settings View -> Install Packages/Themes</code></p></li> | ||
<li><p>Search for and install <code>ftp-remote-edit</code></p></li> | <li><p>Search for and install <code>ftp-remote-edit</code></p></li> | ||
− | <li><p> | + | <li><p>Hit <code>ctrl</code> + <code>space</code> to bring up the dialog to enter a master password. This is the password that will unlock your server settings.</p></li> |
<li><p>Right-click the <code>Edit Servers</code> button and select <code>Edit Servers</code></p></li> | <li><p>Right-click the <code>Edit Servers</code> button and select <code>Edit Servers</code></p></li> | ||
<li>Click/type all of this in: | <li>Click/type all of this in: | ||
<ul> | <ul> | ||
<li>click <code>New</code></li> | <li>click <code>New</code></li> | ||
− | <li>The name of the server: <code>basin</code> (or whatever name you prefer)</li> | + | <li>The name of the server: <code>basin</code> (or whatever name you prefer; this is the name you will use to refer to the server in the future)</li> |
<li>The hostname or IP: <code>basin.cs.middlebury.edu</code></li> | <li>The hostname or IP: <code>basin.cs.middlebury.edu</code></li> | ||
<li>Port: 22</li> | <li>Port: 22</li> | ||
<li>Protocol: SFTP</li> | <li>Protocol: SFTP</li> | ||
<li>Logon Type: Username/Password</li> | <li>Logon Type: Username/Password</li> | ||
− | <li>Username for authentication: <code>enter-your-username</code> (ex: <code>mcannavo</code>)</li> | + | <li>Username for authentication: <code>enter-your-Midd-username</code> (ex: <code>mcannavo</code>) **this is the part before the "@" sign in your Midd email**</li> |
− | <li>Password for authentication: <code>enter-your-Midd-password</code></li> | + | <li>Password for authentication: <code>enter-your-Midd-password</code> **this is your general Middlebury password**</li> |
<li>Initial Directory: enter <code>/home/your-username/</code> (ex: <code>/home/mcannavo/</code>)</li> | <li>Initial Directory: enter <code>/home/your-username/</code> (ex: <code>/home/mcannavo/</code>)</li> | ||
<li>click <code>Save</code></li> | <li>click <code>Save</code></li> | ||
</ul></li> | </ul></li> | ||
</ol> | </ol> | ||
− | + | [[File:Ftp-remote-settings.png|400px]] | |
<ol start="8" type="1"> | <ol start="8" type="1"> | ||
− | <li>Now click on the <code>basin</code> folder in the Remote tab, and you should see whatever files you have stored on the <code>basin</code> server.</li> | + | <li>Now click on the <code>basin</code> (or whatever server name you used) folder in the Remote tab, and you should see whatever files you have stored on the <code>basin</code> server.</li> |
</ol> | </ol> | ||
<p>At this point, if you click on/open a file, make an edit, and then save the file, a green box should pop up saying “File successfully uploaded”.</p> | <p>At this point, if you click on/open a file, make an edit, and then save the file, a green box should pop up saying “File successfully uploaded”.</p> | ||
<h2 id="new-files">New Files</h2> | <h2 id="new-files">New Files</h2> | ||
<p>To create a new file from within <code>Atom</code>, you need to right-click on the folder/directory where you want the new file to be. The image below shows the menu that pops up when you right-click on a folder. Selecting <code>New File</code> will open a box allowing you to enter the name of the new file.</p> | <p>To create a new file from within <code>Atom</code>, you need to right-click on the folder/directory where you want the new file to be. The image below shows the menu that pops up when you right-click on a folder. Selecting <code>New File</code> will open a box allowing you to enter the name of the new file.</p> | ||
− | + | [[File:Atomnewfile.png|600px]] | |
− | |||
<h2 id="reboot-or-restart-atom">Rebooting or Restarting <code>Atom</code></h2> | <h2 id="reboot-or-restart-atom">Rebooting or Restarting <code>Atom</code></h2> | ||
<p>If you reboot your machine or restart <code>Atom</code>, you’ll need your <code>ftp-remote-edit</code> master password again. Just hit <code>ctrl</code> + <code>space</code> to get the pop-up where you enter your master password.</p> | <p>If you reboot your machine or restart <code>Atom</code>, you’ll need your <code>ftp-remote-edit</code> master password again. Just hit <code>ctrl</code> + <code>space</code> to get the pop-up where you enter your master password.</p> | ||
<p>If you forget your master password, there are ways to wipe out the old one and create a new one (see the Settings for <code>ftp-remote-edit</code> and wipe out the Encrypted Connection and Encrypted Password).</p> | <p>If you forget your master password, there are ways to wipe out the old one and create a new one (see the Settings for <code>ftp-remote-edit</code> and wipe out the Encrypted Connection and Encrypted Password).</p> | ||
<hr /> | <hr /> |
Latest revision as of 10:56, 13 April 2022
Remote Editing with Atom
Adapted from https://www.cs.swarthmore.edu/help/atom-remote-edit.html
Installing Atom
and ftp-remote-edit
Download https://atom.io
Open
Atom
(might need to save it to your Applications folder).Packages -> Settings View -> Install Packages/Themes
Search for and install
ftp-remote-edit
Hit
ctrl
+space
to bring up the dialog to enter a master password. This is the password that will unlock your server settings.Right-click the
Edit Servers
button and selectEdit Servers
- Click/type all of this in:
- click
New
- The name of the server:
basin
(or whatever name you prefer; this is the name you will use to refer to the server in the future) - The hostname or IP:
basin.cs.middlebury.edu
- Port: 22
- Protocol: SFTP
- Logon Type: Username/Password
- Username for authentication:
enter-your-Midd-username
(ex:mcannavo
) **this is the part before the "@" sign in your Midd email** - Password for authentication:
enter-your-Midd-password
**this is your general Middlebury password** - Initial Directory: enter
/home/your-username/
(ex:/home/mcannavo/
) - click
Save
- click
- Now click on the
basin
(or whatever server name you used) folder in the Remote tab, and you should see whatever files you have stored on thebasin
server.
At this point, if you click on/open a file, make an edit, and then save the file, a green box should pop up saying “File successfully uploaded”.
New Files
To create a new file from within Atom
, you need to right-click on the folder/directory where you want the new file to be. The image below shows the menu that pops up when you right-click on a folder. Selecting New File
will open a box allowing you to enter the name of the new file.
Rebooting or Restarting Atom
If you reboot your machine or restart Atom
, you’ll need your ftp-remote-edit
master password again. Just hit ctrl
+ space
to get the pop-up where you enter your master password.
If you forget your master password, there are ways to wipe out the old one and create a new one (see the Settings for ftp-remote-edit
and wipe out the Encrypted Connection and Encrypted Password).