TGPuttyLib icon indicating copy to clipboard operation
TGPuttyLib copied to clipboard

Question: Can ssh-shell commands be executed?

Open pult opened this issue 4 years ago • 5 comments

Can ssh-shell commands be executed?

Like libssh2 (https://www.libssh2.org/examples/ssh2_exec.html) + libssh2_channel_write libssh2_channel_read

pult avatar Nov 08 '20 21:11 pult

Hello, currently this feature is not available. I plan to add it in a future version.

superflexible avatar Nov 08 '20 22:11 superflexible

Is there any forecast for Android?

rubenjesuslpez avatar Apr 28 '21 11:04 rubenjesuslpez

Android development with Delphi? Hmm. I'm not a mobile developer, but I'm sure it can be done?

superflexible avatar Apr 28 '21 12:04 superflexible

Thanks for your answer

Yes, we develop in Delphi 10.4.2, for android.

Any clue how to do it?

We have seen that your component is not compatible with Android

De: Tobias Giesen @.> Enviado el: miércoles, 28 de abril de 2021 14:01 Para: superflexible/TGPuttyLib @.> CC: rubenjesuslpez @.>; Comment @.> Asunto: Re: [superflexible/TGPuttyLib] Question: Can ssh-shell commands be executed? (#17)

Android development with Delphi? Hmm. I'm not a mobile developer, but I'm sure it can be done?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/superflexible/TGPuttyLib/issues/17#issuecomment-828396323 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ADEXWTCPOKT3Q7GLML2L7KDTK72GNANCNFSM4TOSMWWQ . https://github.com/notifications/beacon/ADEXWTAP3NEBX5FSEISM4J3TK72GNA5CNFSM4TOSMWW2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGFQFGIY.gif

rubenjesuslpez avatar Apr 28 '21 16:04 rubenjesuslpez

Hello, well, first you need to find out how to cross-compile the libtgputty.so library. Might be easier under Linux than Windows. I don't know. That's C cross-compiling for Android. You can Google that topic.

Concerning the Delphi part, you probably need to add some IFDEFs. And most importantly, use only TTGPuttySFTP class in tgputtysftp.pas and NOT the component. See the new DELPHI RECOMMENDATION at the end of README.md.

superflexible avatar Apr 28 '21 17:04 superflexible