Your public key has been saved in /home/pi/.ssh/id_rsa.pub. ![]() ![]() When asked for a passphrase, just press the Return key without entering anything: mymac:~ myname$ ssh-keygen -t rsa Generating public/private rsa key pair.Įnter file in which to save the key (/home/pi/.ssh/id_rsa):Įnter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /home/pi/.ssh/id_rsa. If the response as above shows the files id_rsa and id_rsa.pub, do not do the next step. If those files are not there, or if you get a “file or directory not found” error, execute the following command. (A reminder: most of the commands in this article can simply be copied and pasted from the web browser into your Terminal window. You may already have these, so check first, as you do not want to overwrite any that you already have: mymac:~ myname$ ls ~/.ssh id_dsa id_dsa.pub id_rsa id_rsa.pub known_hosts On your Mac, you will need to have a public/private key pair. This will not only save you from having to type your password every time you connect to it with a shell, but it’s necessary for the script that will automatically update the music library. It’s time to set up RSA authentication to the PiDisk. It’s just a pragmatic decision, but Linux users should not have much trouble adapting. For Windows users, I’m not sure what to suggest, although the Linux shell that Windows 10 is about to acquire might be worth a look. This time, I am definitely assuming that you are using a Mac as your desktop computer. This article continues right where Part 2 left off. Part 3: Syncing the music library (this article) – explains how to automatically synchronize your music library to the PiDisk over the network, and concludes with a few additional tips.Part 2: Adding the music services – adds MinimServer and BubbleUPnP Server to the PiDisk so that it is a functioning music server (including streaming TIDAL and/or Qobuz).Part 1: An inexpensive music server – introduces the concept of the PiDisk and sets it up as a basic file server.This is the third part of a short series on PiDisk – an inexpensive music server based on the Raspberry Pi.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |