I got the jail set up on Saturday, 13 July 2024, all well and good. I got the SSL certificate for HTTPS, and well, everything was fine until I wanted easy access to the jail by ssh.
So, I entered the jail---iocage console nextcloud---and proceeded to add enable_sshd="YES" to /etc/rc.conf, but I made a fatal mistake. Oh, I am an idiot. I just slipped by typing only one > instead of two >.
I wrote
echo 'sshd_enable="YES"' > /etc/rc.conf
instead of
echo 'sshd_enable="YES"' >> /etc/rc.conf
Would anyone be so kind to let me know what is in a "vanilla" rc.conf file for this Nextcloud jail or what's in your rc.conf file?
Else, could I run the ./nextcloud-jail.sh script again onto of an existing jail, or would that approach not work to rebuild the hobbled /etc/rc.conf file that I do have now?
I got the jail set up on Saturday, 13 July 2024, all well and good. I got the SSL certificate for HTTPS, and well, everything was fine until I wanted easy access to the jail by ssh.
So, I entered the jail---iocage console nextcloud---and proceeded to add enable_sshd="YES" to /etc/rc.conf, but I made a fatal mistake. Oh, I am an idiot. I just slipped by typing only one
>
instead of two>.
I wrote
echo 'sshd_enable="YES"' > /etc/rc.conf
instead ofecho 'sshd_enable="YES"' >> /etc/rc.conf
Would anyone be so kind to let me know what is in a "vanilla" rc.conf file for this Nextcloud jail or what's in your rc.conf file?
Else, could I run the ./nextcloud-jail.sh script again onto of an existing jail, or would that approach not work to rebuild the hobbled /etc/rc.conf file that I do have now?