rmate

Edit remote files over SSH in TextMate from terminal

brewmacoslinux
Try with needOr install directly
Source

About

Edit files from an SSH session in TextMate

Commands

rmate

Examples

Edit a remote file on SSH server in TextMate$ rmate /path/to/remote/file.txt
Edit multiple remote files at once$ rmate /path/to/file1.txt /path/to/file2.txt
Pipe command output to open in TextMate$ cat /path/to/file | rmate -