Hi

I think root user is a role as it is default on OI/Solaris

# grep root /etc/user_attr

As long as root-user is a role login is permitted

Best Regards,
Christian

On 20/11/2024 21:57, hput wrote:
I'm not understanding why I am unable to login remotely to IO vm via
ssh.

Far as I rememeber the only requirements to make that possible are to
add "PermitRootLogin yes" to /etc/ssh/sshd_config and restart the ssh
server.

Am I forgetting something else that is needed?

I've done these things in this order:

add PermitRootLogin yes to authentication section of /ssh/sshd_config

svcadm restart ssh

Note: Also tried svcadm disable ssh
                  svcadm enable -rst ssh

But when tried from remote host I get:

root # ssh -vv  root@oi
OpenSSH_8.9p1 Ubuntu-3ubuntu0.10, OpenSSL 3.0.2 15 Mar 2022
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 21: Applying options for *
debug2: resolving "oi" port 22
debug1: Connecting to oi [192.168.1.220] port 22.
debug1: connect to address 192.168.1.220 port 22: Connection refused
ssh: connect to host oi port 22: Connection refused


However logged in as my user on OI I can run:

ssh root@localhost and it works as expected.

What am I missing?


_______________________________________________
openindiana-discuss mailing list
[email protected]
https://openindiana.org/mailman/listinfo/openindiana-discuss

_______________________________________________
openindiana-discuss mailing list
[email protected]
https://openindiana.org/mailman/listinfo/openindiana-discuss

Reply via email to