Home
|
FAQ
|
Feedback
|
Licence
|
Updates
|
Mirrors
|
Keys
|
Links
|
Team
Download:
Stable
·
Snapshot
|
Docs
|
Privacy
|
Changes
|
Wishlist
If both -load
and a hostname are specified on PuTTY's command
line, the hostname from the saved session takes precedence, which it
shouldn't. This is because bare hostnames aren't passed through
cmdline_process_param()
in the same way that (e.g.) bare port
numbers are, so they end up being trampled by
cmdline_process_saved()
.
SGT, 2003-03-22: Well, -load
is now processed
immediately rather than being deferred until
cmdline_process_saved()
. This should eliminate this
sort of bug completely. However, the effect on Plink host names
isn't exactly what I stated above; instead, specifying a
-load
option that mentions a host name actually
prevents Plink from looking for an explicit host name. The
upshot of this is that the command plink -load session
host
will connect to the host specified in the saved session,
and interpret "host
" as the command to run.
It's possible that some people really do have a need to load a saved
session and override only its host name component, but I think this
behaviour is more generally useful. If anyone complains I can always
add an explicit -host
command-line option.