SSH terminal access but specifying port

Hello,

Can you help me with an extension like [AI2_ANDROID_SSH_CLIENT_EXTENSION] but I also need to specify the port to connect through. Thank you.

AI2_ANDROID_SSH_CLIENT_EXTENSION

Welcome to community. If you change category to marketplace - request then maybe a developer can help you

2 Likes

You will need to compile your own aix with the change of the ā€œ22ā€ on line 283

Session session=jsch.getSession(user, host, 22);

to whatever port you want, or create a Property method to set the port during runtime.

I can do the compilation, but Iā€™m quite busy now, so Iā€™m not sure.

2 Likes

I will try to compile and pass the new extension. Thanks for the support.

2 Likes

Hi,

I attach the aix with the method to set the port. It cost me 2 nights of consultation. =)

es.chente.ClientSSHAI2Ext_2.aix (396.7 KB)

4 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.