Скопируйте SSH Key Mac
cat ~/.ssh/id_rsa.pub | pbcopy
Dizzy Dove
cat ~/.ssh/id_rsa.pub | pbcopy
clip < ~/.ssh/id_rsa.pub
cat ~/.ssh/id_rsa.pub
# PowerShell Script
# Note: this appends the key to authorized_keys, doesn't overwrite it
type $env:USERPROFILE\.ssh\id_rsa.pub | ssh {IP-ADDRESS-OR-FQDN} "cat >> .ssh/authorized_keys"
scp ~/.ssh/id_rsa.pub [linux_user]@[linux_IP/linux_hostname]:~/.ssh/authorized_keys