libcli icon indicating copy to clipboard operation
libcli copied to clipboard

Suggestion for SSH

Open mbandu opened this issue 1 year ago • 3 comments

Hi,

Any suggestion for SSH support? Is this outside libcli?

Regards,

Bandu

mbandu avatar May 21 '24 13:05 mbandu

Bandu - libcli doesn't support access via SSH directly, but we have used it internally behind ssh by setting the libcli based application as the default shell for users who are allowed to access it. This is on a Linux platform.

RobSanders avatar May 21 '24 14:05 RobSanders

@RobSanders thank you so much for answer. Is that mean if I can use stdin for my libcli, it will work with SSH. Am I thinking it the right way?

thanks again.

Bandu

mbandu avatar May 21 '24 15:05 mbandu

I think so. May need to be careful of ssh idle detection not being aware of your libcli app taking a long time to process a command and killing the sessions perhaps.

RobSanders avatar May 21 '24 15:05 RobSanders