Posts

Showing posts with the label SSHConfig

Changing the Default Terminal to Terminator on Ubuntu

Image
Terminator is a powerful tool for developers, allowing you to manage multiple terminal sessions in a single window. Features like splitting panes, tabs, and simultaneous input can significantly boost your productivity. Step 1: Install Terminator First, install Terminator using the apt package manager. sudo apt update sudo apt install terminator -y The -y option automatically answers 'yes' to any prompts during the installation process, streamlining the setup. Step 2: Set as the System Default Ubuntu uses a utility called update-alternatives to manage default applications. We'll use this tool to change the default terminal emulator ( x-terminal-emulator ) to Terminator. Run the Configuration Command Enter the following command in your terminal. A list of available terminals will appear. sudo update-alternatives --config x-terminal-emulator Select Terminator From the resulting list, enter the selection number corresponding to terminator and press Enter. ...

How to Set an SSH Login Banner on Ubuntu 24.04

This guide walks you through setting up an SSH login banner on Ubuntu 24.04, along with best practices and real-world security tips — including how to prevent accidental logins to production servers, reduce legal exposure, and avoid exposing sensitive OS details. The benefits of SSH Login Banner Legal Notice : Warns unauthorized users and may help with legal defense. Security Deterrent : Reminds users that activity is logged and monitored. Environment Clarity : Helps clearly label dev/staging/prod servers to avoid mistakes. Attack Surface Reduction : Prevents exposing OS/version info (which /etc/issue might leak). Step 1. Create or Edit the Banner File Start by creating or editing the banner file that will be displayed before the SSH login prompt. The standard location is /etc/issue.net . $ sudo vim /etc/issue.net Sample Banner Text ##################################################################### # This system is for the use of authorized users only. ...