Hello Wolfram,
Thanks for the code. Although I wasn't looking for this but I tried
your code and it worked. Good to know how easy it is to get SSH
working with Synapse.
I am not very familiar with the presentation protocol - I wonder what
else does it take to use this to implement something like Putty? To display
command line output seems easy enough but some applications have this
text mode graphics interface (not sure what it's called.) It would
be interesting to have a Delphi version of Putty so that it's easier
to add features.
Jack
> It should work out of the box, provided you get
> cl32.dll and
> cryptlib.pas, version 3.3.2
> downloaded from Peter Gutmann's homepage and copied to appropriate
> directories (or an alternative crypto library, see Ararat homepage).
> Then try
> ...
> uses
> tlntsend,
> ssl_crytlib;
> ...
> c := TTelnetSend.Create;
> c.TargetHost := // your hostname or ip as string
> c.TargetPort := '22';
> c.Username := // your username as string
> c.Password := // your password as string
> if c.SSHLogin then
> writeln('you got it!')
> else
> writeln('Welcome to the club. I was not able to get it work, trying
> user [EMAIL PROTECTED] No errors, but no connection as well. While
> I have no problems using OpenSSH or PuTTY, same destination, same user.');
> Good luck
> Wolfram
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public