Skip to content

Latest commit

 

History

History
61 lines (44 loc) · 1.14 KB

README.md

File metadata and controls

61 lines (44 loc) · 1.14 KB

Start first setup:

  • Create storage/ directory in root directory
  • Move your debian.iso into it

For initial setup run:

docker-compose -f first-setup.yml up -d

Log in to localhost:8006 via Browser and setup your server using the GUI.

After Installation, run the following command:

docker-compose up -d

Check ssh status by running:

systemctl status sshd

Test Networking Internally

docker exec -it qemu /bin/bash
ssh ikv@20.20.20.21 -p 22

Confirm you're in the right place with (Output should not include trixie)

cat /etc/debian_version

Troubleshooting Docker SSH

docker exec -it qemu /bin/bash
service ssh start && \
ps aux | grep sshd

Review SSH Configuration:

grep -E 'PasswordAuthentication|PermitRootLogin' /etc/ssh/sshd_config

The SSH Configuration should be handled by .src/setup-ssh.sh, which is sourced in the Dockerfile.

sudo nano /etc/ssh/sshd_config

Change Root Password for the QEMU virtual machine inside the Docker container:

# Make sure you're running from `docker exec -it qemu /bin/bash`
passwd root