Created
March 20, 2018 15:22
-
-
Save jaraco/6e6f3ffda200c1ccd6fa84528cbe9f18 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jaraco@kafka:~$ sudo adduser --ingroup staff --disabled-password --gecos "Sumanah Harihareswara" sumanah | |
Adding user `sumanah' ... | |
Adding new user `sumanah' (1003) with group `staff' ... | |
Creating home directory `/home/sumanah' ... | |
Copying files from `/etc/skel' ... | |
jaraco@kafka:~$ sudo usermod -a -G sudo sumanah | |
jaraco@kafka:~$ sudo mkdir -p /home/sumanah/.ssh; sudo wget https://github.com/brainwane.keys -O /home/sumanah/.ssh/authorized_keys; sudo chown -R sumanah:nogroup '/home/sumanah/.ssh'; sudo chmod -R 600 '/home/sumanah/.ssh' | |
--2018-03-20 15:20:57-- https://github.com/brainwane.keys | |
Resolving github.com (github.com)... 192.30.253.112, 192.30.253.113 | |
Connecting to github.com (github.com)|192.30.253.112|:443... connected. | |
HTTP request sent, awaiting response... 200 OK | |
Length: unspecified [text/plain] | |
Saving to: ‘/home/sumanah/.ssh/authorized_keys’ | |
/home/sumanah/.ssh/authorized_key [ <=> ] 725 --.-KB/s in 0s | |
2018-03-20 15:20:57 (77.2 MB/s) - ‘/home/sumanah/.ssh/authorized_keys’ saved [725] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment