ERROR: Permission denied (publickey).
This message appears when the remote ssh server has password authentication disabled.
To fix this, edit
/etc/ssh/sshd_config to enable password authentication:
Restart the SSH service on the remote server after that
Slow SSH connection time
If connecting to a remote server usually takes a long time to complete, then probably the cause is a faulty reverse DNS resolution performed by SSH when connecting.
To disable this option (and make the SSH login much faster, add in the file
/etc/ssh/sshd_config on the remote server the following:
if the remote server is Solaris:
if the remote server is Linux:
Restart the SSH service on the remote server for this modification to take effect