View Single Post
  #9  
Old 10-03-2007, 04:17 AM
unix unix is offline
Junior Member
 
Join Date: Sep 2009
Posts: 0
Default Re: PuTTY and ProxyCommand

En réponse à Simon Tatham :

All right. First of all, thanks for all your explanations
regarding how interactive authentication are handled.


>> And by the way, isn't it possible for PuTTY to display the interactive
>> authentication?

>
> No, because it would have to somehow open two separate I/O channels
> to Plink, one for the actual session data and one for the
> authentication, and there's no useful method for doing that. OpenSSH
> gets away with this because the terminal device it's using is
> external to _both_ programs.


I understand.
But for that, couldn't it be possible to add a feature like
the username and the password it is possible to write in
the proxy panel? And Plink would write on the first I/O channel
the password? (the users of that thing would of course do that
at their own risk)


>> plink -i key.ppk user@pc1 -nc %host:%port
>> but the option doesn't seem to be recognized, like « -pw ».

>
> That isn't enough information to find out what's going on,
> unfortunately. You'd need to use `plink -v' and look at the Event
> Log. Does this mode work when run on its own?


Yes it works on its own. And I have just found out what
was going on: the path to my key was "ssh\test-key.ppk" and
it had to be written "ssh\\test-key.ppk" because of the tabulation.

Well, everything works fine now!
Thanks for all your help. I really appreciate it!

--
Iulius

« -- Vous n'avez rien à déclarer ?
-- J'ai faim.
-- Qu'est-ce que vous avez là ?
-- Un creux ! » (Astérix)
Reply With Quote