Hello,
lets say I have openssh container running in kubernetes and I would like to ssh to it creating port forwarding from container to host. I got error Warning: remote port forwarding failed for listen port 4341
. I found out here that I need to change some config, but I don’t see a way to restart sshd
daemon, I tried to run /etc/init.d/sshd restart
, but I got error that open-rc is unknown runner. I also tried to rewrite #!/bin/sh
but it did not work and last thing I tried was reboot
which result in rewriting configuration back to original.
Any help?
Thank you