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

Re: Another SSH Problem



On 27 Jun 2002 at 4:50, justin k wrote:

> I am running openbsd 2.9 on i386.

> I tried copying the files to my new /etc/ssh directory
> and sshd started fine. I then tried to shell in but I
> only get "permission denied, please try again" after
> typing in my password. It is like it doesn't
> recongnize my username or my password (or both?)

Check to see if all the keys exist.  In /etc/ssh you 
should find:

/etc/ssh/ssh_host_key   #for protocol version 1
/etc/ssh/ssh_host_rsa_key  #for protocol 2
/etc/ssh/ssh_host_dsa_key  #for protocol 2

Also you will need the corresponding HostKey entries 
in /etc/ssh/sshd_config.

Are there errors appearing in the log when you can't 
log in?  What appears in /var/log/authlog when this 
happens?  (or at least I think that is the name in 
3.1.  I can't remember if it changed since 2.9).