https://github.com/harshsinghvi/manage_ssh.sh
Script to initialise basic configs and import keys in new systems and VMs
https://github.com/harshsinghvi/manage_ssh.sh
Last synced: about 1 month ago
JSON representation
Script to initialise basic configs and import keys in new systems and VMs
- Host: GitHub
- URL: https://github.com/harshsinghvi/manage_ssh.sh
- Owner: harshsinghvi
- License: gpl-3.0
- Created: 2023-10-02T11:22:21.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-10-02T13:06:08.000Z (over 1 year ago)
- Last Synced: 2025-02-05T09:18:30.058Z (3 months ago)
- Language: Shell
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
# manage_ssh.sh
> scripts written by ChatGPT
> Use at your own risk## INIT SSH SERVICE
``` bash
curl -sSL "https://raw.githubusercontent.com/harshsinghvi/manage_ssh.sh/master/run.sh" | bash -
```## Import keys only
```bash
echo "# imported keys" >> $HOME/.ssh/authorized_keys; curl -sSL "https://github.com/harshsinghvi.keys" | tee -a $HOME/.ssh/authorized_keys
```