meganz / MEGAcmd

Command Line Interactive and Scriptable Application to access MEGA
Other
1.94k stars 407 forks source link

MegaCmd v1.4.0 on QNAP #758

Open RobbK17 opened 1 year ago

RobbK17 commented 1 year ago

On my QNAP - QTS 5.x and attempting login in to MEGA, using the mega-cmd v1.4.0 after the 2FA prompt appears and I put in my code and I get an authentication error.

My username and password are correct, I have tried multiple times and ways, via command line vs being prompted for my one time passcode.

Is this a known issue, or something that can be fixed?

polmr commented 1 year ago

That's not expected indeed. Note that even if the 2FA auth code is correct, the authentication error will be prompted if the password is not. Have you suceeded withouth 2FA? Does your password have single or double quotes (there are known issues with those)?

Have you tried the single line option:

login user@dom.ain password --auth-code=123456

?

quinthadron commented 1 year ago

I have a similar issue on QTS 5.x. When I install mega-cmd v1.4.0, it launches a command prompt but doesn't let me type anything in the command prompt window. Any ideas why I can't interact with the app?

flonou commented 1 year ago

You need to open an SSH session to interact with (and run) megacmd.