The article explains how to manage a Linux server remotely via sFTP using Notepad++ and FileZilla instead of SSH for those intimidated by Linux terminals. Users can securely edit and save files effortlessly on a remote server by setting Notepad++ as the default code editor in FileZilla. The process replaces the need for terminal proficiency.
This article describes the steps to manage a Linux server via sFTP and Notepad++.
Managing Linux servers remotely via SSH can be daunting for new users and students. When you connect via SSH to a remote server, you see a terminal screen allowing authenticated users to run commands.
For those afraid of Linux terminals, a better way is to connect via SFTP and use a code editor.
SFTP is when you use an FTP client over SSH or port 22. This provides encryption and security over plain FTP.
Notepad++ is an alternative to Windows Notepad with many more features and supports several programming languages. Finally, FileZilla is a great FTP client that allows users to transfer files between networked devices.
It also supports SFTP. So, follow the guide below to manage Linux servers like a pro remotely without the skills to use the terminal console.
For this post, you’re going to need two open-source applications. They’re both free.
To get started, first download and install both applications.
With FileZilla installed, please open it and click Edit –> Settings
When the settings page opens, select Filetype associations under File editing.
Type the path to the Notepad++ executable in the box to use as the default code editor. There is a dot or period at the beginning of the line. This tells FileZilla to use Notepad++ to open all file types.
. "C:\Program Files (x86)\Notepad++\notepad++.exe"
To find out where Notepad++ is installed, right-click the Notepad++ icon and select Properties.
You should see the complete path to the Notepad++ executable when it opens. Please copy and paste it into FileZilla filetype associations.
Save FileZilla settings and exit.
With FileZilla setup, connect to your server using the credential provided to you by your host provider. For example, connect to port 22, and you should see the server content in the remote section of FileZilla.
Now, right-click the file you wish to edit and select View/Edit
Doing that will open the file in Notepad++, where you can easily edit and save it. When you save the file, it should overwrite the content on the remote server.
This is the easiest way to manage a Linux server remotely without worrying about the terminal server.
That should do it!