Vinh Nguyen <[email protected]> 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 username@server 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 username@server 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;username@server:~  [?1034h[username@server ~]$

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.

_______________________________________________
Tramp-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/tramp-devel

Reply via email to