simon-svn: putty: jacob

tartarus-commits at lists.tartarus.org tartarus-commits at lists.tartarus.org
Fri Nov 19 20:57:32 GMT 2004


SVN root:       svn://ixion.tartarus.org/main
Changes by:     jacob
Revision:       4831
Date:           2004-11-19 20:57:32 +0000 (Fri, 19 Nov 2004)

Log message (12 lines):
Remove FLAG_INTERACTIVE test from "login as:" prompt. Kelly John Carney
pointed out that Plink would attempt to use a zero-length username iff
a remote command was specified (because the FLAG_INTERACTIVE test was
erroneously combined with the no-username test).

I don't think this will break non-interactive use; in the cases which
behave differently, Plink would be attempting to use the empty
username, which was almost certainly wrong, whereas now it will give a
prompt (which can be avoided with -batch as usual).

(Although perhaps we should attempt to use a local username as a guess for
the remote username, as PSCP does? I've not done this.)

Modified files:
U   putty/ssh.c

Links:
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/putty/ssh.c?rev=4831&r1=4830&r2=4831



More information about the tartarus-commits mailing list