I'm not able to connect with SSH because of SUID warning
7,036
SOLUTION:
The source of the problem is the date on my ARM board. This is the reason that the 'password has expired'.
To set up correct date, use:
# date -s '[current date]'
command on an ARM board, and:
# hwclock -w
to keep date settings on the hardware.
Related videos on Youtube
Author by
cooba
Updated on September 18, 2022Comments
-
cooba over 1 year
When I try to connect with another machine, after this command below:
user1@host1:~$ ssh user2@host2 user2@host2's password:
I receive:
WARNING: Your password has expired. You must change your password now and login again! passwd: must be suid to work properly Connection to host2 closed. user1@host1:~$
host1 is Ubuntu OS machine
host2 is Buildroot OS machine
Obviously I've changed my password, but it didn't help.
What is wrong? How can I fix it?
-
beroe about 9 yearsYou were about to change the password on host2? (Your post said "hanged" and I think you meant "changed" but maybe you mean "mucked up"? If you want to reset and create a new sshkey you can delete the lines corresponding to host2 in
.ssh/known_hosts
-
cooba about 9 years@beroe: I just want to get access to host2 (with Buildroot) via ssh, but it's just sending this warning and my connection gets closed. I don't know what is wrong.
-
cooba about 9 yearskevinhunlty: Sorry, I don't understand what you mean.
-
cooba about 9 yearsMCon: This is the result: dpaste.com/1F1CEWH
-
Kevin Huntly about 9 yearsDo you have physical access to the machine? Are you able to login directly to the console?
-
cooba about 9 yearskevinhuntly: Thank you, but problem solved (below).
-
grepit about 7 yearsthanks, it worked but is there any more info /link on this ?