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)
.



Relevant Pages

  • plink fails when started from emacs, succeeds otherwise
    ... I'm attempting to use plink (9/17 development build, ... happens with other versions) to create an ssh connection, ... public key authentication. ...
    (comp.security.ssh)
  • Re: PuTTY and ProxyCommand
    ... Plink can recognise as a password request. ... "password" authentication method, in response to which Plink could ... send the thing you specified with -pw, it's selecting ... language) that the prompt is a password prompt rather than a prompt ...
    (comp.security.ssh)
  • Re: Interactive and Network
    ... Interactive means the authentication was an interactive authentication such as a local logon. ... Network user is authenticated as a network authentication such as accessing a remote share. ... Joe Richards Microsoft MVP Windows Server Directory Services ...
    (microsoft.public.win2000.active_directory)