User Tools

Site Tools


Sidebar


wiki:freebsd:enable_ssh_on_freenas_jail

This is an old revision of the document!


A PCRE internal error occured. This might be caused by a faulty plugin

====== 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 keyboard combinations required to edit the config files cannot be executed on the web gui console. Make sure root password is set: <code> passwd </code> Update pkg database: <code> pkg update </code> Install nano text editor: <code> pkg install nano </code> Open ssh daemon config file with nano: <code> nano /etc/ssh/sshd_config </code> Yop can <mono>ctrl + shift + w</mono> to find text Un-hash and edit the following values: * PermitRootLogin yes * PasswordAuthentication yes <mono>ctrl + shift + x</mono> to exit nano Press <mono>Y</mono> to save changed Press <mono>Enter</mono> to confirm write Enable the SSH daemon: <code> sysrc sshd_enable=yes </code> Start SSH daemon: <code> service sshd start </code>

wiki/freebsd/enable_ssh_on_freenas_jail.1455485209.txt.gz · Last modified: 2016/02/14 21:26 by matt