I'm a begginer using Solaris so I really need your help. I'm trying to copy a file using scp from a Red Hat Linux 6 server to an Oracle Solaris 11 machine and all i get is an error "" ssh: connection to host <HOST_IP> port 22: Connection refused lost connection.
If you still have problem, then check /etc/ssh/sshd_config
There is PermitRootLogin parameter. It must be "yes" to allow root login via ssh.
After modifying config file you must reload sshd.
Run svcs -xv to get the log file location for the service that's failing. Review the logs and troubleshoot the error. You may also try svcadm -clear <svcname> to clear the error status before you refresh.