積丹尼 Dan Jacobson <[email protected]> writes: Hi Dan,
> In (info "(tramp) Quick Start Guide") > > If your local host runs an SSH client, and the remote host runs an SSH > server, the simplest remote file name is ‘/ssh:user@host:/path/to/file’. > > My experiments found that > > /ssh:user@host:. > > works and is simpler than > > /ssh:user@host:/home/user > > so mention that too. Maybe I don't even need the trailing dot. Mention if/not. But this is a special case for /home/user. The Tramp manual is not the place to list the extensive list of possible special cases. And for other methods, this might even not be true. > Anyway, users wonder > "If I can do > $ ssh host > as a shortcut to > $ ssh user@host > as I am the same user there, > then maybe some shortcuts are possible when calling tramp too." > So please mention them there! It is not a shortcut, but plain ssh behavior. If you don't give a user name, the local user name is taken unless there is a user name in ./ssh/config. The Tramp manual is not the place to describe all ssh configuration possiblities; the man page of ssh does it better. Using Tramp requires basic knowledge about the underlying commands. Best regards, Michael. _______________________________________________ Tramp-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/tramp-devel
