Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

how to copy ssh keys from windows to linux machine

cat ~/.ssh/keyname.pub | ssh user@host "cat >> ~/.ssh/authorized_keys"
Comment

copy ssh key from windows to linux

# PowerShell Script
# Note: this appends the key to authorized_keys, doesn't overwrite it
type $env:USERPROFILE.sshid_rsa.pub | ssh {IP-ADDRESS-OR-FQDN} "cat >> .ssh/authorized_keys"
Comment

copy ssh key from windows to linux

 scp ~/.ssh/id_rsa.pub [linux_user]@[linux_IP/linux_hostname]:~/.ssh/authorized_keys
Comment

PREVIOUS NEXT
Code Example
Shell :: mkdir -p option 
Shell :: Composer and npm install the theme onto your computer. Install the theme into your local WordPress install. 
Shell :: sed print from match to end of file 
Shell :: git ignore global 
Shell :: how to copy folder in linux 
Shell :: install vercel 
Shell :: docker push to private registry 
Shell :: notepad++ alternative 
Shell :: bash tar list of files from folder 
Shell :: learn typeorm 
Shell :: bash do while one line 
Shell :: untar all files in a directory 
Shell :: git push takes forever 
Shell :: restart bind centos 8 
Shell :: install spotify on ubuntu 
Shell :: ubuntu set vi as default editor 
Shell :: linux find files older than 15 minutes 
Shell :: delete branch gitlab 
Shell :: merge master into feauture branch 
Shell :: manually shut down docker mac 
Shell :: how to switch branches git 
Shell :: debian restart service 
Shell :: bash list 
Shell :: docker proxy ubuntu 
Shell :: github deploy server 
Shell :: add colab to github 
Shell :: cut bash 
Shell :: ansible Permission denied (publickey,password). 
Shell :: github quick reference 
Shell :: start vagrant box 
ADD CONTENT
Topic
Content
Source link
Name
5+8 =