motioneyeos icon indicating copy to clipboard operation
motioneyeos copied to clipboard

Authentication using just the 7 first characters via SSH / CLI

Open MPBatista opened this issue 2 years ago • 4 comments

motionEyeOS Version

I am running motionEyeOS version: motioneyeOS 20200606.

Board Model

I am using the following board/model: Raspberry PI 3B+.

Camera

I am using the following type of camera: MMAL.

My camera model is: vc.ril.camera

Network Connection

My motionEyeOS unit is connected to the network via: WiFi.

Peripherals

I am using the following peripherals that I consider relevant to this issue:

  • None

Log Files

I consider the following log files relevant to this issue:

  • None

The issue I'd like to describe is that:

  • when I connect to MotioneyeOS via SSH, CLI, try as password :

[email protected]'s password: L!ttl&T Permission denied, please try again. [email protected]'s password: L!ttl&T35701 [root@cam-back ~]# exit logout Connection to 192.168.0.52 closed.

But the real password is L!ttl&Te5701, it look like the auth logic just treat 7 first characters.

Could you confirm this?

MPBatista avatar Jul 25 '22 20:07 MPBatista

Try without any password (blank)

starbasessd avatar Jul 25 '22 21:07 starbasessd

With blank password or just ENTER it not working: ssh [email protected] Welcome to cam-back! [email protected]'s password: Permission denied, please try again. [email protected]'s password: <ENTER> Permission denied, please try again. [email protected]'s password:

MPBatista avatar Jul 25 '22 21:07 MPBatista

Can you try a password without the '&' character, please?

starbasessd avatar Jul 25 '22 21:07 starbasessd

I changed the password via CLI for L!ttleTe5701: ssh [email protected] Welcome to cam-back! [email protected]'s password: L!ttle Permission denied, please try again. [email protected]'s password: L!ttleT Permission denied, please try again. [email protected]'s password: L!ttleTe [root@cam-back ~]#

MPBatista avatar Jul 26 '22 00:07 MPBatista