Using scp without password login

$ ssh-keygen -t dsa
Generating public/private dsa key pair.
Enter file in which to save the key (/home/udanax/.ssh/id_dsa):
Created directory '/home/udanax/.ssh'.
Enter passphrase (empty for no passphrase): 
Enter same passphrase again: 
Your identification has been saved in /home/udanax/.ssh/id_dsa.
Your public key has been saved in /home/udanax/.ssh/
The key fingerprint is: blah~ blah~
$ _

and, then

$ cat ~/.ssh/ | ssh id@host "cat >> .ssh/authorized_keys"
password: enter the password


Popular posts from this blog

일본만화 추천 100선

공유 모빌리티 회사로 합류

딥 러닝의 블랙 박스 열어보기

How adapter works? 레디스 어댑터 동작원리