Create a Secure SSH Server in Ubuntu

Sponsored Links:


OpenSSH is a freely available version of the Secure Shell (SSH) protocol family of tools only method of access to a server is ssh, and you make a mistake in SSH is a powerful tool which allows secure remote login over insecure networks. This tutorial will cover the basics of SSH's most useful features. Ubuntu can use SFTP to treat your SSH server rather like a removable drive. you could create a folder alpha-centauri in your home folder, then do the following:
Create a Secure SSH Server in Ubuntu

Following one of the ways to create a secure ssh server in Ubuntu 8.04 Server.

  • Install Ubuntu 8.04 Server
  • Change root password
    sudo passwd root
  • Add new username
    sudo adduser to2k
  • sudo visudo
    Append this line to end of ile
    to2k  ALL=(ALL) ALL

  • SSH Configuration
    sudo nano /etc/ssh/sshd_config
    Find  Port 22 and change number to something different (12345) to make  hacking more difficult.
    Set these to:
    PermitRootLogin no
    X11Forwarding no
    UsePAM no

    Append these lines to the very end:
    UseDNS no
    AllowUsers to2k

  • Reload SSH
  • /etc/init.d/ssh reload

  • Test SSH Login

SSH login to your slice to new port, with your new username and password:
- Linux:   ssh -p 12345 to2k@192.168.100.100
- Windows: putty  to2k@192.168.100.100

If you logged on successfully via your new username: ‘to2k’ – you may close ‘root’ session now.


Related posts:

  1. How to Resetting a Forgotten MySQL Root Password However if you don’t know the current password this approach will not work – you need to login to run any commands and without the...
  2. Sms Gateway with Modem Huawei e220 and Ubuntu After surfing a few times in Google about sms gateway, finally succeeded try sms gateway with gammu in modem huawei e220 and ubuntu 9.04. The...
  3. Web Hosting SSH In computing, SSH or Secure Shell, is considered to be both a computer program and an associated network protocol that's been designed for logging into...
  4. Ubuntu 9.04 Netbook Remix On Axioo Pico DJJ616 After several months using the netbook Axioo Pico DJJ616, I began to see reviews linux on netbook. Ultimately fall on the choice of Ubuntu 9.04...
  5. Ubuntu 9.10 Netbook Remix On Axioo Pico DJJ616 I upgrade ubuntu 9.10 on my netbook Axioo Pico DJJ616. All hardware are work. These results. The following steps to install Ubuntu 9.10 Netbook Remix...



Tagged as : LinuxSecureserverSSHUbuntu

Incoming search engine terms:

Leave a Response