Subject: Re: bug#22478: 25.1.50; tramp error: Wrong method specification for‘scp’

From: Michael Albinus <[email-masked]>
Date: Thu, 25 Aug 2016 11:09:54 +0200

Sam Steingold <[email-masked]> writes:

Hi Sam,

> is this better?

Yes. It doesn't tell us the full story, but it tells us that your perl
on the remote machine doesn't work.

As workaround, you might deactivate it for that machine. Like this:

(add-to-list 'tramp-connection-properties '("podval" "perl" nil))

However, I would also like to add a test to Tramp in order to detect
such broken perl stanzas. Could you, pls, perform the following commands
on the remote machine, and show me their output?

# which perl
# perl -v
# perl -e 'print "hello\n"'; echo $?
# perl -e '@stat = lstat("/dev/null"); print join(" ", @stat) . "\n"'; echo $?

Thanks, and best regards, Michael.