Many universities and colleges require a Unix coding environment for students, with SSH access for remote editing. If you’re familiar with vi or emacs then that’s probably all fine, but for the children of the GUI era, something a little more modern may be in order. With Notepad++ you can code as if it was on your machine, and with Putty you can run your code it as if it was on your machine. Here’s how:
Installing and configuring Notepad++
- Install Notepad++
- Click Plugins > NppFTP > Show NppFTP window
- Click the gear icon on the right, and select Edit Profile Settings
- Click Add New and enter a suitable name.
- Type in the address of your SSH server, with your username and password. You don’t need to change any other settings here, unless you’re accessing via FTP instead. Click Close when done.
- Click the connect button and select your connection
- Voila! Browse your files on the right, and double click them to edit.
Installing and configuring PuTTY
Setting up PuTTY is not much more work. PuTTY offers a console interface to your Unix (or similar) environment.
- Download PuTTY and install it.
- Enter your server’s address, then type a name for the connection and click Save for easy access later.
- Highlight the connection in the list and click Open.
- Enter your username and password as prompted.
Note: You may not see your password as you type. Don’t worry, just press Enter when done.
* Done! You may now type commands and compile code as if you were at a local terminal.
These tools provide a much friendlier environment for coding.