Hello, I'm trying to get public key authentication working on a client to server connection so i can drop passwords. I've got the keys in place and confirmed they are working. I'm now trying to set up ssh-agent, I read i can do it manually i was looking for a more automated method for users on login. This is not through a gui. Thanks. Dave.
On Sun, 2009-08-16 at 23:15 -0400, Dave wrote:
Hello, I'm trying to get public key authentication working on a client to server connection so i can drop passwords. I've got the keys in place and confirmed they are working. I'm now trying to set up ssh-agent, I read i can do it manually i was looking for a more automated method for users on login. This is not through a gui.
Check into keychain. Read all three articles in the series.
http://www-106.ibm.com/developerworks/library/l-keyc.html
Thanks. Dave.
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
I'm trying to get public key authentication working on a client to
server connection so i can drop passwords. I've got the keys in place and confirmed they are working. I'm now trying to set up ssh-agent, I read i can do it manually i was looking for a more automated method for users on login. This is not through a gui.
I use this personaly in my .bash_profile:
AGENTRUNNING=`ps x | grep agent | grep -v grep` if [ -z "$AGENTRUNNING" ]; then /usr/bin/ssh-agent -s > $HOME/.ssh/agent-env.sh fi .. $HOME/.ssh/agent-env.sh > /dev/null
And then use ssh-add to add keys...
JD