From: Paul Donaghy Date: 2008-07-05T19:45:00+09:00 Subject: Open a remote file and edit it Guys i want to open a file on another machine lets say test.txt, read it find (grep) for example the text "localhost" and replace it with a machine name and then close the file. I can connect to the machine using ssh or sftp but as far editing a file I'm not sure how to. Any help much appreciated. -- Posted via http://www.ruby-forum.com/.