Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Keychain problems

From: Fergus Wilde <fwilde(at)chethams.org.uk>
Date: Thu Jun 26 2003 - 07:25:52 EDT


Hello all,

I'm trying to get D. Robbins' keychain working on a SuSE 8.2 machine, and not managing it.

I'm following Robbins article at:

http://www-106.ibm.com/developerworks/linux/library/l-keyc2/?open&l=252,t=grl,p=ossh2

ssh is correctly set up, the dsa and rsa keys work, and conventional set-up of ssh-agent with ssh-add for the keys leads to successful passwordless logins on the remote machines.

I am starting keychain from .bash_profile using Robbins' script:

#!/bin/bash
#on this next line, we start keychain and point it to the private keys that
#we'd like it to cache

/usr/bin/keychain ~/.ssh/id_rsa ~/.ssh/id_dsa source ~/.ssh-agent > /dev/null
#sourcing ~/.bashrc is a good thing

source ~/.bashrc

And the machine is indeed reading this and acting on it. I am asked for the passphrases ok, and things appear to have worked, an instance of ssh-agent is started, but when an attempt is made to log in to remote machines the passphrase is invariably asked for again. I need to use rsync over ssh as a cron job to do mirroring, so manually entering the phrase is no good - of course that's where keychain comes in.

Do you need help?X

Keychain is supposed to write to the file .ssh-agent, but this file is not created; creating it empty with touch just leaves it sitting their empty, keychain isn't writing to it.

Anyone have any clues? I am not keen on the null passphrase key approach ... Best
Fergus

-- 
Fergus Wilde
Chetham's Library
Long Millgate
Manchester
M3  1SB

Tel: +44 161 834 7961
Fax: +44 161 839 5797
http://www.chethams.org.uk
Received on Thu Jun 26 21:07:12 2003

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:03:00 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library