qi@slive1:~$ ssh localhost
sign_and_send_pubkey: signing failed: agent refused operation
qi@localhost's password:
Permission denied, please try again.
qi@localhost's password:
Permission denied, please try again.
qi@localhost's password:
qi@slive1:~$ ssh localhost
sign_and_send_pubkey: signing failed: agent refused operation
qi@localhost's password:
Permission denied, please try again.
qi@localhost's password:
Permission denied, please try again.
qi@localhost's password:
qi@slive1:~$ chmod 700 ~/.ssh
qi@slive1:~$ chmod 600 ~/.ssh/authorized_keys
qi@slive1:~$ ssh localhost
sign_and_send_pubkey: signing failed: agent refused operation
qi@localhost's password:
Permission denied, please try again.
qi@localhost's password:
Permission denied, please try again.
qi@localhost's password:
qi@slive1:~$ ssh localhost
sign_and_send_pubkey: signing failed: agent refused operation
qi@localhost's password:
Permission denied, please try again.
qi@localhost's password:
Permission denied, please try again.
qi@localhost's password:
Permission denied (publickey,password).
qi@slive1:~$ ssh-copy-id glowd@remote ip
/usr/bin/ssh-copy-id: ERROR: Too many arguments. Expecting a target hostname, got: 'glowd@remote' 'ip'
Usage: /usr/bin/ssh-copy-id [-h|-?|-f|-n] [-i [identity_file]] [-p port] [[-o <ssh -o options>] ...] [user@]hostname
-f: force mode -- copy keys without trying to check if they are already installed
-n: dry run -- no keys are actually copied
-h|-?: print this help
qi@localhost's password:
Permission denied, please try again.
qi@localhost's password:
Permission denied, please try again.
qi@localhost's password:
Identity added: /home/qi/.ssh/id_rsa (/home/qi/.ssh/id_rsa)
qi@slive1:~$ ssh localhost
Welcome to Ubuntu 16.04.4 LTS (GNU/Linux 4.13.0-36-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
135 个可升级软件包。
45 个安全更新。
Last login: Tue May 1 14:10:46 2018 from 127.0.0.1
qi@slive1:~$
sign_and_send_pubkey: signing failed: agent refused operation
qi@localhost's password:
Permission denied, please try again.
qi@localhost's password:
Permission denied, please try again.
qi@localhost's password:
Permission denied (publickey,password).
qi@slive1:~$ ssh localhost
sign_and_send_pubkey: signing failed: agent refused operation
qi@localhost's password:
Permission denied, please try again.
qi@localhost's password:
Permission denied, please try again.
qi@localhost's password:
Permission denied (publickey,password).
qi@slive1:~$ chmod 700 ~/.ssh
qi@slive1:~$ chmod 600 ~/.ssh/authorized_keys
qi@slive1:~$ ssh localhost
sign_and_send_pubkey: signing failed: agent refused operation
qi@localhost's password:
Permission denied, please try again.
qi@localhost's password:
Permission denied, please try again.
qi@localhost's password:
Permission denied (publickey,password).
qi@slive1:~$ ssh localhost
sign_and_send_pubkey: signing failed: agent refused operation
qi@localhost's password:
Permission denied, please try again.
qi@localhost's password:
Permission denied, please try again.
qi@localhost's password:
Permission denied (publickey,password).
qi@slive1:~$ ssh-copy-id glowd@remote ip
/usr/bin/ssh-copy-id: ERROR: Too many arguments. Expecting a target hostname, got: 'glowd@remote' 'ip'
Usage: /usr/bin/ssh-copy-id [-h|-?|-f|-n] [-i [identity_file]] [-p port] [[-o <ssh -o options>] ...] [user@]hostname
-f: force mode -- copy keys without trying to check if they are already installed
-n: dry run -- no keys are actually copied
-h|-?: print this help
qi@slive1:~$ ssh localhost
sign_and_send_pubkey: signing failed: agent refused operationqi@localhost's password:
Permission denied, please try again.
qi@localhost's password:
Permission denied, please try again.
qi@localhost's password:
Permission denied (publickey,password).
Identity added: /home/qi/.ssh/id_rsa (/home/qi/.ssh/id_rsa)
qi@slive1:~$ ssh localhost
Welcome to Ubuntu 16.04.4 LTS (GNU/Linux 4.13.0-36-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
135 个可升级软件包。
45 个安全更新。
Last login: Tue May 1 14:10:46 2018 from 127.0.0.1
qi@slive1:~$