EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Connect to Linux Server using Visual Basic

Also by EldoS: CallbackDisk
Create virtual disks backed by memory or custom location, expose disk images as disks and more.
#1620
Posted: 11/03/2006 05:39:29
by Paolo Pedrazzoli (Basic support level)
Joined: 11/03/2006
Posts: 1

Goodmorning,

I'm trying to use AxElSimpleSSHClientX1 to execute a command on a Linux Server and get the result from a Windows client using Visual Basic.

I wrote this code:

With AxElSimpleSSHClientX1
.EnableAuthenticationType(TxSSHAuthenticationType.SSH_AUTH_TYPE_PASSWORD)
.Port = 22
.Password = "Pompelm0"
.UserName = "pedrazzolip"
.Address = "10.41.0.76" 'milinuxtest
.Command = "ls -laF"
End With
AxElSimpleSSHClientX1.Open()

but I've the error
109: ERROR_SSH_HOST_KEY_NOT_VERIFIABLE

what's the problem?

thanks.
#1621
Posted: 11/03/2006 05:53:07
by Eugene Mayevski (EldoS Corp.)

Have you implemented OnKeyValidate event handler? It is used to validate the key and tell the client, that the server's key is valid and connection is secure.


Sincerely yours
Eugene Mayevski

Reply

Statistics

Topic viewed 2393 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!