-
Senior Member
registered user
ssh public key authentication and clusters?
My students and I are interested in setting up a parallel java (PJ) cluster (http://www.cs.rit.edu/~ark/pj.shtml). These are my advanced independent study students who just spent a year working with MPI & OpenMosix using C & C++. MPI is getting a bit dated and the OpenMosix project just closed, so they want experience with a new kind of cluster/grid paradigm.
Anyway, we've complied with all the installation requirements for PJ (http://www.cs.rit.edu/~ark/pj/doc/ed...e-summary.html middle of page) except for the following:
Furthermore, it must be possible to do an SSH remote login from the frontend processor to each backend processor without the user having to type a password. This is done using public key authentication. SSH must have public key authentication enabled. Each user must set up SSH public and private keys in his or her account. For further information, refer to the SSH documentation.
I have sshd running, but I don't have any experience with "public key authentication." Anyone out there have any suggestions or tips for this?
TIA,
AJG
-
Senior Member
registered user
BUMP!
OK, I figured it out. I simply started sshd and created a login on each PC with the same userid and passwd. I logged into each and issued the following commandline:
This created a file called id_rsa.pub in the hidden .ssh folder of each user's home dir. Then I scp'ed these files to each machine (with diff filenames) to cut and past one large file called authorized_keys2 and that's it! I can now ssh to and from each PC using that userid and no passwd. In fact, as I was logged into each PC with the same userid, I don't think I even need the userid to ssh or fish!
See: http://www.petefreitag.com/item/532.cfm
HTH Some1,
AJG
-
Senior Member
registered user
Correct, instead of fish://userid@xxx.xxx.xxx.xxx in konqueror with a passwd, I can fish without a passwd.
Also, I can simply fish://xxx.xxx.xxx.xxx - no need for a userid or passwd as long as I'm using the same userid on each PC.
You just have to have the one userid in common on all PCs, sshd running and the correct authorized_keys2 file on each home dir. Just log into one with a passwd normally, then fish or ssh away to your heart's content without userids or passwds!
HTH Some1 even though my application may be a bit unusual,
AJG
PS: any1 else out there setting up linux clusters?
Similar Threads
-
By Gnome949 in forum General Support
Replies: 1
Last Post: 01-22-2008, 11:46 PM
-
By ryanpq in forum Customising & Remastering
Replies: 0
Last Post: 05-14-2005, 05:35 PM
-
By bjwatson in forum Customising & Remastering
Replies: 2
Last Post: 03-03-2005, 04:30 AM
-
By bjwatson in forum Other Live CDs
Replies: 0
Last Post: 02-16-2005, 09:20 PM
-
By pinoylinux in forum General Support
Replies: 3
Last Post: 12-09-2004, 12:31 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
![SonicWall TZ400 Security Appliance - 01-SSC-0213 Firewall picture](/store/img/g/9W0AAOSwcFtlyRo9/s-l225/SonicWall-TZ400-Security-Appliance-01-SSC-0213-Fir.jpg)
SonicWall TZ400 Security Appliance - 01-SSC-0213 Firewall
$350.00
![Cisco ASA5506-K9 ASA 5506-X Network Security Firewall picture](/store/img/g/N60AAOSwDr1mYvWj/s-l225/Cisco-ASA5506-K9-ASA-5506-X-Network-Security-Firew.jpg)
Cisco ASA5506-K9 ASA 5506-X Network Security Firewall
$40.00
![Fortinet FortiGate 60F | 10 Gbps Firewall Network Security EXPIRED (FG-60F)- New picture](/store/img/g/raUAAOSwJYhjzwg-/s-l225/Fortinet-FortiGate-60F-10-Gbps-Firewall-Network-Se.jpg)
Fortinet FortiGate 60F | 10 Gbps Firewall Network Security EXPIRED (FG-60F)- New
$226.79
![Cisco ASA 5506-X Network Security Firewall w/ AC Adapter picture](/store/img/g/N3IAAOSwrbNmfskh/s-l225/Cisco-ASA-5506-X-Network-Security-Firewall-w-AC-Ad.jpg)
Cisco ASA 5506-X Network Security Firewall w/ AC Adapter
$39.99
![Fortinet Fortigate-60E Network Security Firewall FG-60E *Registered picture](/store/img/g/YCgAAOSwNhRmhM37/s-l225/Fortinet-Fortigate-60E-Network-Security-Firewall-F.jpg)
Fortinet Fortigate-60E Network Security Firewall FG-60E *Registered
$64.99
![Netgate SG-3100 pfSense Security Gateway Firewall Appliance w/Power Adapter picture](/store/img/g/StMAAOSwrj1mgyDL/s-l225/Netgate-SG-3100-pfSense-Security-Gateway-Firewall-.jpg)
Netgate SG-3100 pfSense Security Gateway Firewall Appliance w/Power Adapter
$125.00
![Fortinet Fortigate 61E FG-61E Network Security/Firewall Appliance *Registered* picture](/store/img/g/EK4AAOSw9S9mhNKd/s-l225/Fortinet-Fortigate-61E-FG-61E-Network-Security-Fir.jpg)
Fortinet Fortigate 61E FG-61E Network Security/Firewall Appliance *Registered*
$79.99
![pfSense Firewall VPN AES-NI Celeron N3350 1.10GHz 10GB RAM 80GB SSD 5x Intel NIC picture](/store/img/g/ObkAAOSwQuhi9bAX/s-l225/pfSense-Firewall-VPN-AES-NI-Celeron-N3350-1-10GHz-.jpg)
pfSense Firewall VPN AES-NI Celeron N3350 1.10GHz 10GB RAM 80GB SSD 5x Intel NIC
$91.00
![Fortinet Fortigate FG-61E Firewall Network Security Appliance ATP Bundle 1 years picture](/store/img/g/nH4AAOSwvpJlnbt9/s-l225/Fortinet-Fortigate-FG-61E-Firewall-Network-Securit.jpg)
Fortinet Fortigate FG-61E Firewall Network Security Appliance ATP Bundle 1 years
$263.99
![Fortinet Fortigate FG201E Security Firewall w/ Power Cable picture](/store/img/g/RjEAAOSwSVlmb9C8/s-l225/Fortinet-Fortigate-FG201E-Security-Firewall-w-Powe.jpg)
Fortinet Fortigate FG201E Security Firewall w/ Power Cable
$249.00