Answers for "copy ssh key from windows to linux"

1

copy ssh key from windows to linux

# 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"
Posted by: Guest on July-12-2021
-1

copy ssh key from windows to linux

scp ~/.ssh/id_rsa.pub [linux_user]@[linux_IP/linux_hostname]:~/.ssh/authorized_keys
Posted by: Guest on November-27-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language