- HOW TO SETUP OS X SERVER HOW TO
- HOW TO SETUP OS X SERVER MAC OS X
- HOW TO SETUP OS X SERVER PASSWORD
- HOW TO SETUP OS X SERVER PLUS
This is how you setup SSH keys if you're running a Linux or Mac OS X operating system. Congratulations, you've made it through the tutorial and now have a Linux server with SSH keys! This is where you select the key, click on browse and search your hard drive for the private key file we saved earlier. You're nearly finished, run the command 'chmod 600 ~/.ssh/authorized_keys2 & exit' and your PuTTY window should close.įinally, we're going to configure PuTTY to use our SSH keys upon login.
HOW TO SETUP OS X SERVER PASSWORD
If it's in multiple, it won't work and you'd possibly get locked out of your machine if you disabled remote login to root and password authentication. This will save your file.īare in mind: When you paste the key, it has to be in one line. Once it's in one line, go ahead and run "CTRL+X", tap Y, and press enter. To prevent this, go to the beginning of the second and third lines and hit backspace once.
Nano ~/.ssh/authorized_keys2This will bring up a text editor called nano, simply right click your PuTTY window in order to paste the information you copied earlier.Īfter you paste it, it'd generally be in three lines. We'll need this for later.Īfter that, go back to PuTTY and run the following commands: Copy the data inside the PuTTYGen window under Public Key to your clipboard. We're finally done with key generation, now we're going to get our hands dirty by venturing into SSH. Do the same for the private key, bare in mind you should never share it with anybody. Save your public key to somewhere safe on your hard drive, and remember the location of your key. If you prefer to have a passwordless login, leave it blank. After you've clicked generate, move your cursor around the blank area to generate key randomness.Īfter it's generated, it'd be wise to set a key passphrase in case the file is compromised. I personally recommend 2048 bit keys, but it's your choice. It's time for you to launch PuTTYGen and generate a SSH-2 RSA key. Once you've successfully logged in, it's time to work with PuTTYGen. You'll need them for SSH and generating your SSH keys.Īfterwards, we're gonna connect to the machine through the details your host has provided. This is how you setup SSH keys if you're using Windows, if you're using Linux or Mac OS X please skip to the next section.įirstly, download PuTTY and PuTTYGen from the official page. If you're using Windows, I recommend PuTTYGen for key generation. If you're running Mac OS X or Linux, you have the ability to generate SSH keys through their terminals. Using SSH keys makes an intruder's life harder, especially with password authentication disabled.
HOW TO SETUP OS X SERVER HOW TO
This guide will teach you how to setup SSH keys on your machine, and (TODO)optionally disable password authentication. I no longer have to worry about space since I can plan well ahead for that.I'm writing this at 9:30pm with a dumbphone, please excuse any mistakes in grammar as they're likely to be fixed in the morning. Still, I have over 2TB of media reasonably secure and all Macs are backed up via TM. Cons are that the initial investment was high and that having my iTunes library on the Drobo means I can't do a time machine backup on that. Pros were that I could grow the storage space as drives got cheaper, recycle old drives, have a safety net if drives fail and also use as a Time Machine backup. Then as the library got bigger, it was getting hard to store the media on an external drive and also back up. The rMBP should last a good few years and is definitely an improvement over the mini.įor storage space, I moved away from internal drives with the mini. Now I use a first gen rMBP (2012) that was retired when I got my touch bar MBP. The host mac has evolved from a G4 tower bought in the late 90s to a 2009 Mac mini.
HOW TO SETUP OS X SERVER PLUS
Initially just music, ripping all my CDs plus some vinyl. I have had a media server in several forms since iTunes first came into being.