Skip to content

Instantly share code, notes, and snippets.

View seramo's full-sized avatar
🏠
Working from home

Rasoul Mousavian seramo

🏠
Working from home
View GitHub Profile
@seramo
seramo / commands-for-sharing-local-internet-with-autossh.txt
Created April 3, 2026 08:51
commands for sharing local internet with autossh
# Update system packages
sudo apt update
# Install autossh for persistent SSH tunnels
sudo apt install autossh
# Generate SSH key (ed25519)
ssh-keygen -t ed25519
# Copy SSH key to remote server (port 9011)