I got my jail up and running, and according to the extension it is running well, how do I SSH to it? I can SSH into the NAS4Free box with my normal user now (thanks to IRC help), but I cant seem to log into the Jail. Is there a default user to use? Do I need to enable SSH in the jail?
I assume after SSHing into the Jail I can install SABNZB.
Appreciate any help.
Thanks and sorry for the noob question.
This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!
I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!
it will taken offline by the end of march 2021!
I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!
SSH to my new Slim Jail
- raulfg3
- Site Admin

- Posts: 4865
- Joined: 22 Jun 2012 22:13
- Location: Madrid (ESPAÑA)
- Contact:
- Status: Offline
Re: SSH to my new Slim Jail
first you need to know your jail ID using jls, next you can log using jexec number csh, see an example:
notice how change promt from rnas: ~ # to root@serviio:/ #
Code: Select all
Welcome to NAS4Free!
rnas: ~ # jls
JID IP Address Hostname Path
1 192.168.1.201 kissdx.local /mnt/NAS-A/Jail/kissdx
2 192.168.1.202 minidlna.local /mnt/NAS-A/Jail/minidlna
3 192.168.1.204 www.local /mnt/NAS-A/Jail/www
4 192.168.1.205 serviio.local /mnt/NAS-A/Jail/serviio
rnas: ~ # jexec 4 csh
root@serviio:/ #12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)
Wiki
Last changes
HP T510
Wiki
Last changes
HP T510
- alexey123
- Moderator

- Posts: 1469
- Joined: 19 Aug 2012 08:22
- Location: Israel, Karmiel
- Contact:
- Status: Offline
Re: SSH to my new Slim Jail
Hello, Raul
If you add to /etc/rc.conf (or /etc/rc.conf.local ) variable such
you can call your jail with jailname as
EXAMPLE:

If you add to /etc/rc.conf (or /etc/rc.conf.local ) variable such
jail_{jailname}_flags="-n {jailname}"
you can call your jail with jailname as
Code: Select all
jexec serviio shYou do not have the required permissions to view the files attached to this post.
Home12.1.0.4 - Ingva (revision 7091)/ x64-embedded on AMD A8-7600 Radeon R7 A88XM-PLUS/ 16G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600
- alexey123
- Moderator

- Posts: 1469
- Joined: 19 Aug 2012 08:22
- Location: Israel, Karmiel
- Contact:
- Status: Offline
Re: SSH to my new Slim Jail
CaptSammy
If you want enable SSH server into jail you need in first define NAS4Free main ssh server for listen only NAS4Free main IP.
1. Add to Extra options windows value
2. Edit config file file into jail /etc/ssh/sshd_config as you want. You can use as example NAS4free sshd_config file, placed into /var/etc/ssh/ folder.
My jail sshd_config not allow connect as root.
3. connect over SSH console with NAS4Free server, run jail and enter into
4 Add user for jail from wheel group.
5. Add to jail's /etc/rc.conf and run daemon as . If server configured properly, just
6. Connect over SSH with your jail
If you want enable SSH server into jail you need in first define NAS4Free main ssh server for listen only NAS4Free main IP.
1. Add to Extra options windows value
ListenAddress Your_NAS_Main_IP
2. Edit config file file into jail /etc/ssh/sshd_config as you want. You can use as example NAS4free sshd_config file, placed into /var/etc/ssh/ folder.
My jail sshd_config not allow connect as root.
3. connect over SSH console with NAS4Free server, run jail and enter into
Code: Select all
jexec {jailname} csh5. Add to jail's /etc/rc.conf
Code: Select all
sshd_enable="YES"Code: Select all
/etc/rc.d/sshd start6. Connect over SSH with your jail
Home12.1.0.4 - Ingva (revision 7091)/ x64-embedded on AMD A8-7600 Radeon R7 A88XM-PLUS/ 16G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600
