Remote terminal access with tmate: Difference between revisions

From lechacal
Jump to navigation Jump to search
No edit summary
Line 6: Line 6:
First install tmate
First install tmate
  sudo apt-get install tmate
  sudo apt-get install tmate
Then generate keys. Press return when prompt.
Then generate keys. Press return when prompted.
  ssh-keygen -t rsa -b 4096
  ssh-keygen -t rsa -b 4096
Run tmate
Run tmate

Revision as of 16:56, 8 March 2021

tmate

tmate is a great tool to remotely let access to someone else in a terminal. This is particularly useful for third party support.

To allow access on a terminal on the raspberrypi follow these steps below.

First install tmate

sudo apt-get install tmate

Then generate keys. Press return when prompted.

ssh-keygen -t rsa -b 4096

Run tmate

tmate

At the bottom of the terminal an address will appear. Give this address to anyone you are allowing the access to the terminal.