0

to evaluate how many ssh tunnels does centos 8 support, I write an app on windows that initiates ssh reverse tunnel to centos 8 through a loop

var session = ssh("centos", "user1", "password1");

for (int i = 60001; i <= 61000; i++) {
    session.start_remote_tunnel(i, "127.0.0.1", 50000);
}

after opening 505 tunnels the loop throws an exception (remote tunnel failed to start).

no error in the sshd log; UsePAM=yes; selinux is in permissive mode.

geek11
  • 3
  • 3

0 Answers0