I seem to always get stuck with SSH tunneling. So, I started from scratch just trying to get this working first before MythTv or any other installs
FreeNAS-9.3-STABLE-201412090314
Code:
Create Jail called MythTvJail 192.168.1.3
pkg install sshd
service sshd start #So it creates a /etc/rc.conf file
echo 'sshd_enable="YES"' >> /etc/rc.conf
echo 'ListenAddress 192.168.1.3' >> /etc/ssh/sshd_config
echo 'PermitRootLogin yes' >> /etc/ssh/sshd_config
echo 'PasswordAuthentication yes' >> /etc/ssh/sshd_config
echo 'X11Forwarding yes' >> /etc/ssh/sshd_config
echo 'X11UseLocalhost no' >> /etc/ssh/sshd_config
echo 'Port 22' >> /etc/ssh/sshd_config
/usr/bin/ssh-keygen -A #So it generates missing keys
service sshd restart #Service Starts
with ee /etc/rc.conf #verified changes are there
with ee /etc/ssh/sshd_config #verified changes are there
Xming running in background - Windows 7 Enterprise
Putty Configuration:
Session Host Name 192.168.1.3 & Port 22
Connection/SSH Check enable compression
Connection/SSH/X11 Check Enable X11 forwarding & x display location localhost:0 & Protocol MIT-Magic-Cookie-1
Press Open
login as root
Using keyboard-interactive authentication.
Password for root@MythTvJail: #enter my root password
Access denied
Am I missing something? Why can't I login as root?
Also, I notice that if I follow the detailed instructions
http://mysticpete.blogspot.com.au/2014/03/create-media-server-hosting-freenas.html
Note: I ran pkg update & pkg upgrade to get lame to install. When you run
pkg install mysql55-server it removes stuff you just installed earlier. One example is the
/usr/local/share/mythtv/database/mc.sql
If you rerun
pkg install mythtv, the mc.sql is back, then rerun the pkg install mysql55-server and poof it is gone again. :)
Installed packages to be REMOVED:
mythtv-0.27.0.20140121_6
qt4-mysql-plugin-4.8.6
py27-MySQLdb-1.2.3_4
p5-DBD-mysql-4.031
mysql56-client-5.6.23
New packages to be INSTALLED:
mysql55-client: 5.5.42
mysql55-server: 5.5.42
The Probable Fix - Because the bundled client was mysql56, I tired
pkg install mysql56-server and that worked without removing items...
Now I'm stuck on
root@MythTvJail:/ # mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root mysql
ERROR 1406 (22001) at line 32211: Data too long for column 'Abbreviation' at row 1
Warning: Unable to load '/usr/share/zoneinfo/zone.tab' as time zone. Skipping it.
root@MythTvJail:/ #
I'm off to bed, tomorrow is another day! Thanks in advance on any help...