Skip to content

WSHAPER/qemu-docker-ssh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published