Written by James McDonald

July 14, 2008

For some weird reason when attempting to run the Windows version of telnet under Cygwin it returns to a prompt without connecting.

So you need to install the Cygwin Package that contains a telnet client which is: inetutils

Run the cygwin setup.exe and choose inetutils.

Installing inetutils gives you the following utilities:

ftp.exe
iu-config
rcp.exe
rlogin.exe
rsh.exe
syslogd-config
talk.exe
telnet.exe
tftp.exe
ftpd.exe
inetd.exe
rexecd.exe
rlogind.exe
rshd.exe
syslogd.exe
talkd.exe
telnetd.exe
tftpd.exe
uucpd.exe

I used cygcheck.exe to list the above:

cygcheck.exe -l inetutils | grep bin | cut -d/ -f4

Note: If you haven’t restarted your cygwin terminals and you are running bash you will need to run hash -r to get your terminal to forget about the windows telnet.exe and use cygwins version.

5 Comments

  1. Ondrej Medek

    Thanks, I was also looking for the telnet in cygwin and could not find the package where it is.

    Reply
  2. Andrés

    Thanks! I looked and looked for a tftp client for Cygwin and was going insane. This saved me a lot of time 🙂

    Reply
  3. sooraj

    I installed inetutils, but when I run “telnet”, I get following error.

    /usr/bin/telnet/exe: error while loading shared libraries: cygncursesw-10.dll: cannot open shared object file: No such file or directory

    ideas?

    Reply
    • anchor

      i have installed libncurses10 ,but the error is still

      Reply

Submit a Comment

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

The reCAPTCHA verification period has expired. Please reload the page.

You May Also Like…

Squarespace Image Export

To gain continued access to your Squarespace website images after cancelling your subscription you have several...

MySQL 8.x GRANT ALL STATEMENT

-- CREATE CREATE USER 'tgnrestoreuser'@'localhost' IDENTIFIED BY 'AppleSauceLoveBird2024'; GRANT ALL PRIVILEGES ON...

Exetel Opt-Out of CGNAT

If your port forwards and inbound and/or outbound site-to-site VPN's have failed when switching to Exetel due to their...