setup: how to access lxc over ssh
This commit is contained in:
19
setup/ssh_to_lxc.md
Normal file
19
setup/ssh_to_lxc.md
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
---
|
||||||
|
volume: Decentrala
|
||||||
|
section: 6
|
||||||
|
title: Access Linux Containers in Moxx over `ssh`
|
||||||
|
author: Malin
|
||||||
|
source: dmz.rs
|
||||||
|
---
|
||||||
|
|
||||||
|
- Access the Kralizec network.
|
||||||
|
- `ssh` into Moxx.
|
||||||
|
- Use `pct` to find and access containers.
|
||||||
|
|
||||||
|
```sh
|
||||||
|
pct list | grep -v stopped
|
||||||
|
pct enter 112
|
||||||
|
```
|
||||||
|
|
||||||
|
- Don't tell people to type 'pct enter', or they will type `pct`, and hit the enter key I TOLD YOU ALL THE KEY SHOULD BE CALLED RETURN.
|
||||||
|
- Now you're in the container.
|
Reference in New Issue
Block a user