Dear people,
I was wondering if I was doing anything obviously wrong here. I was
trying to follow correct procedure as I understood it.
I was trying to use key-based authentication with ssh to connect to
the host sunny.isis.unc.edu, on which I have the account faheem. In my
.ssh directory on sunny I placed my public key, calling it
authorized_keys as is required by ssh. However, the debugging output
from ssh at my end says:
faheem ~>ssh -v sunny.isis.unc.edu
SSH Version OpenSSH_2.2.0p1, protocol versions 1.5/2.0.
Compiled with SSL (0x0090581f).
debug: Reading configuration data /home/faheem/.ssh/config
debug: Reading configuration data /etc/ssh/ssh_config
debug: Seeding random number generator
debug: ssh_connect: getuid 500 geteuid 0 anon 0
debug: Connecting to sunny.isis.unc.edu [152.2.1.65] port 22.
debug: Seeding random number generator
debug: Allocated local port 769.
debug: Connection established.
debug: Remote protocol version 1.5, remote software version 1.2.27
debug: Local version string SSH-1.5-OpenSSH_2.2.0p1
debug: Waiting for server public key.
debug: Received server public key (768 bits) and host key (1024 bits).
debug: Host 'sunny.isis.unc.edu' is known and matches the RSA host
key.
debug: Seeding random number generator
debug: Encryption type: 3des
debug: Sent encrypted session key.
debug: Installing crc compensation attack detector.
debug: Received encrypted confirmation.
debug: Trying RSA authentication with key 'faheem@Chrestomanci'
debug: Remote: Could not open
/afs/isis.unc.edu/home/f/a/faheem/.ssh/authorized_keys for reading.
debug: Remote: If your home is on an NFS volume, it may need to be
world-readable.
debug: Server refused our key.
debug: Doing password authentication.
[EMAIL PROTECTED]'s password:
But I *did* make
/afs/isis.unc.edu/home/f/a/faheem/.ssh/authorized_keys
world-readable.
-rw-r--r-- 1 faheem graduate 338 Sep 5 00:16 authorized_keys
What is going on? Am I making some mistake, or it is a problem with
the remote server?
Thanks, Faheem Mitha.