Oh, I'm frustrated. Maybe some can provide some insights to my problems with
ssh. I am new to using ssh but have got it working well in most cases.

Host: both systems are solaris. (2.5.1. and 2.6)
SSH: F-Secure SSH Version 1.2.20 (protocol version 1.5)
   and F-secure SSH Version 1.2.27 (protocol version 1.5)

I have setup numerous public key setups following the normal procedures.
Create keys with ssh-keygen, public key goes into target system's
authorized_keys file. Permissions the same on all files and the .ssh
directory. 

However, I now have a userid to which I can't connect. ssh returns
"Permission denied" with no prompts.

Remote system: user1 user2
Local system: user1
public keys from user1 are placed into authoroized_keys file for user1 and
user2 on the remote system.

# can connect to self on remote system
user1@local$ ssh remote-system
  Enter passphrase for RSA key ......
and we connect

# but can't connect to other id
user1@local$ ssh -l user2 remote-system
Permission denied

# then for something very strange
user1@remote$ ssh -l user2 remote-system
user2@remote's password:



and user2@remote's authorized_keys contains the public keys 
for user1@local and user1@remote, so why the different effect?


Any ideas, please.

Stephen







Reply via email to