Problem: When I try to establish an SSH connection with key, there are always have prompts for a password. And I don’t want to type the password on my personal PC again.
You can search how to save the password for key via ssh-agent
Solution: below the solution for macOS only. Enter below command:
ssh-add -K ~/.ssh/[your-private-key]
Then enter the password for the key file, so you won’t be asked for the password again.