jail ssh login address port 22: Connection refused

Status
Not open for further replies.

sharky

Dabbler
Joined
Dec 6, 2015
Messages
23
Hey,

I'm not able to get ssh working with 9.10 .

It is a brand new jail nothing change except.

sshd_enable="YES" in the /etc/rc.conf

The problem seems to be that ssh deamon does not create a socket in listening mode on port 22.

Active Internet connections (including servers)
Proto Recv-Q Send-Q Local Address Foreign Address (state)
tcp6 0 0 localhost.ssh *.* LISTEN
udp4 0 0 *.syslog *.*
udp6 0 0 *.syslog *.*
icm6 0 0 *.* *.*

From this output ssh for v6 is active , but also not working...

My host system looks like this which I think it correct.

freenas% netstat -a | grep ssh
tcp4 0 0 freenas.ssh Sharkys-MBP.53820 ESTABLISHED
tcp4 0 0 *.ssh *.* LISTEN
tcp6 0 0 *.ssh *.* LISTEN
 
D

dlavigne

Guest
What does sockstat -4 say within the jail after starting SSH?
 

DrKK

FreeNAS Generalissimo
Joined
Oct 15, 2013
Messages
3,630
Also. Did the user start the service?
Code:
service sshd start
or
Code:
service sshd restart
?
 
Status
Not open for further replies.
Top