I tried to open a remote file via Emacs via Tramp.
(require \'tramp) (setq tramp-default-method \"ssh\")
I get a message from Emacs
By the way -- if You need tramp to sudo -- You can actually sudo without tramp using sudoedit.
tramp
sudo
sudoedit
Currently I'm using this bash function:
erf () { SUDO_EDITOR="emacsclient -a emacs" sudoedit $@; }