Keychain and ssh-agent works fine.
This commit is contained in:
parent
3a51ca680d
commit
d34974413a
14
zlogin
14
zlogin
|
@ -93,14 +93,20 @@ fi
|
||||||
|
|
||||||
|
|
||||||
# Launch Keychain for ssh
|
# Launch Keychain for ssh
|
||||||
if [ -f $HOME/.keychain/$HOST-sh ]; then
|
#if [ -f $HOME/.keychain/$HOST-sh ]; then
|
||||||
. $HOME/.keychain/$HOST-sh
|
#. $HOME/.keychain/$HOST-sh
|
||||||
else
|
#else
|
||||||
|
#if [ -f $HOME/.ssh/id_rsa ]; then
|
||||||
|
#keychain --agents ssh id_rsa
|
||||||
|
#. $HOME/.keychain/$HOST-sh
|
||||||
|
#fi
|
||||||
|
#fi
|
||||||
|
|
||||||
if [ -f $HOME/.ssh/id_rsa ]; then
|
if [ -f $HOME/.ssh/id_rsa ]; then
|
||||||
keychain --agents ssh id_rsa
|
keychain --agents ssh id_rsa
|
||||||
. $HOME/.keychain/$HOST-sh
|
. $HOME/.keychain/$HOST-sh
|
||||||
fi
|
fi
|
||||||
fi
|
|
||||||
|
|
||||||
# Launch Keychain for GPG
|
# Launch Keychain for GPG
|
||||||
#[ -f $HOME/.keychain/$HOST-sh-gpg ] && \
|
#[ -f $HOME/.keychain/$HOST-sh-gpg ] && \
|
||||||
|
|
Loading…
Reference in New Issue