Managing Linux servers remotely via SSH can be daunting for new users and students. When you connect via SSH to a remote server, all you see is a terminal screen that allows authenticated users to run commands. For those afraid of Linux terminal, a better way is to connect via SFTP and use a code editor.
This brief tutorial is going to show students and new users how to easily manage Linux server files via SFTP (FileZilla) and Notepad++. SFTP is when you use a FTP client over SSH or port 22. This provides encryption and security over plain FTP.
Notepad++ is an alternative to Windows’ Notepad with lot more features and support several programming languages. FileZilla is a great FTP client that allows user to transfer files between networked devices. It also support SFTP. So, to manage Linux servers like a pro remotely without the skills to use the terminal console, follow the guide below.
For this post, you’re going to need two opensource applications. They’re both free.
Download and install both applications.
When FileZilla is installed, open it and click Edit –> Settings
When the settings page opens, select Filetype associations under File editing.
In the box, type the path to Notepad++ executable 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 Notepad++ icon and select Properties.
When it opens, you should see the complete path to Notepad++ executable. 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. 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 it and save. When you save the file, it should overwrite the content on the remote server.
This is the easiest way to manage Linux server remotely without worrying about the terminal server.
This post shows students and new users how to easily manage Linux server remotely via SFTP and Notepad++. If you’re new to Linux and don’t know how to get around with Linux commands, this post should serve you well.
You may also like the post below: