LobiShell: SSH Access to Linux Servers from Android
LobiShell is an Android SSH client with Mosh, SCP, port forwarding, SSH identities and WebDAV sync. A look at its features for Linux server administration.
LobiShell is an Android SSH client with Mosh, SCP, port forwarding, SSH identities and WebDAV sync. A look at its features for Linux server administration.
Good news for those looking for VPS hosting solution. Digitalocean has upgraded their droplet offering by increasing the diskpace and RAM at the same price point. Here are the new Droplets package from Digitalocean: The most interesting plan is Flexible droplets where you can resize the droplets at any time choosing between with RAM or vCPU […]
Here’s how to run a script with another user privilege. You can run this user with root. su -c “/usr/bin/executable” -s /bin/sh username Where the “username” is the username whom privilege you want to execute
The message sometimes appear when transferring files using scp. In order to solve this, you need to edit “/etc/sshd_config” file and change or add this line: UsePrivilegeSeparation yes Then restart OpenSSH server. This will solve the kex protocol error problem,
UFW: Securing SSH UFW or Uncomplicated Firewall is a firewall package in Ubuntu. UFW can be used to secure SSH ports in Ubuntu server. In order to secure OpenSSH, we must first disable UFW and allow all SSH rule. sudo ufw disable sudo ufw delete allow ssh Then we add IP Address to be allowed […]
This is a a guide to integrate Telegram messaging service Fail2Ban. With this integration, Fail2Ban notification will be sent through Telegram services. Requirements You need to have Fail2ban installed in your systems. Install or compile “telegram-cli”, refer to this guide to compile telegram-cli or install it from *.deb (Ubuntu LTS) AMD64 Setting Up Fail2Ban with […]
Uncomplicated Firewall (UFW) is a helper tool which allows you to quickly setup iptables firewall in any Ubuntu server. It is installed by default and it allows you to secure your server at no time! Basic UFW Basic UFW: Check Status You can check UFW by running this command. The verbose argument prints additional information […]
OpenSSH usually listens on TCP port 22. However, there are some people who wish to change OpenSSH port to avoid brute-force bot attacks or to avoid from being blocked by restrictive firewall. To change OpenSSH port, one only need to edit “/etc/ssh/sshd_config” file and change the port at “Port 22” to something else, like “Port […]
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 […]
FastSSH.com is a provider for FreeSSH account, which can be use for secure tunneling account or to avoid from Firewall. User has to select SSH account from a set of locations (refer to picture below), which has its own features and limited. (ie: some server offer protocol forwarding in UDP and TCP, while some impose […]
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 […]
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 […]
A couple of days ago, I’ve encountered this error when I was trying to create a SSH tunnel from my office LAN to a remote server. After looking for a solution, I found out that the remote SSH server must add “PermitTunnel yes” line in “/etc/ssh/sshd_config” file. To do that, you need to: sudo echo […]
Wow, I never know that strace can be used as a poor man’s ssh keylogger – Poor Man’s SSH Keylogger
This is the quickest way to limit the number of connection to your SSH server with iptables. [bash] sudo /sbin/iptables -A INPUT -p tcp –syn –dport 22 -m connlimit –connlimit-above 5 -j REJECT [/bash] This will only allow up to 5 concurrent connections to the SSH server, subsequent connections will be rejected by iptables, thus […]