Malin Freeborn
ba8026e0c3
input examples are now given as ```bash input $ARG1 ``` While outputs use md's '> ' sign as a quote.
14 lines
271 B
Markdown
14 lines
271 B
Markdown
---
|
|
title: "tor"
|
|
tags: [ "Documentation", "Networking" ]
|
|
---
|
|
|
|
# Get a hostname
|
|
|
|
```bash
|
|
sudo vim /etc/tor/torrc
|
|
```
|
|
|
|
Uncomment the lines about `/var/lib/tor/hidden_services`, including port 22 (or whatever); restart tor, then go to that directory, and cat the hostname.
|
|
|