OpenSSH Problem

Hello,

I cannot seem to loggon to a machine using ssh/scp. Whenevr I do it closes the connection (error message : lost connection)but it appears to be the host machine closing rather than the destination which puzzles me even more. What is even weirder is that as a root user it works but as a non -root one it does not.

When I try ssh'ing I get SEGMENTATION FAULT error.
When I try scp I get connection closed.

Here are the specs:

Host:Fedora Core release 4 (Stentz)
openssh-4.0p1-3
openssh-clients-4.0p1-3
openssh-server-4.0p1-3

Destination:
openssh-clients-4.3p2-36.el5_4.3
openssh-server-4.3p2-36.el5_4.3
openssh-4.3p2-36.el5_4.3
Centos 5.4

Try using:

ssh -vvv <destination>

and see what it says about your connection.

Likewise on the desination end you can amend the sshd_config file and amend the

LogLevel 

line to DEBUG3 level and the run:

# kill -1 <root-SSHD-PID>

To make the currently running SSHD process adopt the new setting.
Try sshing and see what SSHD says about it?

If you are trying to SSH as the root user and you really want to do this then make sure the:

PermitRootLogin

line to say yes and do the kill -1 step mentioned above.