[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Why can't I /address@hidden:/ with tramp?
From: |
Harry Putnam |
Subject: |
Re: Why can't I /address@hidden:/ with tramp? |
Date: |
Thu, 26 Jan 2012 16:26:31 -0500 |
User-agent: |
Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.92 (gnu/linux) |
Michael Albinus <address@hidden> writes:
> Harry Putnam <address@hidden> writes:
>
> Hi Harry,
>
>> Tramp Buffer is blank in two tests
>>
>> Tramp Debug attached:
>
> Tramp has problems already with the first commands. Could you, please,
> check what happens if you apply the following commands from a local
> shell, in this order (there might be also a password prompt):
>
> # /bin/sh -i
> # exec ssh -l harry -o ControlPath=/tmp/address@hidden:%p -o
> ControlMaster=yes -e none m2
> # exec env ENV='' PROMPT_COMMAND='' PS1=\#\$\ PS2='' PS3='' /bin/sh
>
> Best regards, Michael.
Michael, what are we trying to get to here. I can tell you that ssh
from local linux host to remote windowshost works just fine.
Here is the tty output from the above commands you requested.
Also attached is copy/pasted commands and output in xterm window.
/bin/sh -i
\[\033[01;31m\]HOST:\h \[\033[01;33m\]\w\n\u \[\033[00m\]
My complicated PS1 value is shown as escape characters. I've
shortened it to [ PS1 ] for clarity:
/bin/sh -i
[ PS1 ]
(all on one line but wrapped for mail)
[ PS1 ]exec ssh -l harry -o ControlPath=/tmp/address@hidden:%p
-o ControlMaster=yes -e none m2
address@hidden's password: SECRET <RET>
ControlSocket /tmp/address@hidden:22 already exists,
disabling multiplexing
Last login: Thu Jan 26 09:19:34 2012 from reader.local.lan
[ PS1 ]exec env ENV='' PROMPT_COMMAND='' PS1=\#\$\ PS2='' PS3='' /bin/sh
#$
AboutTramp_shell-out
Description: Binary data