ssh-copy-id '-p port -i ~/.ssh/id_rsa.pub user@host'
Warning: Identity file ~/.ssh/id_rsa.pub not accessible: No such file or directory.
Agent admitted failure to sign using the key.
user@host's password:
bad command: umask 077; test -d ~/.ssh || mkdir ~/.ssh ; cat >> ~/.ssh/authorized_keys && (test -x /sbin/restorecon && /sbin/restorecon ~/.ssh ~/.ssh/authorized_keys >/dev/null 2>&1 || true)
file ~/.ssh/id_rsa.pub
/home/fx/.ssh/id_rsa.pub: OpenSSH RSA public key
Хотел скинуть ключи на сервер. ЧЯДНТ?