From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Thomas Carroll Newsgroups: gmane.emacs.bugs Subject: bug#27048: Tramp not working with Solaris hosts Date: Wed, 24 May 2017 16:11:21 +0000 (UTC) Message-ID: <1937104721.1513310.1495642281558@mail.yahoo.com> References: <737868241.770063.1495574150747.ref@mail.yahoo.com> <737868241.770063.1495574150747@mail.yahoo.com> <87y3tm9u9t.fsf@detlef> Reply-To: Thomas Carroll NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_1513309_372085304.1495642281556" X-Trace: blaine.gmane.org 1495642584 8964 195.159.176.226 (24 May 2017 16:16:24 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 24 May 2017 16:16:24 +0000 (UTC) Cc: "27048@debbugs.gnu.org" <27048@debbugs.gnu.org> To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 24 18:16:16 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dDYxL-00024a-6c for geb-bug-gnu-emacs@m.gmane.org; Wed, 24 May 2017 18:16:15 +0200 Original-Received: from localhost ([::1]:55859 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dDYxO-0001Cx-Uv for geb-bug-gnu-emacs@m.gmane.org; Wed, 24 May 2017 12:16:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56559) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dDYxC-0001Ag-HS for bug-gnu-emacs@gnu.org; Wed, 24 May 2017 12:16:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dDYx9-0003yE-67 for bug-gnu-emacs@gnu.org; Wed, 24 May 2017 12:16:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:33772) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dDYx8-0003y0-Ik for bug-gnu-emacs@gnu.org; Wed, 24 May 2017 12:16:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dDYx8-0006D8-20 for bug-gnu-emacs@gnu.org; Wed, 24 May 2017 12:16:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Thomas Carroll Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 24 May 2017 16:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27048 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 27048-submit@debbugs.gnu.org id=B27048.149564253023828 (code B ref 27048); Wed, 24 May 2017 16:16:02 +0000 Original-Received: (at 27048) by debbugs.gnu.org; 24 May 2017 16:15:30 +0000 Original-Received: from localhost ([127.0.0.1]:36448 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dDYwb-0006CF-JM for submit@debbugs.gnu.org; Wed, 24 May 2017 12:15:29 -0400 Original-Received: from sonic326-39.consmr.mail.ne1.yahoo.com ([66.163.186.62]:45859) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dDYwa-0006C0-R5 for 27048@debbugs.gnu.org; Wed, 24 May 2017 12:15:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1495642522; bh=zeTr88BnNHhLeNLI+PP1/ZYAiyO0CLxPc0uPL+jxj/A=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:From:Subject; b=FE54aHHzOYCIj12BkUpcQ+2oTdaUOJSFYxgBqf3XK0wRO3+W3ufoasurA4jhHi7Eg2YsLpW8TCMuJXABw28drwoEmSovqkI6IIQo71sfdYah5Toke1ZxoVkUfeHvomvu1CO5184HcqGWUsHsjYTFaHkPaFHrX44dRhSF/jsSZ2+lc32Sq7uxrRdAwFBLE/qWQO7ueEtnzVcTigu4E178M1QDNG0mmfLAcw5ozvOb3QQNKMFv8ACzOkbjGyX9HfEt02XScEBXT6dVLBkOYOKawmkkvGzMYvV/NdUXHqvxjcXzgmjIRBQSH/thaZegdggiVY+7MmpI4alcSgWNZU5TmA== X-YMail-OSG: RmB5v_EVM1lqrv8HscHwu4sK4lCV81O89IBIbE6ezKDp.uvngoxeyMg47sLMbdK ViGXN2zrOIYqj93dS76Qj04k1K6fm3uSfpTzh4dbL7qVyOFeQ25hy8LUSpY6u0EAt1DU9v1MyMqY U.F2S_kaPf2BCgNBO7Ry.1HgcQyWSalO30VhKier9hkVjw0JlsgTr1zu2xlIJ9Bx.N1n6Mv0nsJq KzYSRndI7s6XZZNOU2oTP1pWEiSiDWcw6sat2oyt4VZokNzJZE0g8ZceBIcixoABgkew9iymdLWa Qn8CCti4L8nmJCwOn3H.UgiYwvSREuvgBHyGPzpwrB6HDimrF80EzqbUTEU9Qb080Exx08lWZj.3 MuYZ1uFPIgk1s6uRAOUYpBGx4f4umchr4NFE31ebfxvKkdG1R_0fhuQOPHbj7rtAOqOSHhiP6VOd E.bIfoTZrQkkVRiqEf.XoywKi.WC7er15vnZ6Uww4VFaxb3Rr8fKVWSK7vASkQ3fCQUbZOS90ER_ lbJEHCCSjM0xPQwznZF3ZVpGdeJK3 Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic326.consmr.mail.ne1.yahoo.com with HTTP; Wed, 24 May 2017 16:15:22 +0000 In-Reply-To: <87y3tm9u9t.fsf@detlef> X-Mailer: WebService/1.1.9679 YahooMailNeo Mozilla/5.0 (Windows NT 6.1; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:132796 Archived-At: ------=_Part_1513309_372085304.1495642281556 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Thanks for the reply. The trick I missed is that this variable needs to be fixed in two places: t= ramp-sh.el AND tramp-loaddefs.el.=C2=A0 It now works for both Linux and Sol= aris.=C2=A0 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 =20 On Wednesday, May 24, 2017 10:58 AM, Michael Albinus wrote: =20 Thomas Carroll writes: Hi Tom, > Very long time user of Tramp; depend on it heavily.=C2=A0 Thanks for > awesome software! > > Tramp is not working any longer with Solaris hosts it worked with > previously.=C2=A0 It seems to be fine with Linux hosts. > > Started with emacs -Q > > Recipe: > C-x C-f > /ssh:sybase@lee: > > At this point I enter my password; despite entering it correctly, it > prompts a second time for the password.=C2=A0 I provide it again, and the= n > the connection fails with the message you'll see below.=C2=A0 The > transcript from my messages buffer: > > Tramp: Opening connection for sybase@lee using ssh... > Tramp: Sending command =E2=80=98exec ssh -l sybase=C2=A0 -o ControlMaster= =3Dauto -o > ControlPath=3D'tramp.%C' -o ControlPersist=3Dno -e none lee=E2=80=99 > Tramp: Waiting for prompts from remote shell... > Tramp: Sending Password > Tramp: Waiting for prompts from remote shell...done > Tramp: Found remote shell prompt on =E2=80=98lee=E2=80=99 > Tramp: Opening connection for sybase@lee using ssh...failed > Tramp: Opening connection for sybase@lee using ssh... > Tramp: Sending command =E2=80=98exec ssh -l sybase=C2=A0 -o ControlMaster= =3Dauto -o > ControlPath=3D'tramp.%C' -o ControlPersist=3Dno -e none lee=E2=80=99 > Tramp: Waiting for prompts from remote shell... > Tramp: Sending Password > Tramp: Waiting for prompts from remote shell...done > Tramp: Found remote shell prompt on =E2=80=98lee=E2=80=99 > Tramp: Opening connection for sybase@lee using ssh...failed > tramp-file-name-handler: =E2=80=98tramp-histfile-override=E2=80=99 uses i= nvalid file > =E2=80=98~/.tramp_history=E2=80=99 There have been many discussions which value to set for `tramp-histfile-override', see for example . 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. =20 ------=_Part_1513309_372085304.1495642281556 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
T= hanks 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_history=
New: .tramp_history

I had had some success in olde= r versions of Emacs by changing the tramp-sh.el file only.

Again, thanks for your help.<= br>

=
Tom


On Wednesday, May 24, 2017 10:58 AM, Michael Albinus <michae= l.albinus@gmx.de> wrote:


Thomas Carroll <tomf= ecarroll@yahoo.com> writes:

Hi = Tom,

> Very long time user of Tramp= ; depend on it heavily.  Thanks for
> awesome sof= tware!
>
> Tramp is not working a= ny longer with Solaris hosts it worked with
> previous= ly.  It seems to be fine with Linux hosts.
>
> Started with emacs -Q
>
> Recipe:
> C-x C-f
> /= ssh:sybase@lee:
>
> At this p= oint I enter my password; despite entering it correctly, it
> prompts a second time for the password.  I provide it again, a= nd then
> the connection fails with the message you'll= see below.  The
> transcript from my messages bu= ffer:
>
> Tramp: Opening connecti= on for sybase@lee using ssh...
> Tramp: Sending co= mmand =E2=80=98exec ssh -l sybase  -o ControlMaster=3Dauto -o
> ControlPath=3D'tramp.%C' -o ControlPersist=3Dno -e none lee= =E2=80=99
> Tramp: Waiting for prompts from remote she= ll...
> Tramp: Sending Password
>= Tramp: Waiting for prompts from remote shell...done
>= Tramp: Found remote shell prompt on =E2=80=98lee=E2=80=99
> Tramp: Opening connection for sybase@lee using ssh...failed
> Tramp: Opening connection for sybase@lee using ssh.= ..
> Tramp: Sending command =E2=80=98exec ssh -l sybas= e  -o ControlMaster=3Dauto -o
> ControlPath=3D'tr= amp.%C' -o ControlPersist=3Dno -e none lee=E2=80=99
> = Tramp: Waiting for prompts from remote shell...
> Tram= p: Sending Password
> Tramp: Waiting for prompts from = remote shell...done
> Tramp: Found remote shell prompt= on =E2=80=98lee=E2=80=99
> Tramp: Opening connection = for sybase@lee using ssh...failed
> tramp-file-nam= e-handler: =E2=80=98tramp-histfile-override=E2=80=99 uses invalid file
> =E2=80=98~/.tramp_history=E2=80=99
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 prop= er
default value satisfying everybody.
=
The error message means, you shall change the default va= lue of that
variable.


> Thanks for any help!<= /div>

Best regards, Michael.

=
------=_Part_1513309_372085304.1495642281556--