• Post Reply Bookmark Topic Watch Topic
  • New Topic

Java Telnet Client

 
James Ward
Ranch Hand
Posts: 263
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anyone knows of Java Telnet Client code ?
Something that i can use freely... just want to telnet to a machine from my java program, execute a bunch of commands, get the results that's all.
 
Michael Morris
Ranch Hand
Posts: 3451
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Telnet is text based, so all that is involved is connecting to the correct port (usually 23) on the host machine, and opening an InputStream and OutputStream on the Socket for communication.
 
James Ward
Ranch Hand
Posts: 263
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
jta is from javassh.org, as i mentioned this has a gpl license...
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!