Manage Linux Server via SFTP and Notepad++

telework 5059653 640

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.

  1. Notepad++
  2. FileZilla

Download and install both applications.

When FileZilla is installed, open it and click Edit –> Settings

filezilla ubuntu

When the settings page opens, select Filetype associations under File editing.

filezilla ubuntu 1

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.

filezilla ubuntu 2

When it opens, you should see the complete path to Notepad++ executable. copy and paste it into FileZilla filetype associations

filezilla ubuntu 3

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.

filezilla ubuntu 4

Now, right click the file you wish to edit and select View/Edit

filezilla ubuntu 5

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:

1 Comment

  1. sudo apt-get install sshd

    winscp -> new connection-sftp protocol->ip to linux box->port 22, enter username/password (save or no save up to you)
    click logon
    Done! unless you want native apps running on winblows, in that case,

    same as above then, on winblows, download Xming and install it, run the Xming shortcut (not the Xming Launcher shortcut)-then log on to linux from windows using Winscp (or putty) within winscp click the terminal icon on the toolbar, log into the terminal (whether it is within Winscp or not using putty)->start whatever linux applicaiton you want except for maybe a fukll blown linux desktop-thatt requires further steps beyond the example in this comment

    PLUS your students et more exposure to linunx this way

    Use notepad!!!!! HOW DARE YOU!!!!

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.