1

windows 10 (64 bit), emacs 26.1

I try to connect by Tramp mode from Windows to remote Linux machine.

I use this command:

C-x C-f 

and then ip of remote machine (ip address):

 /xxx.xxx.xxx.xxx:

but I get error:

Error running timer: (user-error "Not a Tramp file name: \"/xxx.xxx.xxx.xxx:\"") 
9
  • 1
    Try /ssh:xxx.xxx.xxx.xxx:/path/to/file.
    – user12563
    Commented Sep 8, 2018 at 14:09
  • I try this: "/ssh:xxx.xxx.xxx.xxx:" but get error: Wrong type argument: stringp, nil Commented Sep 8, 2018 at 14:27
  • Have you tried entering ip of said machine rather than xxx.xxx.xxx.xxx?
    – user12563
    Commented Sep 8, 2018 at 14:29
  • @DoMiNeLa10 I always enter ip address Commented Sep 8, 2018 at 14:37
  • 1
    I don't believe this can be answered on sx. Please make a Tramp bug report, and include the debug buffer produced with tramp-verbose set to 10. The Tramp manual tells you the details. Commented Sep 11, 2018 at 8:24

1 Answer 1

2

See Emacs NEWS (C-h n):

*** The method part of remote file names is mandatory now. A valid remote file name starts with "/method:host:" or "/method:user@host:".

*** The new pseudo method "-" is a marker for the default method. "/-::" is the shortest remote file name then.

*** The command 'tramp-change-syntax' allows you to choose an alternative remote file name syntax.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.