I think you need TRAMP for Emacs:
After installing the stroller in your Emacs, you can access the files on the remote computers as if they were local. Access to the remote file system for file editing, version control and obsolete are transparently included.
The package provides support for out of the box ssh connections, one of the more common uses of the package. This allows relatively safe access to machines, especially if ftp access is disabled.
On Windows, tramp is integrated with the PuTTY package using plink.
For more information:
http://www.gnu.org/s/tramp/#Overview
PS: Copying and pasting an "unreadable error message" will certainly be useful.
source share