views:

335

answers:

5

I have a workmate who only uses a Mac. Being unfamiliar with Mac text editors, I'm wondering if anyone can recommend one that will allow SFTP access using ssh keys (not just passwords).

+1  A: 

.... not sure, but I'd investigate BBEdit

vector
Yes, I use BBEdit and regularly use SSH access including public key access, which I accomplish in connection with "SSH Agent", a GUI tool for keeping the keys at the ready.
Devin Ceartas
+2  A: 
Duncan Beevers
I've done this on Linux, and it's a great facility as you can then use any editor or IDE that you want transparently. Things get kinda wonky when the link goes down, but there are workarounds for that.
Will Hartung
A: 

Cyberduck has integration support for many editors. http://cyberduck.ch/

With it you can browse (edit) FTP, SFTP, WebDAV, Cloud Files and Amazon S3.

z5h
+1  A: 

They would probably use the included OpenSSH libraries. So you would just need to add the public/private keys in ~/.ssh/

I personally use rsync to synchronize the working set and the remote directory. Write a small batch file, double click and it synchronizes within a few milliseconds. If you don't need concurrent editing then this will probably be the more sane solution as you don't need to worry about slow filesystem abstraction layers. MacFuse is great in theory, but I have had it lock up finder a bit too often for my liking.

envalid
Turns out, this is the correct answer. I didn't expect the text editor to try the key, on a PC you have to specify it first. In the mac, I created a key (ssh-keygen), then added that to the file server. Thanks envalid!
Jay
+1  A: 

Cyberduck and TextMate integrate very well - Cyberduck lets you use SFTP, and TextMate is one of the best Mac editors around.

Steven Schlansker