Ssh component lazarus / 5-Lazarus Extra Components ---------------------------------------------------------------------- cov · 2007-12-24 08:24 Does anyone know of the existence of components which would allow communication with a Linux machine under ssh? I want to write a simple frontend which would run on an XP box but which would setup Samba usernames and passwords on a Linux Server. I just want to run a simple 'smbpasswd -a newuser' command on the linux box, probably through ssh so that the Office Administration bureaucrat can simply enable (and remove) users. ---------------------------------------------------------------------- theo · 2007-12-24 10:15 You could try TTelnetSend from the Synapse Library: http://synapse.ararat.cz/ http://synapse.ararat.cz/doc/help/tlntsend.TTelnetSend.html ---------------------------------------------------------------------- cov · 2007-12-24 11:33 Great, thanks. I've also found Indy ---------------------------------------------------------------------- theo · 2007-12-25 11:46 I wouldn't waste my time on Indy. Afair Telnet is easier with Synapse. ---------------------------------------------------------------------- cov · 2007-12-25 19:13 Yes. I used Indy a few years ago for an ftp client app using Delphi 3. All I need for this implementation is a crude SSH front end. ie I want a user to log into my Samba server and create a smbpasswd. I'll see if I can achieve that with Synapse. Indy looks OTT. ---------------------------------------------------------------------- tof34 · 2008-02-01 20:10 Hello Cov Did you manage to create your ssh front end ? I want to do one to connect and check automatically servers status, but i'm new with lazarus. Is it possible for you to send me a sample code ? thanks in advance