*
The moose likes Java in General and the fly likes I wanted to login ( using Telnet ) to a Linux server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "I wanted to login ( using Telnet ) to a Linux server" Watch "I wanted to login ( using Telnet ) to a Linux server" New topic
Author

I wanted to login ( using Telnet ) to a Linux server

sharjeel afzal
Greenhorn

Joined: Sep 30, 2009
Posts: 22
Hi,

I wanted to write a Java Program which will login ( using Telnet ) to a
Unix Server ( Ex: Solaris, Red Hat Linux) and issue some commands in
the Solaris.

The Java Program should be written in Windows machine.
If the java program is executed, then commands like ps -ef should be
executed in the unix server.
Wouter Oet
Saloon Keeper

Joined: Oct 25, 2008
Posts: 2700

Okay good luck with that


"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
Lester Burnham
Rancher

Joined: Oct 14, 2008
Posts: 1337
commons.apache.org/net has a Telnet client. Telnet is rapidly becoming less popular in favor of more secure access methods like SSH, though.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: I wanted to login ( using Telnet ) to a Linux server