apache sshd

2020-12-17 Thread ????
Hello, is there an example of ssh server capturing the user's exit by inputting crtl + C? ssh server crtl + c

Re: apache sshd

2020-12-17 Thread Guillaume Nodet
Yes, you can have a look at the the JLine SSH support ( https://github.com/jline/jline3/blob/860c0d64a874ab7e327b0a21cc434a9aaf232149/remote-ssh/src/main/java/org/jline/builtins/ssh/Ssh.java ). What you need is to configure the SSH connection with the correct control char ( https://github.com/jline