The error message you provided is in Chinese, and it translates to:

1
ssh-copy-id: Cannot recognize "ssh-copy-id" as the name of a cmdlet, function, script file, or executable program. Please check the spelling of the name, and if it includes a path, make sure the path is correct, and try again.

This error indicates that the ssh-copy-id command is not recognized in your current environment, which is likely a Windows Command Prompt or PowerShell.

If you're trying to copy your SSH key to a remote server on Windows, ssh-copy-id might not be available by default. However, you can achieve the same result with a few manual steps:

  1. Generate SSH Key (if you haven't already):

    1
    ssh-keygen

  2. Display and Copy Your Public Key:

    1
    type $env:USERPROFILE\.ssh\id_rsa.pub | clip

    This command will copy your public key to the clipboard.

  3. Manually Add the Key to the Remote Server: SSH into your remote server:

    1
    ssh username@remote_server_address

    Once logged in, append the copied key to the ~/.ssh/authorized_keys file:

    1
    echo "YOUR_COPIED_PUBLIC_KEY" >> ~/.ssh/authorized_keys

    Make sure to replace YOUR_COPIED_PUBLIC_KEY with the actual key you copied to the clipboard.

  4. Set Proper Permissions (if needed): On the remote server, ensure that the ~/.ssh directory and ~/.ssh/authorized_keys file have the correct permissions:

    1
    2
    chmod 700 ~/.ssh
    chmod 600 ~/.ssh/authorized_keys

After these steps, you should be able to SSH into the remote server without entering a password.

how to shutdown ssh connetion with the Linux server

simply type

1
exit

passphrase