[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tramp shows destination hostname for proxy
From: |
Michael Albinus |
Subject: |
Re: Tramp shows destination hostname for proxy |
Date: |
Sun, 04 May 2008 13:27:45 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
"Rajagopal Natarajan" <address@hidden> writes:
> I've added a line like the following to make all requests to a particular
> host go through a proxy in .ssh/config
>
> Host <dest hostname>
> ProxyCommand ssh /usr/bin/nc -w 60 %h %p
>
> So, I need to enter password for the proxy one and then for the destination
> host again. SSH and SCP generally show the prompts as
>
> Password for address@hidden:
>
> followed by
>
> Password for address@hidden:
>
> Whereas tramp shows it as
>
> Password for address@hidden:
>
> both times. Considering the fact that a user could have two different
> passwds for the proxy and the destination host, this is a bit
> confusing.
Tramp does not evaluate your .ssh/config, so it cannot know where the
password prompt belongs to. That's why it assumes your target host name
to be used.
I'm sorry, but I don't see how to change it.
> Thanks and Regards,
>
> Rajagopal N
Best regards, Michael.