2014-04-09 11:16:58 +01:00
|
|
|
SSH Access
|
2014-04-09 03:04:45 -07:00
|
|
|
==========
|
|
|
|
|
2014-04-09 11:14:57 +01:00
|
|
|
To give me sudo access to a Ubuntu server.
|
2014-04-09 11:14:07 +01:00
|
|
|
|
|
|
|
Run:
|
|
|
|
|
|
|
|
```sh
|
|
|
|
sudo ./create_kaik_user_with_sudo_access.sh
|
|
|
|
```
|
|
|
|
|
|
|
|
One liner:
|
|
|
|
```sh
|
2014-04-09 11:16:58 +01:00
|
|
|
cd /tmp && git clone https://github.com/kaicode/ssh_access.git && cd ssh_access && ./create_kaik_user_with_sudo_access.sh && echo 'Kai has access' && cd .. && rm -r ssh_access
|
2014-04-09 11:14:07 +01:00
|
|
|
```
|
2014-04-09 11:26:58 +01:00
|
|
|
<hr/>
|
|
|
|
Thanks to [@mattwillsher](https://github.com/mattwillsher) for the idea!
|