[Gambas-user] SSH

Daniel Oxley oxleyd at ...364...
Thu Feb 19 17:45:54 CET 2004


But no direct action with Gambas?  I know it's a long shot, but I have a
component that works with Windoze, is there any way I could hack Gambas to
get it to work?

-----Original Message-----
From: gambas-user-admin at lists.sourceforge.net
[mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of Rob
Sent: 19 February 2004 15:51
To: gambas-user at lists.sourceforge.net
Subject: Re: [Gambas-user] SSH

On Thursday 19 February 2004 09:32, Daniel Oxley wrote:
> Has anyone ever tried to access a secure server (SSH),
> particularly secure ftp, by code in Gambas?

I've done ssh (with public/private keys set up so there's no 
keyboard authentication) just by going shell "ssh somehost -l 
someuser" for read write as myprocess.  Works great.  I'm sure 
there'll be an openssh component someday but this has been fine 
for what I need now.  And I would bet that you could use the 
sftp client the same way, and it might even work better with 
keyboard authentication.

Some people may think it's clumsy to use client programs over 
pipes rather than writing a component, but the openssh suite 
does that itself to implement things like scp.... it just runs 
scp in the remote shell rather than having file copying support 
in the ssh daemon.

Rob



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Gambas-user mailing list
Gambas-user at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user





More information about the User mailing list