开发者

Best way to edit Linux server configuration files on Mac OS X?

开发者 https://www.devze.com 2022-12-30 13:16 出处:网络
I\'m used to editing my remote Ubuntu server through SSH and Nano. I\'ve tried using Vim and Emacs but since I don\'t manage the server frequently enough I never quite get the hang of it and end up fo

I'm used to editing my remote Ubuntu server through SSH and Nano. I've tried using Vim and Emacs but since I don't manage the server frequently enough I never quite get the hang of it and end up forgetting the commands.

I use TextMate daily for programming and was wondering if there's any counter-recommendation against mounting the server's /etc/ folder locally using htt开发者_开发问答p://www.macfusionapp.org/ and creating a TextMate project containing /etc/ and editing all configuration files right within?

root would have to be used through SSH to allow editing of the /etc/ files so that makes me a little nervous. Is this a bad approach?


I sometimes use Cyberduck to remotely edit files. You can set up SFTP connections in Cyberduck, so you can connect to any remote machine to which you have SSH access. Cyberduck lets you use TextMate as an external editor, so you can set up the connection and start editing, and Cyberduck will automatically upload your changes.

(This is probably possible in other FTP clients like Transmission, too, but I personally use Cyberduck so I don't know much about other clients.)

There's nothing wrong with using MacFUSE, but I find the Cyberduck solution to be simpler.

0

精彩评论

暂无评论...
验证码 换一张
取 消