Subject: bug#35473: accessing remote openwrt hosts gives => Wrong method specification for `ssh'

From: Michael Albinus <[email-masked]>
Date: Fri, 10 May 2019 10:47:18 +0200

Michael Albinus <[email-masked]> writes:

> Hi,

Hi,

>> In emacs on a Debian stable desktop:
>>
>>   C-x C-f /ssh:myopenwrt-host:/etc/config/
>>
>> remotely opens the directory on the openwrt router just fine. When a
>> file in that directory (e.g. "system") is selected, emacs gives:
>>
>>   "Wrong method specification for `ssh'"
>
> Hmm. Maybe you have no permissions for that file?

I've checked the Tramp code, and it looks like you haven't a proper
program to encode/decode data on the remote host. This is similar to
bug#35639, so I will merge both bugs.

That bug contains also a patch which improves the situation. You might
check, whether it helps also in your case.

Best regards, Michael.