Re: My Wodssh1 is not working as a telnet client. - WeOnlyDo Discussion board

Re: My Wodssh1 is not working as a telnet client. (General questions)

by Luis Galiano, Tuesday, August 31, 2004, 14:39 (7387 days ago) @ wodSupport

Thank you Kreso,

I finally received a time out error. Unfortunately, the telnet server is in a intranet. Anyway I'll send to you the code. You can uuse a standard telnet address to duplicate it. Thank you for your help. I'm developing using Visual Basic 6.0. The server is a AIX UNIX server.


Regards,

Luis


Private Sub Command1_Click()

wodSSH1.Disconnect
wodSSH1.Protocol = Telnet
wodSSH1.Blocking = True
wodSSH1.HostName = palmito
wodSSH1.Login = arf254
wodSSH1.Password = arf254
wodSSH1.Port = 23
wodSSH1.Timeout = 30
wodSSH1.Command = echo Hello
wodSSH1.Connect
wodSSH1.Receive

End Sub

Private Sub wodSSH1_Connected(ByVal ErrorCode As Integer, ByVal ErrorText As String)

MsgBox conectado

End Sub

Private Sub wodSSH1_CryptoInformation(ByVal Protocol As String, ByVal RemoteName As String, ByVal SCcipher As String, ByVal CScipher As String, ByVal Keys As String, Accept As Boolean)

MsgBox criptografĂ­a

End Sub

Private Sub wodSSH1_Disconnected()

MsgBox desconectado

End Sub

Private Sub wodSSH1_HostFingerprint(ByVal Fingerprint As String, Accept As Boolean)

MsgBox fingerprint

End Sub

Private Sub wodSSH1_PromptReceived()

MsgBox prompt

End Sub

Private Sub wodSSH1_Received(ByVal ByteCount As Integer)

MsgBox recibido

End Sub

Private Sub wodSSH1_StateChange(ByVal OldState As WODSSHLibCtl.StatesEnum)

MsgBox cambio de estado

End Sub

Are any errors returned in Connected or Disconnected event?

Can I try to connect with your code? Can you please send email to techsupport@weonlydo.com so I can try to duplicate your problem exactly, using your code?

Thanks,
Kreso


Complete thread: