This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: how to get source ip of a telnet session
Michael,
> When I run tlntadmn /? I get a hung command shell which eventually times
> out;
> only running without args seems to work...
You are right, on Windows 2000 I get an error about needing
administrative priveleges even though I am logged in as Administrator :)
Oh well, if you are going to misinterpret command-line parameters, you
might was well throw errors about priveleges to get people on the wrong
track :)
Is there any reason you are using telnet server instead of sshd under
Cygwin?
It is really easy to setup and you can run remote X apps pretty easily.
First install the openssh package, then from a Cygwin prompt run
'ssh-host-config'. Answer yes to the prompt to register it as a service
and don't forget to either restart or start the service manually after
installation.
You can then edit /etc/sshd_config and set X11Forwarding to yes, as follows:
X11Forwarding yes
Then restart the CYGWIN sshd service again and you are in business. For
info on how to run X apps over ssh, see the User's Guide:
http://xfree86.cygwin.com/docs/ug/using-remote-apps.html#using-remote-apps-ssh
With all of that being said, I am sure you have a really good reason for
not using ssh or requiring telnet, but at least this is documented for
anyone searching on similar info later.
Harold