server closed connection unexpectedly
mailing@jcn50.com
mailing "at" jcn50.com
Wed Feb 7 19:21:03 2007
*** MY SOLUTION ***
Since the RESTART command-function is not VNC-integrated (and because I
don't want to buy rip-off KVM-over-IP!), I finally found something that
works:
http://www.codeproject.com/csharp/remoteshutdownsubmission.asp
(you will need to create an account on the website to download the ZIP
archive. I will try to send the file via this mailing-list in the next
email, but I doubt it will be dispatched...).
Brief introduction: C# written software, that:
- listens on a user-defined port ;
- uses a user-defined password (will be SHA-1 encrypted) ;
- awaits for REBOOT instructions! (even though the soft is called
RemoteShutdown).
How to use it: from any computer in the world, you can make a telnet on
the distant machine "TELNET ip port", once connected type-in your
password, as you press enter the machine reboots!
Security consideration: even if the password is SHA-1 encrypted on the
remote machine, it could be sniffed from an unsecured network (but who
does that anyway??... a tiny packet in a ocean of data...).
Installation:
- create your config file with makeconfig.exe (from a CMD prompt),
defining your password and listening port ;
- install the service with installutil.exe (from a CMD prompt). This EXE
is already in every computer, on my Win2k it was in:
C:\WINNT\Microsoft.NET\Framework\v2.0.50727 ;
- run the service (from Services control panel).
Definitely a feature that I would like to see in the next releases of
VNC(as an add-on service?). Until then, enjoy this soft.
jcn50.