In Windows 2003 when i run plink without arguments, it says "unable to open connection: host does not exist"
(And of course when it is run with arguments)
What can be the cause? I am becoming crazy
In Windows 2003 when i run plink without arguments, it says "unable to open connection: host does not exist"
(And of course when it is run with arguments)
What can be the cause? I am becoming crazy
I solved by deleting HKEY_CURRENT_USER\Software\SimonTatham
(by doing plink -v i saw it was connecting to a dummy server... strange - i never used putty/plink on this server, maybe it is a leftover by another program)
If you have a hostname or IP Address defined in the default settings for putty then plink will try and connect to that address and use the default settings. If there is no hostname or IP address defined then plink will use the command line.
To add to the previous comment... I found that using putty to authenticate a session on the machine in question creates the sshHostKeys registrations in the registry and plink can then use that for it's authenticating. This works quite well and a simple statement like:
will automatically get you to a user prompt on the host machine. No fuss! worked for me!