SSH

Computers, security, Server, SSH, Ubuntu/Debian

How to Hide OpenSSH Ubuntu version from Nmap and other scanners

In Ubuntu or Debian, a default OpenSSH server will display OpenSSH version alongside with Ubuntu/Debian distribution banner: $ telnet repeater.my 172.16.91.20 22 Trying 172.16.91.20… Connected to 172.16.91.20. Escape character is ‘^]’. SSH-2.0-OpenSSH_6.6.1p1 Ubuntu-2ubuntu2 You can hide the identifying part of Ubuntu-2ubuntu2 from the server banner by editing /etc/ssh/sshd_config file, and adding “DebianBanner no” either at […]

GNU/Linux, Server, SSH, Ubuntu/Debian

How to change timezone in Ubuntu / Debian from command-line

This guide assumes that you use Ubuntu or Debian-based GNU/Linux distro. There are two ways to change timezone from bash command line. sudo dpkg-reconfigure tzdata or, sudo ln -sf /usr/share/zoneinfo/Asia/Kuala_Lumpur /etc/localtime You can also specify other timezone in the second method, for example: sudo ln -sf /usr/share/zoneinfo/GMT /etc/localtime or for Eastern Standard Time (US) sudo […]

security, SSH

Simple SSH Tunnelling tips

SSH tunelling is usually used to avoid firewall restriction or to ensure point-to-point encrypted communication. For example, if you want to send email to smtp server “smtp.yourserver.com” on port 587, but your organization currently blocking smtp port 25 and 587, then you can benefit from SSH tunelling to avoid from being blocked. To get around […]

GNU/Linux, security, Server, SSH, Ubuntu/Debian

Tips for Securing SSH in Linux Box (Securing SSH Series)

Secured Shell or SSH is a great way to enable a secure login for your UNIX / Linux Box. However there are precaution that you should take in order to properly secure SSH daemon from being scanned or attacked by script kiddies or automated bots. This week I’m going to write a series of article […]

Scroll to Top