[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#35473: accessing remote openwrt hosts gives => Wrong method specific

From: Michael Albinus
Subject: bug#35473: accessing remote openwrt hosts gives => Wrong method specification for `ssh'
Date: Mon, 29 Apr 2019 11:43:52 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

address@hidden writes:


> 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?

> If the same file is selected a second time, emacs opens an empty
> buffer.

That's normal Emacs behavior. It shows you the (empty) file from the
previous attempt.

> There is no problem accessing these files without emacs using ssh and
> scp.  FWIW, this is the relevant ssh config:
>   host myopenwrt-host
>     hostname
>     port              22
>     user              root
>     IdentityFile      /home/user/.ssh/id_rsa
>     ForwardX11        no

Hmm, user root. There shouldn't be permission problems.

Maybe you set tramp-verbose to 10, and try it again? There will be a
Tramp debug buffer, which you might show us.

Best regards, Michael.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]