User:Bjordan/SSH: Difference between revisions
Jump to navigation
Jump to search
(SSH development environment on OS X) |
No edit summary |
||
Line 17: | Line 17: | ||
# Test SSH works |
# Test SSH works |
||
ssh olpc@IPaddress (no password should be necessary) |
ssh olpc@IPaddress (no password should be necessary) |
||
⚫ | |||
From Erik Garrison by way of Mike Stone: |
From Erik Garrison by way of Mike Stone: |
||
Line 26: | Line 23: | ||
ControlMaster auto |
ControlMaster auto |
||
ControlPath ~/.ssh/master-%r@%h:%p |
ControlPath ~/.ssh/master-%r@%h:%p |
||
⚫ | |||
[[Image:OS_X_----_MacFUSION_SSH_----_XO.png]] |
Latest revision as of 23:14, 12 June 2008
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.