Skip to content

Instantly share code, notes, and snippets.

View BlackPropaganda's full-sized avatar
🥴
Hackalackin

BlackPropaganda

🥴
Hackalackin
  • Operational Secuirty Solutions (OSS)
  • Seattle
View GitHub Profile
SSH Port forwarding is a very useful pivoting technique and security feature. It allows a server to route traffic
from clients to local resources such as web sites hosted on a server, or securing FTP connections. SSH port forwarding
allows insecure applications to be secured by SSH authentication.
There are three major types:
* Local Port forwarding
* This makes services hosted on the SSH server to be available to the client.
* Remote Port Forwarding
* This makes services hosted on the SSH client available to the Server.
* Dynamic Port Forwarding
@BlackPropaganda
BlackPropaganda / SSH_key_based_auth.txt
Created July 15, 2023 22:35
SSH Pubkey authentication
___
## SSH Server Configuration
___
On most linux systems, the command is either 'useradd' or 'adduser', but this is distro specific.
After you create the user and are prompted with the new user password, bear in mind to save it because
you will need it during the pubkey installation process.
useradd <new_user>
@BlackPropaganda
BlackPropaganda / U2F_ssh_ecdsa.txt
Created September 22, 2022 21:58
U2F ECDSA SSH Key Generation using Flipper Zero
#
# U2F SSH key generation and installation guide
#
# install U2F libraries on client machine
sudo apt-get install pamu2fcfg libpam-u2f
#
# Currently, there are only two ciphers that support
# 'special keys' or (sk) this is the notation in the