tramp-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tramp on windows without access to cmd.exe


From: Michael Albinus
Subject: Re: tramp on windows without access to cmd.exe
Date: Mon, 07 Dec 2015 15:56:38 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Vinh Nguyen <address@hidden> writes:

> The -i for mintty actually refers to "icon", so that's probably why
> it's erring out.  Trying:
> (set 'tramp-encoding-shell "F:/bin/cygwin64/bin/bash.exe")
> (set 'tramp-encoding-command-switch "-c")
> (set 'tramp-encoding-command-interactive "-i")

Then set this one to "",

> and got
> Tramp: Opening connection for address@hidden using plink...
> Tramp: Sending command `plink -l username -ssh server && exit || exit'
> Tramp: Waiting for prompts from remote shell...
> Store key in cache? (y/n) (y or n)  y
> Tramp: Waiting for prompts from remote shell...failed
> Tramp: Opening connection for address@hidden using plink...failed
> byte-code: Args out of range: 57, 281
>
> In my tramp buffer, I get:
> Last login: Wed Dec  2 10:46:08 2015 from 10.201.76.59
>
>  ]0;address@hidden:~  address@hidden ~]$

Looks like a strange prompt on the remote server. Disable this (the
Tramp manual explains mechanisms).

> So I think something is going on but not sure what.

If it still doesn't work, set tramp-verbose to 6, and rerun it from
scratch. There will be a Tramp debug buffer, pls show.

> -- Vinh

Best regards, Michael.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]