GNU bug report logs -
#35473
accessing remote openwrt hosts gives => Wrong method specification for `ssh'
Previous Next
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.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 35473 in the body.
You can then email your comments to 35473 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#35473
; Package
emacs
.
(Sun, 28 Apr 2019 15:33:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
emacsbugs.grokchem <at> recursor.net
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sun, 28 Apr 2019 15:33:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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'"
If the same file is selected a second time, emacs opens an empty
buffer.
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
* versions *
GNU Emacs 24.5.1 (x86_64-pc-linux-gnu, GTK+ Version 3.22.11)
OpenSSH_7.4p1 Debian-10+deb9u6, OpenSSL 1.0.2r 26 Feb 2019
openwrt-18.06.2-brcm47xx-mips74k-asus-rt-n16-squashfs.trx
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#35473
; Package
emacs
.
(Mon, 29 Apr 2019 09:45:01 GMT)
Full text and
rfc822 format available.
Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):
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.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#35473
; Package
emacs
.
(Fri, 10 May 2019 08:48:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 35473 <at> debbugs.gnu.org (full text, mbox):
Michael Albinus <michael.albinus <at> gmx.de> 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.
Merged 35473 35639.
Request was from
Michael Albinus <michael.albinus <at> gmx.de>
to
control <at> debbugs.gnu.org
.
(Fri, 10 May 2019 08:49:02 GMT)
Full text and
rfc822 format available.
bug Marked as fixed in versions 27.2.
Request was from
Michael Albinus <michael.albinus <at> gmx.de>
to
control <at> debbugs.gnu.org
.
(Thu, 09 Jan 2020 13:01:01 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 14 Feb 2020 12:24:06 GMT)
Full text and
rfc822 format available.
This bug report was last modified 4 years and 65 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.