This content has been marked as final. Show 3 replies
you could control 'system wide' which file is used for authorized_keys verification adding a simple parameter to your sshd configuration (/etc/ssh/sshd_config):
of course, more details are available in 'man sshd_config'
Thank you very much for this information. Now let me get to practice.
You're welcome and enjoy your 'practice' ;-)
however, I forgot to mention that if you modify the /etc/ssh/sshd_config file, you should restart the sshd daemon.
$0.01: Restart the SSH daemon FROM ANOTHER SHELL to keep an active/running shell on the system, to recover, just in case.
$0.02: I suggest a two-steps approach to be sure that the sshd daemon is correctly restarted and the new ssh session is not picking up a thread that hasn't properly re-read the configuration
# svcadm disable ssh; sleep 5; svcadm enable ssh