wiki:freebsd:enable_ssh_on_freenas_jail
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
wiki:freebsd:enable_ssh_on_freenas_jail [2016/02/14 16:17] – created matt | wiki:freebsd:enable_ssh_on_freenas_jail [2016/09/13 15:53] – external edit 127.0.0.1 | ||
---|---|---|---|
Line 2: | Line 2: | ||
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 keyboard combinations required to edit the config files cannot be executed on the web gui console. | 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 keyboard combinations required to edit the config files cannot be executed on the web gui console. | ||
+ | |||
+ | Make sure root password is set: | ||
< | < | ||
- | passwd | + | passwd |
- | pkg update (update | + | </ |
- | pkg install nano (install | + | |
- | nano /etc/ | + | Update |
- | < | + | |
- | # | + | < |
- | "PermitRootLogin yes" | + | pkg update |
- | "PasswordAuthentication yes" | + | </ |
- | <ctrl+shift+x> to exit | + | |
- | <Y> then < | + | Install |
- | sysrc sshd_enable=yes | + | |
+ | < | ||
+ | pkg install | ||
+ | </code> | ||
+ | |||
+ | Open ssh daemon config | ||
+ | |||
+ | <code> | ||
+ | nano / | ||
+ | </ | ||
+ | |||
+ | You can '' | ||
+ | |||
+ | Un-hash and edit the following values: | ||
+ | | ||
+ | | ||
+ | |||
+ | '' | ||
+ | |||
+ | Press '' | ||
+ | |||
+ | Press '' | ||
+ | |||
+ | Enable the SSH daemon: | ||
+ | |||
+ | < | ||
+ | sysrc sshd_enable=yes | ||
+ | </ | ||
+ | |||
+ | Start SSH daemon: | ||
+ | < | ||
service sshd start | service sshd start | ||
</ | </ |
wiki/freebsd/enable_ssh_on_freenas_jail.txt · Last modified: 2022/01/04 10:28 by matt