# How to get RDP and ssh connections from a Host

**URL:** <https://community.dynatrace.com/t/how-to-get-rdp-and-ssh-connections-from-a-host/22219>\
**Category:** Open Q&A\
**Tags:** hosts-classic\
**Created:** [October 8, 2019, 8:48am UTC](https://community.dynatrace.com/t/how-to-get-rdp-and-ssh-connections-from-a-host/22219 "2019-10-08T08:48:51Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [October 11, 2019, 9:23pm UTC](https://community.dynatrace.com/t/how-to-get-rdp-and-ssh-connections-from-a-host/22219/4 "2019-10-11T21:23:56Z")

</div>

[@Alberto D.](https://answers.dynatrace.com/users/4156/view.html) Dynatrace does not collect this out of the box. See my sample host plugin for collecting this metric [here](https://github.com/juliusloman/dynatrace-oneagent-plugin-hostsessioncount). It users quser on Windows and who command on Linux for determining the number of active sessions.

---

_[View the full topic](https://community.dynatrace.com/t/how-to-get-rdp-and-ssh-connections-from-a-host/22219)._
