How to log public key of ssh client to ssh server?
We know that in private public key authentication ssh client sends its public to to ssh-server. I would like to know if there is way we can log the public key of the client in ssh log file. Or is there a way to achieve it? Any direction in this would be highly appreciated.
As said above, you can log everything (serialband) + this will produce a lot of log data (skullnobrains).
Maybe ask the question behind your question.
In other words, describe what problem you're trying to solve using logging.