You can open SSH resources in Emacs. Unfortunately, the pathspec used for SSH resources conflicts with possible paths in the virtual file system.
If I run
sudo mkdir "/ssh:example.com"
sudo touch "/ssh:example.com/file"
, I cannot figure out a way to edit the file I just created via Emacs except moving it or creating another hard link. Is there a way to edit this file in Emacs if you can't do that, for example because you don't have write privileges in the directory where the file is?
C-x C-f /:/ssh:example.com/ RET
– Stefan May 18 '18 at 02:33Host name must not match method "ssh"
No dired buffer is opened. The*Messages*
buffer says:tramp-file-name-handler: Host name must not match method "ssh"
– UTF-8 May 18 '18 at 11:07/ssh:exaple.com:
– UTF-8 May 18 '18 at 11:35