User:Bjordan/SSH

From OLPC

Jump to: navigation, search

ON YOUR MAC:

ssh-keygen -t dsa # a key has been created in ~/.ssh/id_dsa.pub
# PLUG IN THUMB DRIVE
cp ~/.ssh/id_dsa.pub /Volumes/KINGSTON/

ON THE XO:

mkdir /home/olpc/.ssh/
cd /home/olpc/.ssh/
cp /media/KINGSTON/id_dsa.pub ./authorized_keys # ONLY DO THIS IF THIS IS YOUR FIRST KEY
chmod 700 .
chmod 600 authorized_keys
ifconfig (get IP)

ON YOUR MAC:

# Test SSH works
ssh olpc@IPaddress (no password should be necessary)

From Erik Garrison by way of Mike Stone:

Add these to ~/.ssh/config
  ControlMaster auto
  ControlPath ~/.ssh/master-%r@%h:%p

Also nice, download MacFusion. Use MacFusion's SSH file system function to mount your XO as a logical drive.

Image:OS_X_----_MacFUSION_SSH_----_XO.png

Personal tools
  • Log in
  • Login with OpenID
About OLPC
About the laptop
About the tablet
Projects
OLPC wiki
Toolbox
In other languages