Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Build Supercomputers with Raspberry Pi 3

You're reading from   Build Supercomputers with Raspberry Pi 3 A step-by-step guide that will enhance your skills in creating powerful systems to solve complex issues

Arrow left icon
Product type Paperback
Published in Mar 2017
Publisher Packt
ISBN-13 9781787282582
Length 254 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Carlos R. Morrison Carlos R. Morrison
Author Profile Icon Carlos R. Morrison
Carlos R. Morrison
Arrow right icon
View More author details
Toc

Table of Contents (13) Chapters Close

Preface 1. Getting Started with Supercomputing FREE CHAPTER 2. One Node Supercomputing 3. Preparing the Initial Two Nodes 4. Static IP Address and Hosts File Setup 5. Creating a Common User for All Nodes 6. Creating a Mountable Drive on the Master Node 7. Configuring the Eight Nodes 8. Testing the Super Cluster 9. Real-World Math Application 10. Real-World Physics Application 11. Real-World Engineering Application A. Appendix

ID key generation


You now have the alpha user on the slave1 node that will be running all the MPI programs. Let's now generate a special key that will allow you to ssh from one node to the next, or from the master node to all the slaves in the cluster, without having to insert the password multiple times. First, enter the command ssh Mst0, and enter the password, or enter exit to return to the master node, and then log in again as the alpha user; that is, enter the command su - alpha. At the $ prompt, enter ssh-keygen -t rsa. The -t is the argument, and rsa is a type of encryption. The first thing it's going to ask you for is a filename in which to save the key. Just save it in a default location by pressing the Enter key.

The next step is to enter a passphrase. Type in a passphrase. The author chose atomic; however, you can use any other name, if you so desire (note the characters are invisible), and re-enter the passphrase. You should see an image of the encrypted key like the one depicted...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime