GNU bug report logs - #35473
accessing remote openwrt hosts gives => Wrong method specification for `ssh'

Previous Next

Package: emacs;

Reported by: emacsbugs.grokchem <at> recursor.net

Date: Sun, 28 Apr 2019 15:33:01 UTC

Severity: normal

Tags: patch

Merged with 35639

Found in version 27.0.50

Fixed in version 27.2

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#35473: accessing remote openwrt hosts gives => Wrong method
 specification for `ssh'
Date: Mon, 29 Apr 2019 11:43:52 +0200
emacsbugs.grokchem <at> recursor.net writes:

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?

> 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          192.168.1.38
>     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.




This bug report was last modified 5 years and 121 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.