- using
pkgutil
# list all your installed packages
pkgutil --pkgs
# show your package info
pkgutil --pkg-info /etc/ssh/sshd_conf, set UsePrivilegeSeparation to no/etc/ssh/sshd_conf, temporarily enable plaintext passwords/etc/ssh/sshd_conf, change port (e.g. to 23) to avoid confusion with Windows SSH serversudo service ssh restartssh-copy-id user@server/etc/ssh/sshd_conf, re-disable plaintext passwordsTo fix Could not load host key ... error:
sudo ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key