[TxMt] Edit remote file via SSH

Christopher Creutzig christopher at creutzig.de
Tue Feb 14 08:54:12 UTC 2006


John Johnson wrote:
> Believe it or not, this works:
> 
> ssh mythtv at dell "cat ~/test_file" | mate | ssh mythtv at dell "cat  
>  >~/test_file"

 From this, I tried doing

<file ssh stibbons mate >newfile

(the syntax is correct, though a bit weird), but I get “mate: failed to
establish connection with TextMate”.  Sounds like a reasonable security
measure on Apples side not to allow programs started from remote to
connect to those running locally, but ... is there a way to do it
anyway? :-)  (I know I could set up a local server over named sockets or
tcp that would invoke mate, but that seems a little over the top.)


Regards,
	Christopher



More information about the textmate mailing list