Using telnet from the VMware 5.x ESXi shell

Profile image of Mattias Geniar

Mattias Geniar, August 31, 2012

Follow me on Twitter as @mattiasgeniar

The short answer is: you can’t use telnet. But you can use alternatives, obviously.

For instance, to troubleshoot some iSCSI connectivity problems, you would be used to doing something as this.

~ # telnet 3260
-ash: telnet: not found

Instead, you can use netcat to test the connectivity.

~ # nc -z 3260
Connection to 3260 port [tcp/*] succeeded!

If you were to test this on a closed TCP port, the error would look like this.

~ # nc -z 32600
(empty response)

Want to subscribe to the cron.weekly newsletter?

I write a weekly-ish newsletter on Linux, open source & webdevelopment called cron.weekly.

It features the latest news, guides & tutorials and new open source projects. You can sign up via email below.

No spam. Just some good, practical Linux & open source content.