|
journal
all | Rob is 20,357 days old today. |
|
Entries this day: bought-three-discs created-instructions-for-creating-new-dh-users my-dh-server-got-hacked working-on-xcode-8 bought three discs 13:38 Monday 12 September 2016 JSTPlayed ultimate with an Aerobee yesterday with Suns Out Guns Out. It was challenging to control, but fun even so. Even so, I bought three ultimate discs from Club Jr. I'll bring them out one at a time until they're too old to use. Two weeks ago, my Y2K compliant disc cracked. Boo. It didn't get used all its life, but it had a long life: 16+ years. After cracking, we kept using it to practice, and it cut someone's thumb upon them catching it. Oops. To keep that from happening again, I converted the crack into a split all the way to the other rim, though I wasn't able to break the other rim. permalinkcreated instructions for creating new dh users 23:13 Monday 12 September 2016 JSThttps://github.com/thunderrabbit/new-DH-user-account New Dreamhost user accountThis essentially spells out the tasks I do each time I set up a new user with shell access on Dreamhost. It sets up In the steps below, replace Set up the new domainFrom Dreamhost Control Panel -> Domains -> Manage Domains -> Add Hosting to a Domain / Sub-domain Fill in the blanks, including create a new user. Make note of the password created by Dreamhost. We will need it where PASSWORD is written below. Give shell access to the userMake sure the new user is a shell user at https://panel.dreamhost.com/index.cgi?tree=users.users On local machine, create a new `ssh` keyssh-keygen Enter Move the keypair to On local machine, set up ~/.ssh/configAppend something like the following to Host example
HostName example.com
User example
IdentityFile ~/.ssh/example.com
scp the public key to the new account using PASSWORD:scp ~/.ssh/example.com.pub example:authorized_keys ssh to the new account using PASSWORD:ssh example While on the new account, clone this repo:git clone https://github.com/thunderrabbit/new-DH-user-account.git Set up the account and passwordless entrycd new-DH-user-account ./setup.sh Exit the accountexit ssh to the new account without passwordssh example It's very very important you log in without password here! Basically destroy password loginscd $HOME/new-DH-user-account ./password_fix.sh Enter PASSWORD when requested Now your password is 132 random characters. It can be reset in control panel (to a measly 31 characters) but the point is to never user passwords to log in. If everything worked, then cleanupcd $HOME $HOME/new-DH-user-account/cleanup.sh I created these steps after my old Dreamhost account got hacked and needed to create new accounts. permalinkmy dh server got hacked 13:42 Monday 12 September 2016 JSTBoo apparently my old WP installation got hacked. permalinkworking on xcode 8 13:37 Monday 12 September 2016 JSTDownloaded XCode 8 and had 6000+ warnings of duplicate identifiers. Had to set NO_... to NO to fix them. permalink |