tufanv Expert Licensed User Longtime User Dec 10, 2022 #1 Hello, I see some solutions for b4a to ssh into a remote server and execute commands. Is there any possibility for this via b4i? Thanks, Tufan
Hello, I see some solutions for b4a to ssh into a remote server and execute commands. Is there any possibility for this via b4i? Thanks, Tufan
Erel B4X founder Staff member Licensed User Longtime User Dec 12, 2022 #2 As far as I know there isn't any library for this. Note that it isn't really a best practice to connect with SSH from a mobile app. Create a simple web server on the same server and use it for whatever you need. Upvote 0
As far as I know there isn't any library for this. Note that it isn't really a best practice to connect with SSH from a mobile app. Create a simple web server on the same server and use it for whatever you need.
tufanv Expert Licensed User Longtime User Dec 12, 2022 #3 Erel said: As far as I know there isn't any library for this. Note that it isn't really a best practice to connect with SSH from a mobile app. Create a simple web server on the same server and use it for whatever you need. Click to expand... In fact, I am trying to build a ssh tool on mobile for ios. There are some good tools on the market already, they do it somehow. Thanks Upvote 0
Erel said: As far as I know there isn't any library for this. Note that it isn't really a best practice to connect with SSH from a mobile app. Create a simple web server on the same server and use it for whatever you need. Click to expand... In fact, I am trying to build a ssh tool on mobile for ios. There are some good tools on the market already, they do it somehow. Thanks
tufanv Expert Licensed User Longtime User Dec 12, 2022 #4 would it be possible to use b4j as a middleman here? maybe a webserver to recieve the commands, use b4j ssh library (available on the forum) and give back results with webserver again to user? Erel said: As far as I know there isn't any library for this. Note that it isn't really a best practice to connect with SSH from a mobile app. Create a simple web server on the same server and use it for whatever you need. Click to expand... Upvote 0
would it be possible to use b4j as a middleman here? maybe a webserver to recieve the commands, use b4j ssh library (available on the forum) and give back results with webserver again to user? Erel said: As far as I know there isn't any library for this. Note that it isn't really a best practice to connect with SSH from a mobile app. Create a simple web server on the same server and use it for whatever you need. Click to expand...
Erel B4X founder Staff member Licensed User Longtime User Dec 13, 2022 #5 Yes. Similar to the way jRDC2 works. Upvote 0