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:
Generate SSH Key (if you haven't already):
1
ssh-keygen
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.
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:
Make sure to replace YOUR_COPIED_PUBLIC_KEY with the
actual key you copied to the clipboard.
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
You can use conditional formatting in Excel to change the background
color of cells based on a condition. Here's how you can do it to change
the background color to red if the unit value in a cell is greater than
0.04:
Select the cell or range of cells where you want to apply the
conditional formatting.
Go to the "Home" tab in the Excel ribbon.
In the "Styles" group, click on "Conditional
Formatting."
Choose "New Rule" from the dropdown menu.
In the "New Formatting Rule" dialog box, select "Use a formula to
determine which cells to format."
In the "Format values where this formula is true" field, enter
the following formula:
1
=A1>0.04
Note: Replace "A1" with the reference to the cell you want to apply
this rule to. If you are formatting a range of cells, adjust the formula
accordingly.
Click the "Format" button to set the formatting for cells that
meet the condition.
In the "Format Cells" dialog box, go to the "Fill" tab.
Choose the red color you want for the background from the color
palette.
Click "OK" to confirm the formatting.
Back in the "New Formatting Rule" dialog box, you will see a
preview of how the formatting will look. Make sure it's what you
want.
Click "OK" to apply the conditional formatting rule.
The selected cells will now have a red background if the unit value
is greater than 0.04. You can adjust the formula and formatting settings
as needed for your specific Excel sheet.