>> If I've not take too much of your time already. How do you recommend
that I reject a shell? At the moment, I just threw an Unchecked exception
- it works, but I'm not sure if I should do something else for 'niceness'
sake.
There might be something "nicer" - off the top my head though
Thank you @Lyor, that was so much more simple than the rabbit hole I was
going down earlier - I was extending ProcessShellFactory and trying to
create my own command.
This way was pretty simple, and a not so bad way to reuse your code in the
end. Especially at this stage - I'll see what I can do
Thanks for that.
I've not identified the issue fully, but enough to get it running by
explicitly using admin on a lower port - it has at least allowed me to try
the code out!
I got enough running to know that I need to fiddle with my
CustomShellCommand that implements SessionAware and Command.
>> I've ran into an issue whereby my SSHD cannot bind to any port!
>> Have you by chance ever seen this issue before?
No, does not ring a bell
>> I don't believe for one moment it is the mina-sshd code
Neither do I
>> Hopefully it is something obvious that I'll spot soon.
Perhaps some kind
Thank you ever so much for that. I believe it has pushed me into the right
direction.
I was hoping to tell you that I have succeeded, but unfortunately, I've ran
into an issue whereby my SSHD cannot bind to any port! This is on Windows
10 with 2.2.0 libraries - I'm very familiar with checking
Hello all,
I have a feeling this is a very simple question, but I'm missing
something. Hopefully you can guide me or correct me!
I am embedding the SSHD server and I want to only allow certain users to
request a shell - for other users, I want it to deny the request as if I
hadn't configured a