I can mount my ssh where?
On your desktop. What? Yup, It’s true. If you have a mac, you can now mount an ssh connection on your desktop just like an external hard drive or a mapped network drive. But John, you ask, “what does that have to do with rails?” Well, if you get into rails at all, ssh becomes a staple. From capistrano, to general maintenance of your apps, to a full rails stack install of ruby, apache, mongrel and such, ssh is always there making you feel like you are smarter and cooler than you actually are.
I rarely used ssh before ruby and rails and now not a day goes by without me ssh’ing into some server and releasing my ninja-ism on an errant fcgi process or something. killall -9 —dispa….anyway, I’ll get back on track.
Step One: Install MacFuse and sshFS
Download the macfuse and sshfs dmg files from google code. Install the macfuse and sshfs applications. Macfuse is an installer and sshfs is your typical drag to applications folder install. After you get sshfs installed, start it up.
Step Two: Enter Server and Username
Step Three: Enter Password
If the auth passes, you’ll end up with a mounted drive like the one pictured below. Pretty sweet, eh?
Step Four: SSH Drag and Drop
Below is an example of me backing up a peepcode screencast to a dreamhost account using sshfs and macfuse.