Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kennethkalmer/letmein
So I need SSH access to your server to help with something? No sweat, this gets us up and going quickly and easily.
https://github.com/kennethkalmer/letmein
bash curl linux ssh sudo
Last synced: 16 days ago
JSON representation
So I need SSH access to your server to help with something? No sweat, this gets us up and going quickly and easily.
- Host: GitHub
- URL: https://github.com/kennethkalmer/letmein
- Owner: kennethkalmer
- Created: 2018-01-14T16:52:12.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-01-22T12:49:53.000Z (about 7 years ago)
- Last Synced: 2024-11-17T12:48:35.840Z (3 months ago)
- Topics: bash, curl, linux, ssh, sudo
- Language: Shell
- Homepage: https://opensourcery.co.za
- Size: 3.91 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Let Me In!
So I need SSH access to your server to help with something? No sweat, this gets us up and going quickly and easily.
```sh
$ bash <(curl -sSL https://github.com/kennethkalmer/letmein/raw/master/letmein.sh) PASSKEY_NAME
```**This script will try and use `sudo` if needed, so enter your password when prompted.**
So, this goes both ways. Firstly you should use the _PASSKEY_NAME_ I've given you, or it won't work at all. Secondly, you understand this gives me **sudo** on your box.
## Additional notes
This has only been tested on Ubuntu 16.04 LTS so far.
## Closing the door
Very important! If (and most certainly when) you need to revoke my access, you can simply run the following command:
```sh
$ sudo userdel -rf kenneth
```## Advanced usage
Please download `letmein.sh` and see what can be tweaked, then run it locally.