---
title: "Solaris 10开启root不能登录SSH服务"
author: "zzxplayful"
date: "2009-02-23T16:07:30Z"
tags: ["SSH", "Solaris"]
slug: "solaris-10-root-ssh"
draft: false
lastmod: "2009-02-23T16:07:30Z"
id: 337367
url: "https://zzxplayful.iteye.com/blog/337367"
---

1. Change the file /etc/ssh/sshd_config with PermitRootLogin yes to replace PermitRootLogin no

2. restart the services

#svcadm restart svc:/network/ssh:default