You can copy your public key file to as many servers as you like to get access to each one of them. Just make sure the “show invisible files” option is turned on in your FTP program. ssh folder doesn’t exist, you can create it yourself. If you use TextMate to do so, you won’t have any problems. You can do that with a fancy Terminal command line like: scp ~/.ssh/id_dsa.pub Or, if like me you enjoy the feel of your mighty mouse clicks, just create the file via FTP and copy paste the content. ssh (with the dot) at the root of your account. This authorized_keys2 file needs to be in a folder called. ssh folderĪlmost done! Now you have to copy the content of your public key file id_dsa.pub into a file called authorized_keys2 on the server. Your public key will be in this invisible. Type in: ~/.ssh/ and you should see something similar to that: To view it, use the Finder’s Go → Go to Folder menu item (“⇧+⌘+G” shortcut). Once that’s done, you’ll have an invisible folder in your User account. Hit enter 3 times to get to a prompt that will read something like: The key fingerprint is: 33:3c:5d:41:97:1b:fc:f5:9f:69:54:2e:0b:f1:24:7f Open up the Terminal and type: ssh-keygen -d It’s slightly geeky, but actually really easy and completely optional. MacFusion supports SSH authentication which is more secure than password authentication, and I like the fact that you just copy your public key to all your servers, no need to set any passwords in MacFusion. So it might be a good idea to turn off this feature by running this command in the Terminal: defaults write OakDocumentDisableFSMetaData 1 One last note: TextMate leaves invisible files all over the place (more info at the bottom of the Saving Files section of the TextMate manual) which might make some people unhappy if you’re working on their server. And thus, the only TextMate annoyance I ever came across vanishes… TextMate will treat them just like any other local Projects. That’s it! Now you can open multiple files as Projects (and save them) on any server via SSH or FTP. Just enter your server info like you would in any FTP application, click on “OK” and your server will show up in the Finder like a regular local network volume. Life is beautiful…Įasy access to your servers from the menubar It works with SSH or FTP, allows you to create Favorites, and saves your passwords in your Keychain. MacFusion is a menubar item that lets you mount remote volumes in the Finder.
0 Comments
Leave a Reply. |