SSH to LCX Container Proxmox

From Dboswiki
Revision as of 06:29, 20 September 2023 by Smpdbos (talk | contribs) (Created page with "Option #1: Attach to the container through Proxmox host lxc-attach --name 101 Option #2: Allow login with password on the specific container lxc-attach --name 101 nano /e...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Option #1: Attach to the container through Proxmox host

 lxc-attach --name 101

Option #2: Allow login with password on the specific container

lxc-attach --name 101
nano /etc/ssh/sshd_config
and change the line PermitRootLogin without-password to PermitRootLogin yes
jangan lupa hilangkan tanda #
service ssh restart