feat: init tmate-ssh-server #112

Merged
teutat3s merged 2 commits from feat/tmate into main 2024-02-14 20:32:14 +00:00

Never use boring screen share for your terminal again, be a cool kid and use tmate.pub.solar (based on https://tmate.io)

  1. Install tmate
  2. Use this config:

~/.tmate.conf (XDG fanatics use: alias tmate='tmate -f "${XDG_CONFIG_HOME}/tmate/tmate.conf"' and adjust the path)

set -g tmate-server-host "tmate.pub.solar"
set -g tmate-server-port 2222
set -g tmate-server-rsa-fingerprint     "SHA256:U/gAwAxU9lw25wb0FKJCK+sLjlGmt8rJGzX7Po/V9tQ"
set -g tmate-server-ed25519-fingerprint "SHA256:JYqAq1Rm1Jq1APiimDaork3pdda4euKfGizzR6jPxgg"
  1. Run tmate to the output similar to the following:
Tip: if you wish to use tmate only for remote access, run: tmate -F                                                                               [0/0]
To see the following messages again, run in a tmate session: tmate show-messages
Press <q> or <ctrl-c> to continue
---------------------------------------------------------------------
Connecting to tmate.pub.solar...
Note: clear your terminal before sharing readonly access
ssh session read only: ssh -p2222 ro-swPPHS5ZQNkwBBcaw2Tyzgqnx@tmate.pub.solar
ssh session: ssh -p2222 7Td4Yn28vQnFkkN2gY8ZQS7UR@tmate.pub.solar
  1. Have the person you'd like to share your terminal with execute the ssh command printed in the output above
  2. Profit
Never use boring screen share for your terminal again, be a cool kid and use tmate.pub.solar (based on https://tmate.io) 1. Install tmate 2. Use this config: `~/.tmate.conf` ([XDG](https://en.wikipedia.org/wiki/Freedesktop.org#Base_Directory_Specification) fanatics use: `alias tmate='tmate -f "${XDG_CONFIG_HOME}/tmate/tmate.conf"'` and adjust the path) ``` set -g tmate-server-host "tmate.pub.solar" set -g tmate-server-port 2222 set -g tmate-server-rsa-fingerprint "SHA256:U/gAwAxU9lw25wb0FKJCK+sLjlGmt8rJGzX7Po/V9tQ" set -g tmate-server-ed25519-fingerprint "SHA256:JYqAq1Rm1Jq1APiimDaork3pdda4euKfGizzR6jPxgg" ``` 3. Run `tmate` to the output similar to the following: ``` Tip: if you wish to use tmate only for remote access, run: tmate -F [0/0] To see the following messages again, run in a tmate session: tmate show-messages Press <q> or <ctrl-c> to continue --------------------------------------------------------------------- Connecting to tmate.pub.solar... Note: clear your terminal before sharing readonly access ssh session read only: ssh -p2222 ro-swPPHS5ZQNkwBBcaw2Tyzgqnx@tmate.pub.solar ssh session: ssh -p2222 7Td4Yn28vQnFkkN2gY8ZQS7UR@tmate.pub.solar ``` 4. Have the person you'd like to share your terminal with execute the `ssh` command printed in the output above 5. Profit
teutat3s added 2 commits 2024-02-07 18:03:34 +00:00
Flake checks / Check (pull_request) Successful in 10m14s Details
842ec945f4
forgejo: appName option has been renamed
trace: warning: The option `services.forgejo.appName' defined in
`/nix/store/z68x68rbw9sg4d7mcjrjd6aq598rmrwf-source/hosts/nachtigall/apps/forgejo.nix'
has been renamed to `services.forgejo.settings.DEFAULT.APP_NAME'.
teutat3s requested review from b12f 2024-02-07 18:03:43 +00:00
teutat3s requested review from hensoko 2024-02-07 18:03:43 +00:00
teutat3s requested review from axeman 2024-02-07 18:03:43 +00:00
teutat3s self-assigned this 2024-02-07 18:03:53 +00:00
axeman approved these changes 2024-02-12 08:25:33 +00:00
axeman left a comment
Owner

🚀

🚀
teutat3s merged commit 0bf113e3a9 into main 2024-02-14 20:32:14 +00:00
teutat3s deleted branch feat/tmate 2024-02-14 20:32:14 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: pub-solar/infra#112
There is no content yet.