• Contact
  • Contact Us
  • Disclamer
  • Home 1
  • Home 2
  • Home 3
  • Privacy Policy
Friday, May 9, 2025
How VPS - How to use/setup VPS
  • Login
  • Home
  • Management guides
    • Web servers software
      • Directadmin
      • Hocvps Script
      • Centmin Mod
      • CWP
      • Kloxo-MR
      • Plesk
    • Control Panels
    • Securing VPS/Servers
      • SSL Certificates
      • Upgrading
      • Authentication
  • Operating System
    • CentOS
    • Fedora
    • Debian
    • Linux
    • Arch
    • BSD
    • CoreOS
  • Reviews
  • Coupon
    • Domain Coupon
    • Hosting Coupon
No Result
View All Result
  • Home
  • Management guides
    • Web servers software
      • Directadmin
      • Hocvps Script
      • Centmin Mod
      • CWP
      • Kloxo-MR
      • Plesk
    • Control Panels
    • Securing VPS/Servers
      • SSL Certificates
      • Upgrading
      • Authentication
  • Operating System
    • CentOS
    • Fedora
    • Debian
    • Linux
    • Arch
    • BSD
    • CoreOS
  • Reviews
  • Coupon
    • Domain Coupon
    • Hosting Coupon
No Result
View All Result
How VPS - How to use/setup VPS
No Result
View All Result
Home VPS/Servers management guides

Securely Accessing Your VPS

How VPS by How VPS
November 2, 2018
in VPS/Servers management guides
0
Securely Accessing Your VPS
0
SHARES
25
VIEWS
Share on FacebookShare on Twitter

Contents

  1. TELNET (You Should never use this)
  2. SSH
  3. FTP
  4. SFTP

This post is all about Securely Accessing your VPS. There are many different methods to access your VPS. Some are more secure than others. We will go over some of these methods in detail and help explain why you should or should not use each method. But you will how to access your VPS securely.

Securely Accessing Your VPS

TELNET (You Should never use this)

Back in the early days of the Internet before everyone was really concerned about security in general most folks used an unsecured protocol called Telnet. The problem with Telnet is that everything send and received is in clear text including your passwords. As you can imagine Telnet is not widely used anymore as most everyone now uses ssh. We just thought we would mention telnet in case you ever come across it. You know to disable it right away and start using SSH.

SSH

SSH is a powerful and secure way to access your VPS and the one we recommend you use. SSH encrypts all traffic (including authentication and passwords) between two hosts. You can also tunnel TCP ports through your connections and securely access services on the remote machine.



In order to connect with SSH to your VPS you need a SSH client if your running windows.We recommend a program called putty. We like it cause it is free. You can get it here: http://www.chiark.greenend.org.uk/~sgtatham/putt/download.html. Once downloaded and installed, setup a new connection to your VPS IP and enter ‘root’ for the user-name and connect.

If your running Linux or Mac OSX, ssh is available by default on most installs.   Just open a terminal and run the following command replacing the IP address with the IP address of your VPS:

1
2
3
 
ssh root@123.123.123.123
 

Once connected you will be prompted for your root password. You should have received this in the email you received from ZoomCloud.net. Enter your password and hit enter.

If all went well, you should be at command prompt on your VPS that looks like this:



1
2
3
 
[root@www]#
 

Now the first thing you should do is create another user (‘useradd “newusername”‘) and make sure that user has access to su or sudo to root. Once you are sure of this, you should disable root logon by editing /etc/ssh/sshd_config. We have this detailed in another post called Securing and Using SSH.

FTP



Most webmasters are familiar with FTP or File Transfer Protocol. Its been used commonly to upload websites to hosting providers for ages and is still used today. The problem with this is FTP again is an old protocol and does not even think of security. All data is transferred in clear text including your passwords. We don’t recommend you use FTP but if you must here is how you do it.

First you need to enable an FTP server on your VPS. We recommend pure-ftpd on CentOS. To Install run the following commands from a SSH session:

1
2
 
yum install pure–ftpd

checkconfig pure-ftp on

/etc/init.d/pure-ftp start

Next you need a client. On Windows Linux or Mac you will need a file transfer program. We like FileZilla because its cross platform and works on all the OS’s we work with. You can also run ftp from the terminal in Linux and Mac OSX but to keep things simple here we will show you how using FileZilla. You can get it here: http://filezilla-project.org/download.php

Once installed and open, In the quick connect bar, enter the IP address, username and password and for port enter 21. Click connect. You should now be connected to your VPS.

SFTP

But wait there is even a better way to transfer files securely between two hosts. Its called SFTP. SFTP Combines the ease of use of FTP with the security of SSH. Again you need a client (yes CLI options are available in Linux and Mac) but you already have it. You connect the same way as you do for FTP, but this time instead of port 21 enter port 22. Its as simple as that.

Previous Post

27 ‘DNF’ (Fork of Yum) Commands for RPM Package Management in Linux

Next Post

7 ‘dmesg’ Commands for Troubleshooting and Collecting Information of Linux Systems

Next Post

7 ‘dmesg’ Commands for Troubleshooting and Collecting Information of Linux Systems

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

No Result
View All Result

Recent Post

Install Imagemagick on CentOS
CentOS

Install Imagemagick on CentOS

by How VPS
June 28, 2023
0

This is how I installed Imagemagick on a vanilla CentOS server Start off by installing the prerequisites yum install php-pear...

Read more
how to Check phpinfo

How to Check phpinfo of Hosting or VPS?

June 28, 2023
Failed to download metadata for repo 'appstream' on Centos 8

How to fix error: Failed to download metadata for repo ‘appstream’ on Centos 8

February 25, 2022
How to Fix MySQL Error "Plugin 'InnoDB' registration as a STORAGE ENGINE failed"?

How to Fix MySQL Error “Plugin ‘InnoDB’ registration as a STORAGE ENGINE failed”?

November 17, 2020
How to optimize Mysql or MariaDB

How to optimize Mysql or MariaDB

November 3, 2020

Recent News

  • Install Imagemagick on CentOS
  • How to Check phpinfo of Hosting or VPS?
  • How to fix error: Failed to download metadata for repo ‘appstream’ on Centos 8

Category

  • Arch
  • Authentication
  • Backups
  • BSD
  • Centmin Mod
  • CentOS
  • Control Panels
  • CoreOS
  • CWP
  • Debian
  • Directadmin
  • Encryption
  • Fedora
  • Firewalls
  • Hocvps Script
  • Hosting providers
  • Kloxo-MR
  • Linux
  • Mitigations
  • Operating System
  • Plesk
  • Reviews
  • Securing VPS/Servers
  • Security Patches
  • SSL Certificates
  • Uncategorized
  • Upgrading
  • VPS/Servers management guides
  • Vulnerability Detection
  • Web servers software
  • Webhosting Control Panel
  • About
  • Advertise
  • Careers
  • Contact

© 2025 JNews - Premium WordPress news & magazine theme by Jegtheme.

No Result
View All Result
  • Home
  • Management guides
    • Web servers software
      • Directadmin
      • Hocvps Script
      • Centmin Mod
      • CWP
      • Kloxo-MR
      • Plesk
    • Control Panels
    • Securing VPS/Servers
      • SSL Certificates
      • Upgrading
      • Authentication
  • Operating System
    • CentOS
    • Fedora
    • Debian
    • Linux
    • Arch
    • BSD
    • CoreOS
  • Reviews
  • Coupon
    • Domain Coupon
    • Hosting Coupon

© 2025 JNews - Premium WordPress news & magazine theme by Jegtheme.

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
Thabet