I have to connect to remote computers through ssh. I'm using tramp (C-x d /sshx:user@myhost|su:myhost:/mydirectory
) and I can sudo as root on directories in this machine. As it is very convenient, I would like to bookmark the location.
After giving a name to the bookmark, I can see that my latest bookmark looks like 'my newbookmark /su:root@myhost:/mydirectory'
, therefore forgetting the first half of the location. And when I try to comeback to it (after closing emacs for example), I have a message "Host 'myhost' looks like a remote host, 'su' can only use the local host"
.
How would it be possible to bookmark the whole location?
Many thanks.