[Buildroot] sshd and password problem

Thu Mar 24 19:33:40 UTC 2011

> I added OpenSSH to my top level menuconfig in Buildroot. When I
> brought
> the platform up I tried to 'ssh' to the target. But each time I
> tried to
> login to the target, ssh would always force me to change my
> password, and then
> close the connection.

You don't have a RTC, do you ;). So, what you'll need to do is
to set the system time at boot to something close to now.  If
you have no way to externally source time, make the system time
something along the lines of +10seconds beyond whichever is 
later: passwd or shadow or some other file that you know you
have touched lately.  Doing this will make ssh think that
you have changed your password recently enough (like within the
last -- I think -- 300 Billion years).


More information about the buildroot mailing list