unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: 35473@debbugs.gnu.org
Subject: bug#35473: accessing remote openwrt hosts gives => Wrong method specification for `ssh'
Date: Mon, 29 Apr 2019 11:43:52 +0200	[thread overview]
Message-ID: <87zho9cfjb.fsf@gmx.de> (raw)
In-Reply-To: <20190428091332.a4vt4fjllnx5qudf@cypher.ruins> (emacsbugs grokchem's message of "Sun, 28 Apr 2019 11:13:32 +0200")

emacsbugs.grokchem@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.





  reply	other threads:[~2019-04-29  9:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-28  9:13 bug#35473: accessing remote openwrt hosts gives => Wrong method specification for `ssh' emacsbugs.grokchem
2019-04-29  9:43 ` Michael Albinus [this message]
2019-05-10  8:47   ` Michael Albinus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zho9cfjb.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=35473@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).