Re: Debian on a Qube 1: SSH connection refused: Success!
> > This new init script should have 'set -x' at the top [..]
> That made it, thanks a lot!
> sshd comes up now, ssh login was successful!
> I just changed the 'set -e' to 'set -x' in the sshd init script
> (/etc/init.d/ssh), added the 'exec' line as suggested
> and got this output:
> Anything strange there? Why the execution was stopped on 'set -e' ?
> 'set -ex' results in the same output. Outcommenting the line also
> works, changing back to 'set -e' results in 'connection refused'
That's odd, the set -x shouldn't have changed anything, only shown
what was going wrong so you could fix it...