0

I am trying to open a remote file in spacemacs in evil mode on windows using SPC f f. This pops up helm and entering /ssh:myuser@myhost/folder/file.txt produces

Wrong type argument: stringp, nil

In the message area. How do I fix this?

(Note: When used with PuTTY the correct command is /plink:myuser@myhost:/folder/file.txt.)

1
  • This error you're getting indicates a bug somewhere. Please report it (and/or follow the usual debugging guidelines to get a backtrace and investigate). At the very least, the code should catch this error and replace it with another one that explains to the user what is the actual source of the problem.
    – Stefan
    Oct 31, 2018 at 14:14

1 Answer 1

1

I think you are missing a colon. The syntax is /ssh:myuser@myhost:/folder/...

3
  • You might be right. At least it causes a different error. Oct 31, 2018 at 14:01
  • What's the error? You might want to update the question with the results.
    – NickD
    Oct 31, 2018 at 14:05
  • No, I think this is good. I also had to switch to plink because I have putty installed and it has plink instead of an ssh binary but now it works. Oct 31, 2018 at 14:19

Your Answer

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

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