rsync 를 ssh 프로토콜을 사용한 데이터 동기화
rsync를 하던중에요.
rsync에서 ssh를 사용하여 자료를 가지고 올수 있도록 설정하려고 합니다.
기본 사용자 인증을 통한 자료 동기화는 잘 되는상태구요
rsync -avz -e ssh xx.xxx.xxx:이름 /백업받을곳 하면 안되네요
/etc/rsyncd.conf 에서 hosts allow에 추가도 해주었구요. 다른 부분은 문제없네요..
sshd-keygen -d로 생성된 키를
scp -p ~/.ssh/id_dsa.pub root@xxx.xxx.xxx.xxx(allow해준곳ip):~/.ssh/authorized_keys2
해서 다운받는쪽으로 키도 보내주었구요,
그런데 문제는 hosts allow해준곳에서 해도 그렇고 로컬에서 해도 그렇고
ssh 전송이 안되니깐 이게 좀 문제군요,
root password:를 넣으라고 해서 넣어주면
receiving file list ... link_stat test : No such file or directory done
client : nothing to do : perhaps you need to specify some filenames or the --recursive option?
rsync error: partial transfer (code 23) at main.c(594)
모 이러면서 안되는데요,
해결하는 그날까지 .. 이젠 키워드를 바꿔서 구글가서 검색해봐야겟네요..
지금 당장 잘 기억은
rysnc 명령을 정확히 어떻게 썼는지 혹시 알수 있을까요?
댓글 달기