GNU bug report logs - #27048
Tramp not working with Solaris hosts

Previous Next

Package: emacs;

Reported by: Thomas Carroll <tomfecarroll <at> yahoo.com>

Date: Tue, 23 May 2017 21:41:02 UTC

Severity: normal

Tags: notabug

Done: npostavs <at> users.sourceforge.net

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Thomas Carroll <tomfecarroll <at> yahoo.com>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: "27048 <at> debbugs.gnu.org" <27048 <at> debbugs.gnu.org>
Subject: bug#27048: Tramp not working with Solaris hosts
Date: Wed, 24 May 2017 16:11:21 +0000 (UTC)
[Message part 1 (text/plain, inline)]
Thanks for the reply.

The trick I missed is that this variable needs to be fixed in two places: tramp-sh.el AND tramp-loaddefs.el.  It now works for both Linux and Solaris.  Specifically, I had to set the value
Old: ~/.tramp_historyNew: .tramp_history
I had had some success in older versions of Emacs by changing the tramp-sh.el file only.

Again, thanks for your help.

Tom
 

    On Wednesday, May 24, 2017 10:58 AM, Michael Albinus <michael.albinus <at> gmx.de> wrote:
 

 Thomas Carroll <tomfecarroll <at> yahoo.com> writes:

Hi Tom,

> Very long time user of Tramp; depend on it heavily.  Thanks for
> awesome software!
>
> Tramp is not working any longer with Solaris hosts it worked with
> previously.  It seems to be fine with Linux hosts.
>
> Started with emacs -Q
>
> Recipe:
> C-x C-f
> /ssh:sybase <at> lee:
>
> At this point I enter my password; despite entering it correctly, it
> prompts a second time for the password.  I provide it again, and then
> the connection fails with the message you'll see below.  The
> transcript from my messages buffer:
>
> Tramp: Opening connection for sybase <at> lee using ssh...
> Tramp: Sending command ‘exec ssh -l sybase  -o ControlMaster=auto -o
> ControlPath='tramp.%C' -o ControlPersist=no -e none lee’
> Tramp: Waiting for prompts from remote shell...
> Tramp: Sending Password
> Tramp: Waiting for prompts from remote shell...done
> Tramp: Found remote shell prompt on ‘lee’
> Tramp: Opening connection for sybase <at> lee using ssh...failed
> Tramp: Opening connection for sybase <at> lee using ssh...
> Tramp: Sending command ‘exec ssh -l sybase  -o ControlMaster=auto -o
> ControlPath='tramp.%C' -o ControlPersist=no -e none lee’
> Tramp: Waiting for prompts from remote shell...
> Tramp: Sending Password
> Tramp: Waiting for prompts from remote shell...done
> Tramp: Found remote shell prompt on ‘lee’
> Tramp: Opening connection for sybase <at> lee using ssh...failed
> tramp-file-name-handler: ‘tramp-histfile-override’ uses invalid file
> ‘~/.tramp_history’

There have been many discussions which value to set for
`tramp-histfile-override', see for example
<https://debbugs.gnu.org/24478>. Unfortunately, there is no proper
default value satisfying everybody.

The error message means, you shall change the default value of that
variable.

> Thanks for any help!

Best regards, Michael.

   
[Message part 2 (text/html, inline)]

This bug report was last modified 8 years ago.

Previous Next


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