rht

Crates.iorht
lib.rsrht
version0.0.1
sourcesrc
created_at2022-11-06 20:47:16.735493
updated_at2022-11-07 03:12:59.021618
descriptionRemote Host Toolkit
homepagehttps://github.com/misterjoshua/rht
repositoryhttps://github.com/misterjoshua/rht.git
max_upload_size
id706712
size49,688
Josh Kellendonk (misterjoshua)

documentation

https://github.com/misterjoshua/rht

README

Remote Host Tools

Remote Host Tools (rht)

Usage

Download the binary for your desktop and start it - you will now be running an HTTP server on localhost port 12345.

Now, connect to another host and open a browser remotely:

# SSH in to a server with an SSH tunnel
desktop$ ssh server -R 12345:127.0.0.1:12345

# Use the binary to open the url on your desktop; or
server$ rht open https://www.example.com

# Configure your BROWSER env var and use xdg-open
server$ BROWSER="rht open" xdg-open https://www.example.com

# Alternatively, connect directly to the server with this
desktop$ ssh server -R 12345:127.0.0.1:12345 -t BROWSER="rht open" bash
Commit count: 61

cargo fmt