wiki:freebsd:enable_ssh_on_freenas_jail
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| wiki:freebsd:enable_ssh_on_freenas_jail [2016/02/14 16:38] – matt | wiki:freebsd:enable_ssh_on_freenas_jail [2022/01/04 10:28] (current) – matt | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Enable SSH on FreeNAS Jail ====== | ====== Enable SSH on FreeNAS Jail ====== | ||
| - | These instructions will work on any FreeBSD install, but you don't necessarily need nano to accomplish it. On a jail on FreeNAS you need nano because | + | The proper way to SSH into a TrueNAS |
| - | Make sure root password is set: | + | First you need the ID number of the jail. You can get this from the GUI or by running... |
| - | + | jls | |
| - | < | + | |
| - | passwd | + | Then run the following (replacing ## with the jail ID) to begin talking |
| - | </ | + | |
| - | + | ||
| - | Update pkg database: | + | Send '' |
| - | + | ||
| - | < | + | |
| - | pkg update | + | |
| - | </ | + | |
| - | + | ||
| - | Install nano text editor: | + | |
| - | + | ||
| - | < | + | |
| - | pkg install nano | + | |
| - | </ | + | |
| - | + | ||
| - | Open ssh daemon config file with nano: | + | |
| - | + | ||
| - | < | + | |
| - | nano / | + | |
| - | </ | + | |
| - | + | ||
| - | You can '' | + | |
| - | + | ||
| - | Un-hash and edit the following values: | + | |
| - | | + | |
| - | | + | |
| - | + | ||
| - | '' | + | |
| - | + | ||
| - | Press '' | + | |
| - | + | ||
| - | Press '' | + | |
| - | + | ||
| - | Enable | + | |
| - | + | ||
| - | < | + | |
| - | sysrc sshd_enable=yes | + | |
| - | </ | + | |
| - | + | ||
| - | Start SSH daemon: | + | |
| - | < | + | |
| - | service sshd start | + | |
| - | </ | + | |
wiki/freebsd/enable_ssh_on_freenas_jail.1455485937.txt.gz · Last modified: (external edit)