tramp

How to use SSH and SUDO together with TRAMP in Emacs

I want to open a file using sudo (say, /etc/hosts) on a remote machine connected by ssh using TRAMP on Emacs. I tried couple of options, but none of them worked. Can anybody tell me how to go about it? Thank you ...

Emacs tramp errors

When I try to open a file on another machine using tramp 2.1.9, it logs me into the machine and shows the file, but then this appears in the minibuffer: File mode specification error: (wrong-number-of-arguments #[(filename) "\306^H!\205!^@\307^H!^Y\310 !^Z\311 !^[\312 !^\\313 !^]\314 ^K^L\315$-\207" [filename v method user host loca...

Setting Emacs Tramp to store local backups

I love emacs, but something has been nagging me. I can't seem to get emacs to store local backups of files when I am editing them via tramp. Currently, when I edit a local file a set of old versions is stored in the /tmp/myusername/emacs_backup folder. However, when I am FTPing via tramp, old versions aren't stored there (I assume it i...