EldoS | Feel safer!

Software components for data protection, secure storage and transfer

vbs and ElSimpleSSHClientX

Also by EldoS: BizCrypto
Components for BizTalk® and SQL Server® Integration Services that let you securely store and transfer information in your business automation solutions.
#2346
Posted: 02/21/2007 17:50:43
by sid sanders (Basic support level)
Joined: 02/21/2007
Posts: 10

ive got ElSimpleSSHClientX in vbs and can connect and run a command fine. however i try to capture the output of the command and i get type mismatch errors in ReceiveText. what is the correct way to get return data from the elsimplesshclientx object in vbs?
#2350
Posted: 02/22/2007 01:58:44
by Eugene Mayevski (EldoS Corp.)

I have a feeiling that we will need some functions specifically for VBS, which seems to not understand in/out parameters.


Sincerely yours
Eugene Mayevski
#2353
Posted: 02/22/2007 10:48:39
by sid sanders (Basic support level)
Joined: 02/21/2007
Posts: 10

so there is no way to capture command output using elsimplesshclientx ? can it be done with elsshclient or is it not possible at all?
#2354
Posted: 02/22/2007 10:54:37
by Eugene Mayevski (EldoS Corp.)

Right now this is not possible. But I plan a [bug-fix] release for the weekends and we will add a function which returns a string instead of using in/out parameters.


Sincerely yours
Eugene Mayevski
#2355
Posted: 02/22/2007 13:15:57
by sid sanders (Basic support level)
Joined: 02/21/2007
Posts: 10

ok. i look forward to trying this out.
#2362
Posted: 02/23/2007 07:16:31
by Eugene Mayevski (EldoS Corp.)

I've put the pre-beta build of ActiveX edition to http://www.eldos.com/files/sbb/pr/secbboxax.zip
It includes new method, ReceiveText2, which has no parameters and returns just text.

Please test it and let me know if ReceiveText2 works for you.


Sincerely yours
Eugene Mayevski
#2365
Posted: 02/23/2007 09:13:20
by sid sanders (Basic support level)
Joined: 02/21/2007
Posts: 10

no luck... i cant make a connection to the ssh server under this release to test the method.
#2366
Posted: 02/23/2007 09:39:05
by sid sanders (Basic support level)
Joined: 02/21/2007
Posts: 10

if i roll back to the release before this beta, i can cannect fine. i used msgbox to at least let me now how far it gets. with the beta, things are fine setting the elsimplesshclientx params and then the open seems to hang. the ssh server shows the connection is being attempted, however it gets closed. it then never gets past the open call.
#2367
Posted: 02/23/2007 10:37:50
by Eugene Mayevski (EldoS Corp.)

Very strange - I've done a quick test and both SSH and SFTP work. It would be nice to have a look at your script in order to reproduce the problem.


Sincerely yours
Eugene Mayevski
#2370
Posted: 02/23/2007 11:49:24
by sid sanders (Basic support level)
Joined: 02/21/2007
Posts: 10

minus the license stuff:

Set client = CreateObject("SSHBBoxCli.ElSimpleSSHClientX")
client.Address= host
client.UserName = uname
client.Password = password
client.command = "argh.bat"
client.Open()
client.close()
Set client = Nothing

before the getting the beta installed, this worked fine (i commented out the receivetext/while loop since it wasnt working). after the beta, it hangs on the open call.
Also by EldoS: MsgConnect
Cross-platform protocol-independent communication framework for building peer-to-peer and client-server applications and middleware components.

Reply

Statistics

Topic viewed 7210 times

Number of guests: 2, 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!