Ssh

Highlighted

Posts

SSH General Reference

The most useful SSH-specific commands

Disabling Password-based SSH

Settings for hardening ssh on Ubuntu

Remote Unlock your LUKS-encrypted Hard Drive

Updated for Ubuntu 22.04 Install Software sudo apt update sudo apt -y upgrade sudo apt install -y busybox dropbear* Create and add key

02-Import Keys

Install and Setup Install gnupg, nautilus integration (seahorse), and restart nautilus

Install and Setup SSH

Basic Steps Make a new directory for holding keys mkdir ~/keys Decrypt your current keys

Port Forwarding Cheatsheet

ssh -L (localport):localhost:(remoteport) -C -N -l (username) hostname.domain -p (sshport) VNC Example ssh into port 22 on mydynamichost.

Reverse SSH Tunnel

Auto-reconnecting reverse tunnel quickstart

Run scripts remotely over ssh with tmux

sudo apt install -y tmux Basic Functionality To get the same functionality as explained in the answer recommending screen, you would need to do the following:

Post-Install Miscellaneous Steps

Install gnome tweaks sudo apt install gnome-tweaks Tweaking the GUI Open “Extensions” and turn off desktop icons Update firefox settings flatpak firefox settings found in ~/.

Too Many Authentication Failures?

Received disconnect from ########## port 22:2: Too many authentication failures Add the IdentitiesOnly option to your config file