0

Currently my application is using telnet to connect to server. The java file is using commands like:-

login()
waitfor("$")
send()

What are the corresponding commands i need to use for SSH connections and what all things i have to do to convert this telnet to SSH? Please help..

Aby
  • 79
  • 1
  • 2
  • 6

1 Answers1

2

Perhaps this SO discussion should be of help?

Community
  • 1
  • 1
Raghuram
  • 51,854
  • 11
  • 110
  • 122