Hi,

My two systems are SPARC/Solaris 2.6 & OpenSSH 2.2.0p1.
There are host A and B.

I created RSA key (~/.ssh/identity, ~/.ssh/identity.pub)
and using ssh-agent, ssh-add. This is success. I was able
to connect A -> B -> A. I didn't need to input pathphrase.

Next, I created DSA key (~/.ssh/id_dsa, ~/.ssh/id_dsa.pub)
and using ssh-agent, ssh-add. In this case, I was able to
connect A -> B. Don't need pathphrase. But, need pathphrase
to connect B -> A.

Why? Thanks for your help.


My ssh_config and sshd_config are under below.

% cat ssh_config
Host *
  RhostsAuthentication no
  RhostsRSAAuthentication no
  RSAAuthentication yes
  DSAAuthentication yes
  DSAAuthentication no
  PasswordAuthentication yes
  FallBackToRsh no
  UseRsh no
  CheckHostIP yes
  StrictHostKeyChecking yes
  ConnectionAttempts 3
  NumberOfPasswordPrompts 3
  IdentityFile ~/.ssh/identity
  IdentityFile2 ~/.ssh/id_dsa
  Protocol 2,1
  Ciphers 3des-cbc,blowfish-cbc,cast128-cbc
  LogLevel INFO
  ForwardAgent yes
  ForwardX11 yes
  XAuthLocation /usr/openwin/bin/xauth
  BatchMode no
  Port 22
  EscapeChar ~
  UsePrivilegedPort yes
  KeepAlive yes

% cat sshd_config
Protocol 2,1
ServerKeyBits 768
PermitRootLogin no
IgnoreRhosts yes
IgnoreUserKnownHosts yes
StrictModes yes
SyslogFacility AUTH
LogLevel INFO
RhostsAuthentication no
RhostsRSAAuthentication no
RSAAuthentication yes
DSAAuthentication yes
Ciphers 3des-cbc,blowfish-cbc,cast128-cbc
PasswordAuthentication yes
PermitEmptyPasswords no
UseLogin no
MaxStartups 10:30:60
PidFile /var/adm/sshd.pid
Port 22
ListenAddress 0.0.0.0
HostKey /usr/local/ssh/etc/ssh_host_key
LoginGraceTime 600
KeyRegenerationInterval 3600
X11Forwarding yes
X11DisplayOffset 10
XAuthLocation /usr/openwin/bin/xauth
PrintMotd no
KeepAlive yes
CheckMail no

--
Tomohiro Yamauchi       [EMAIL PROTECTED]

Reply via email to