docs: describe deploying with krops in installation tutorial

This commit is contained in:
Jonas Nick
2021-03-10 14:08:42 +01:00
committed by Erik Arvstedt
parent eb6dff5478
commit 7c0b521785
2 changed files with 87 additions and 32 deletions

View File

@@ -174,7 +174,9 @@ Connect to nix-bitcoin node through the SSH onion service
ssh -i ~/.ssh/id_ed25519 -L <random port of your choosing>:localhost:22 root@<SSH onion address>
```
5. Edit your network to change the node's address to `localhost` and the ssh port to `[random port of your choosing]`
5. Edit your deployment tool's configuration and change the node's address to `localhost` and the ssh port to `<random port of your choosing>`.
If you use krops as described in the [installation tutorial](./install.md), set `target = "localhost:<random port of your choosing>";` in `krops/deploy.nix`.
6. After deploying the new configuration, it will connect through the SSH tunnel you established in step iv. This also allows you to do more complex SSH setups that some deployment tools don't support. An example would be authenticating with [Trezor's SSH agent](https://github.com/romanz/trezor-agent), which provides extra security.