Passwordless SSH to Spartan
For Initial setup use Step 1:-cat .ssh/id_rsa.pub | ssh root@spartan.la.asu.edu -p 2200 ‘cat >> .ssh/authorized_keys’set the following permissions in spartan.ssh – 700.ssh/autherized_keys – 640/ – 775
Test the changes with :- ssh -p 2200 root@spartan.la.asu.edu
Note :-If it is not working even after following this step this changes then you haven’t followed it correctly or you are having a really really bad day.
Use this for subsequent setup for doing rest of the systems use Step 2:-
cat .ssh/id_rsa.pub | ssh root@spartan.la.asu.edu -p 2200 ‘cat >> .ssh/authorized_keys’; ssh -p 2200 root@spartan.la.asu.edu
It if doesn’t work read the above note one more time.
