copy ssh key from windows to linux

C++
 scp ~/.ssh/id_rsa.pub [linux_user]@[linux_IP/linux_hostname]:~/.ssh/authorized_keys
Source

Also in C++: