User Tools

Site Tools


allowsshintolxc
# Update packages first
apt update && apt install -y openssh-server

# Start and enable SSH on boot
systemctl enable --now ssh

passwd root

# Verify it’s running
systemctl status ssh

mostly, need to permit root: nano /etc/ssh/sshd_config

  change #PermitRootLogin prohibit-password to:
  PermitRootLogin yes
  
  then do:
  systemctl restart ssh
  ssh root@<your_lxc_ip>
allowsshintolxc.txt · Last modified: by jwan

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki