Quantcast
Channel: sshnet Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1729

New Post: Channel sessions not cleaning up (Avoiding Memory Leaks)

$
0
0
XDotNet wrote:
Exactly my issue, I don't use millions of commands...but when I get to 10 channels...timeout....I'm happy to see another kindred spirit, I have come to the same conclusion (disconnect/reconnect sshClient). but my problem...I have to use an RSA key :-( I am working on corporate policy to get an alternate login situation.....anyway.

If you don't mind, I would appreciate seeing code on how you Re-Connect every minute or so. If I can solve my RSA key issue, i'll still need a way to clear/dispose the channels that stay open. It sounds like your method is good. Thank you!
This is not an issue with this lib. 10 channels is the default maximum of the ssh-daemon.
See MaxSessions 10 in your sshd-config

Viewing all articles
Browse latest Browse all 1729

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>