LINUX.ORG.RU
ФорумAdmin

ssh-copy-id: bad command

 


0

1
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

Хотел скинуть ключи на сервер. ЧЯДНТ?

★★★★★

~ не раскрылась?

x0r ★★★★★ ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.