[OpenIndiana-discuss] SFTP into zone works, but SSH does not.
DormitionSkete@hotmail.com
dormitionskete at hotmail.com
Tue Jun 18 04:14:40 UTC 2013
I'm having problems using ssh to log into a zone as a user. I can sftp into it, but not ssh. It asks for my password, and then once I enter it, it immediately closes the connection.
I'm using IPFilter's NAT capabilities to port forward.
In my /etc/ipf/ipnat.conf file. I have:
rdr routert3.vnic0 192.168.0.3/16 port 35022 -> 192.168.3.50 port 22
So, I can sftp to 192.168.0.3 port 35022, and get into the zone fine, but I cannot do:
$ ssh myadmin at 192.168.0.3 -p 35022
I cannot even ssh into it from the global zone, using either the forwarded port 192.168.0.3 port 35022, or going directly to the zone's IP Address 192.168.3.50 using port 22.
I have not changed the sshd_conf. It is completely stock. I did try changing GatewayPorts from no to yes, but that did not help, so I changed it back.
Does anyone have any ideas what I need to do to be able to ssh into the zone as a user?
Any help will be *greatly* appreciated.
Peter, hieromonk
More information about the OpenIndiana-discuss
mailing list