Is it something that has worked in the past and stopped working, or is it something that you'd like to setup for the first time?
Assuming the latter it depends upon which type of zone you have as to what exactly needs to be done to enable SSH. Taking a look at what I believe is still a very vanilla zone of [email protected]: SSHD is installed and enabled, listening on port 22. [root@copycat ~]# svcs ssh STATE STIME FMRI online 3:59:05 svc:/network/ssh:default [root@copycat ~]# netstat -an TCP: IPv4 Local Address Remote Address Swind Send-Q Rwind Recv-Q State -------------------- -------------------- ----- ------ ----- ------ ----------- *.22 *.* 0 0 1048576 0 LISTEN The configuration allows only logins with SSH keys, not passwords [root@copycat ~]# grep PasswordAuthentication /etc/ssh/sshd_config # To disable tunneled clear text passwords, change PasswordAuthentication to no. PasswordAuthentication no So setting up a key for a user should be all that you'd need to do. Of course you could change that to yes (and restart the service) to allow authentication via password. On Fri, Jul 22, 2016 at 8:23 PM, Humberto Ramirez <[email protected]> wrote: > Hi, I'm unable to SSH directly into any of my SmartOS zones, SSH to > the GZ and zlogin both work fine, but I would like to be able to ssh > directly into the zone(s), any suggestions? > > thanks > ------------------------------------------- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00 Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
