Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Open source Telnet Java API

Tags:

java

telnet

Is there an open source telnet API/library out there for Java (something like Python telnetlib)? I need to connect to a server using telnet and execute some commands from within a Java program.

like image 235
shipmaster Avatar asked Aug 13 '10 21:08

shipmaster


1 Answers

My preference is to use the Apache Commons-Net library. http://commons.apache.org/net/ It supports many client protocols, including Telnet.

I've used this in the past and it works quite well.

like image 180
Paul Kuykendall Avatar answered Oct 02 '22 05:10

Paul Kuykendall