• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

How to login to linux server using sockets

 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,
I want to connect to a unix server using port thru telnet and run a command to get some info. I know the username and password and i can establish a connection in my java program. the problem is i dont when to send the username and password to the output stream or how to perform the usual login operations in the program. usually if going thru a telnet session, the server requests the username, and after the password. how can i automate that in my program. also how can i interpret what the server is sending to my program thru the socket
thanks.
james
 
reply
    Bookmark Topic Watch Topic
  • New Topic