--- id: session title: Session sidebar_label: Session --- ## What Show the current user and host name. ## Sample Configuration import Config from '@site/src/components/Config.js'; ## Template ([info][templates]) :::note default template ```template {{ if .SSHSession }}\ueba9 {{ end }}{{ .UserName }}@{{ .HostName }} ``` ::: ### Properties | Name | Type | Description | | ------------- | --------- | -------------------------------- | | `.UserName` | `string` | the current user's name | | `.HostName` | `string` | the current computer's name | | `.SSHSession` | `boolean` | active SSH session or not | | `.Root` | `boolean` | are you a root/admin user or not | [templates]: /docs/configuration/templates