Using SSH control in a webpage - WeOnlyDo Discussion board

Using SSH control in a webpage (wodSSH / wodSSH.NET)

by sah7001, Friday, November 02, 2007, 17:54 (5991 days ago)

I am using a licensed copy of the ssh component in a web page usin the sample code as a base. It works fine from my machine (where the control was installed after we purchased it.)

If I access the web page from another computer, I get the error
Object doesn't support this property or method

The object is defined as
<OBJECT id=wodSSH1 style= LEFT: 0px; TOP: 0px data=data:application/x-oleobject;base64,ZLn1Cb/Im06p27zpMVH+HgADAAAIAAIAAAAAAAMAFwAAAAMAAQAAAAIAeAALAAAACAACAAAAAAAIAAIAAAAAAAgAAgAAAAAAAwAAAAAACAACAAAAAAADAAAAAAAIABQAAAAxADIANwAuADAALgAwAC4AMQAAAAsA//8=
classid=clsid:09F5B964-C8BF-4E9B-A9DB-BCE93151FE1E VIEWASTEXT></OBJECT>

The code is
CReturn = String.fromCharCode(13);

wodSSH1.LicenseKey = '####-####-####-####';
wodSSH1.Hostname = '137.150.248.205';
wodSSH1.Login = 'login';
wodSSH1.Password = 'Password';
wodSSH1.Blocking = true;
wodSSH1.Protocol = 4;
wodSSH1.Connect();
wodSSH1.Send('stuf'+ CReturn );
. . .


Complete thread: