You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by Jamie Johnson <je...@gmail.com> on 2019/03/02 04:05:16 UTC

SshClient usage question

I have an application that uses SshClient and was wondering what the best
usage pattern was.  Is it better to have a single long living SshClient
that is used throughout the application or to open and close the SshClient
as needed?  My particular use case is centered around a recurring task that
essentially polls for information.