[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

ssh connection, secondary ok while prime not



Hi,

I have a very weird ssh connection problem -- I get 

  Permission denied (publickey).

error while trying to ssh into the box (as root) [1]. However, if I ssh 
into the same box, same as root, using the same sshd configuration, just 
a secondary debug ssh session, it works flawlessly [2]. I've done 

 /etc/init.d/ssh restart

several times on the server, but the problem persists. What could be 
wrong? 

[1] sudo ssh -C -A -X maroon

[2] start "sudo ssh -v -C -A -X -p 222" on the client
after a "/usr/sbin/sshd -d -D -p 222" on the server

(It was OK before. I can't remember that I changed anything. I've still 
got one ssh connection open to the server as root for configuration & 
testing)

Thanks

-- 
Tong (remove underscore(s) to reply)
  http://xpt.sourceforge.net/techdocs/
  http://xpt.sourceforge.net/tools/


Reply to: