Is it all about running gedit? Although I can't imagine why you can't use vim, emacs or even nano from ssh it's pretty possible to download a copy of the file, edit it with your preferred editor and upload it back to the server.
Atenciosamente, Leonardo Ruoso (CE1921JP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . leona...@ruoso.com · (11) 3522-9612 · (85) 8787-0312 http://leonardo.ruoso.com · http://twitter.com/LeonardoRuoso . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . *Leonardo Ruoso *· * *Gerente de Projetos · Analista de Sistemas Comunicação Social/Jornalismo - UFC/2006 · Telecomunicações - ETFCE/1998 *Internet e inovação tecnológica deste 1996* . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .