Skip to content

Instantly share code, notes, and snippets.

@jasonious
jasonious / tmate_for_ssh.md
Created September 7, 2021 19:01 — forked from iskolbin/tmate_for_ssh.md
Ubuntu(systemd) tmate service for ssh

The motivation is: ssh to remote computer without port forwading, dynamic DNS and so on, the only thing needed is that the remote is connected to the Internet.

  1. On remote get tmate, put it in /usr/local/bin (apt version as of 18.04LTS is too old):
curl -L https://github.com/tmate-io/tmate/releases/download/2.4.0/tmate-2.4.0-static-linux-amd64.tar.xz|tar xJv
sudo mv tmate-2.4.0-static-linux-amd/tmate /usr/local/bin
  1. Put public keys in ~/.ssh/authorized_keys
@jasonious
jasonious / keybase.md
Created March 7, 2018 21:34
keybase.md

Keybase proof

I hereby claim:

  • I am jasonious on github.
  • I am jasonious (https://keybase.io/jasonious) on keybase.
  • I have a public key ASCO5_HcTAP2SiGOJMjQ5wtlFjuI_G4n8SUcv5nqbfRZEwo

To claim this, I am signing this object: