Passwordless SSH --------------------------------- The SBCs have a single rss-student account that will be shared among your group. The password for this account is hal2***. It will be handy to disable passwords when ssh-ing into your SBC as you'll be transfering code from the Sun to the SBC often. To disable passwords when using syn.sh and ssh rss-student@rss-X, do: A) Login as yourself to the Sun B) Create your public and private keys on the Sun by: ssh-keygen -t rsa (Don't enter a passphrase) C) Copy the key to the SBC by: scp ~/.ssh/id_rsa.pub rss-student@rss-X:. D) Now ssh into the SBC by: ssh rss-student@rss-X E) On the SBC, do: cat id_rsa.pub >> ~/.ssh/authorized_keys chmod 600 ~/.ssh/authorized_keys rm ~/id_rsa.pub F) Now test it out. Exit your SSH session and try: ssh rss-student@rss-X. It should not ask you for a password. Rsync your code ---------------------------------- The script syn.sh uses the program rsync to mirror the code on the Sun to your SBC. The script assumes that all of your code is in the directory ~/rss. The script should be somewhere on your $PATH, for example in ~/rss/rss_groupN/bin. It is also handy to keymap a function key (F4, etc) to the script (see lab writeup). This, combined with passwordless SSH, will enable you to sync the SBC from the Sun in a single keystroke. When you are doing many development cycles between the two machines, this will be useful.