Tuesday, June 05, 2012

keychain activation

ref:  http://www.gentoo.org/doc/en/keychain-guide.xml


[FIXED] this is missing instruction
$ exec /usr/bin/ssh-agent $SHELL
$ ssh-add


ref: http://www.cyberciti.biz/faq/ssh-password-less-login-with-dsa-publickey-authentication/

Code Listing 3.6: Enabling keychain in .bash_profile
keychain ~/.ssh/id_dsa
. ~/.keychain/$HOSTNAME-sh
. ~/.keychain/$HOSTNAME-sh-gpg


load keychain before rsync

source $HOME/.keychain/$HOSTNAME-sh
rsync -avrtz root@hostname.com:/path/from /path/destination

problem [solved]

No comments:

Related Posts Plugin for WordPress, Blogger...