Sometimes what I just need is to edit one file in a Server. What is terrible to me becouse I don’t like vi and Í use TextMate.
So I’ve decided looking for a solution to bring the powerfull of TexMate into a SSH Server.
The solution is simple mount a ssh volume to use as filesystem
Mounting a ssh volume to use as filesystem in MacOs Lion
Mount a ssh volume to open files with TextMate
- Open Macfusion Application
- Create a new SSHFS entry clicking in “+” and selecting SSHFS
- Fill the host, username, password and path in dialog box
- I recommend you especify a volume name and a mount point in Macfusion Tab
- I suggest you /Volumes/ServerName as a mount point and
Done! Now you may click on Mount. If everything is correct you’re gonna be able to Right CLick and Reveal your files.
You’re also gonna be able to go direct into your folders on a Terminal:
Creating a symbolic link in Finder
The first time my new Volume has mounted they have not appeared in Finder as mounted Volume. So I’ve just Draged and Droped them into the side bar and now every time the new volume is mounted they are showing in sidebar.
Open a server file in TextMate
Now is easy and you can treat your server files as local files.
Vi is good, but not good enough as TextMate. So, why learn a lot of vi or vim command if I’m able to access a server with SSH and open a file in TextMate. If you are a TextMate user and you have SSH or FTP access to your server this is good for you, but if you’re good and known all thath magic behind Vi commands you waist some minutes of your time life reading this.