sharessh

command module
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 15, 2021 License: MIT Imports: 14 Imported by: 0

README

ShareSSH

A simple tool to temporarily share SSH access to your machine, to a specific GitHub user.

Usage

$ go run github.com/mik3y/sharessh <github username>

Sharessh will start a new SSH server on port 2222. It will authorize the github username you provide with all of their GitHub-registered public keys.

To revoke access, just close the program.

Why?

If you're building an open source project, sometimes your users might run into bugs where the fastest way to understand them is, "Hey would you be open to letting me SSH in and check it out?"

This may be particularly the case with hardware or IoT projects, where it's not as easy to remotely debug.

I ran into this situation and remembered GitHub exposes public keys as https://github.com/<username>.keys. I thought it would be cool to write a little program to temporarily open up an SSH server just for one user's keys. "Hey would you mind running sharessh mik3y so I can check things out?".

Warning

Connecting users will have shell access for whatever user runs this command.

Changelog

See CHANGELOG.md for the latest changes.

Contributing

Contributions welcome! Open an issue or a pull request if you've got ideas.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL