After a connection is established with SSH, how we can get the current connection properties ?
Is there a way to know what cipher(s) is being used ? Properties of the authentication ? Protocol version, timeouts and so on.
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community
you can enable verbose more logging for sshd:
sudo nano /etc/ssh/sshd_config
and restart sshd
sudo systemctl restart ssh
view log entry
journalctl -u sshd |tail -100