# SSH session logging

**URL:** <https://dmap-community.ductus.global/t/ssh-session-logging/4207>\
**Category:** NETCONF\
**Created:** [September 22, 2022, 3:29pm UTC](https://dmap-community.ductus.global/t/ssh-session-logging/4207 "2022-09-22T15:29:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![matth](https://avatars.discourse-cdn.com/v4/letter/m/f475e1/32.png) [@matth](https://dmap-community.ductus.global/u/matth)\
**Post date:** [September 22, 2022, 3:29pm UTC](https://dmap-community.ductus.global/t/ssh-session-logging/4207/1 "2022-09-22T15:29:01Z")

</div>

Hello,

Is there a way to enable more verbose SSH session logging that displays the SSH authentication and encryption algorithms were negotiated for the session?

For example, something like the ssh -vvv output.

debug1: SSH2\_MSG\_KEXINIT sent  
debug1: SSH2\_MSG\_KEXINIT received  
debug1: kex: algorithm: curve25519-sha256  
debug1: kex: host key algorithm: ssh-ed25519  
debug1: kex: server-\>client cipher: [chacha20-poly1305@openssh.com](mailto:chacha20-poly1305@openssh.com) MAC: compression: none  
debug1: kex: client-\>server cipher: [chacha20-poly1305@openssh.com](mailto:chacha20-poly1305@openssh.com) MAC: compression: none  
debug1: expecting SSH2\_MSG\_KEX\_ECDH\_REPLY  
debug1: Server host key: ssh-ed25519 SHA256: …

Best Regards,  
Matt

---

<div class="post-metadata">

**Author:** ![cohult](https://yyz2.discourse-cdn.com/flex010/user_avatar/dmap-community.ductus.global/cohult/32/221_2.png) [@cohult](https://dmap-community.ductus.global/u/cohult)\
**Post date:** [September 24, 2022, 5:42am UTC](https://dmap-community.ductus.global/t/ssh-session-logging/4207/2 "2022-09-24T05:42:53Z")

</div>

The built-in SSH daemon does not log that info. You would have to use an external SSH server such as OpenSSH if you want the SSH daemon to log that info.  
Best regards
