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!
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)
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!!!!