출처 : https://kldp.org/node/84757 A 서버에서 파일을 B서버로 전송하기 또는 전송받기 위해 sftp 자동 로그인이 필요하다.shell script 를 이용해 배치 프로세스로 생성할 계획이다. 1. A 서버 user1 로그인 2. A 서버 유저 홈에서 (/home/user1) ssh-keygen 명령 실행ssh-keygen -t rsaGenerating public/private rsa key pair.Enter file in which to save the key (/home/user1/.ssh/id_rsa): Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification ha..