Keep receving authenticating w/ pre-entered password..why!?!

Advertisement

LostAsCanBe
Guest

Keep receving authenticating w/ pre-entered password..why!?!

When I created a user name and password and hit login it worked, now when I hit login under the same user, this promt "authenticating with pre-entered password" comes up and when I enter in my password I get denied..WHY!?!=(

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
29,755
Location:
Prague, Czechia

Re: Keep receving authenticating w/ pre-entered password..why!?!

Please read documentation. If that does not help, come back and post a log file.

Reply with quote

neo4
Guest

i cant ssh

when i press login after i full everything right
i get this message : authenticating with pre-enterd password
plz help

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
29,755
Location:
Prague, Czechia

Re: i cant ssh

neo4 wrote:

when i press login after i full everything right
i get this message : authenticating with pre-enterd password
plz help
Please read article on reporting bugs and asking for support. You may find there hints that may help you to resolve your problem or at least to report the problem more effectively.
_________________
Martin Prikryl

Reply with quote

alexandern
Guest

"pre-entered password" fails, (FIX)

I had a similar problem, everything would work in interactive mode but using the password in a script would fail.

Fix: Don't forget to encode your password!
E.g.

winscp> open sftp://some-user:my+1password@someserver.com

should be

winscp> open sftp://some-user:my%2B1password@someserver.com


Here use this to encode
https://meyerweb.com/eric/tools/dencoder/

Reply with quote

Advertisement

Jens Frandsen
Guest

Re: "pre-entered password" fails, (FIX)

alexandern wrote:

I had a similar problem, everything would work in interactive mode but using the password in a script would fail.

Fix: Don't forget to encode your password!
E.g.

winscp> open sftp://some-user:my+1password@someserver.com

should be

winscp> open sftp://some-user:my%2B1password@someserver.com


Here use this to encode
https://meyerweb.com/eric/tools/dencoder/

Alexandern - Thank for so much for answering the question. I had a similar problem and had already read much of the documentation. The previous responses frustrated me as they clearly not helpful at all. Those types of responses could be generated by bot. Alas, here you not only posted the exact answer I needed, but you gave an example that helped me to instantly understand what you were saying. Now I'm thinking "got to write a script to encode my password, here I go" ... but you you really went the extra mile and provided the handy link to encode a password. Great answer, please keep up the good work.

Reply with quote

LUX
Guest

Re: "pre-entered password" fails, (FIX)

alexandern wrote:

I had a similar problem, everything would work in interactive mode but using the password in a script would fail.

Fix: Don't forget to encode your password!
E.g.

winscp> open sftp://some-user:my+1password@someserver.com

should be

winscp> open sftp://some-user:my%2B1password@someserver.com


Here use this to encode
https://meyerweb.com/eric/tools/dencoder/

Great. Thank you! This was the clear answer for this question. The link to the encoding webpage was really helpful.
:D

Reply with quote

dm011mike
Guest

were it say`s "HOST" it means enter the ip address ,NOT of your computer ,it means the ip address of your IPOD/IPHONE etc

Reply with quote

Travis M
Guest

Re: "pre-entered password" fails, (FIX)

alexandern wrote:

I had a similar problem, everything would work in interactive mode but using the password in a script would fail.

Fix: Don't forget to encode your password!
E.g.

winscp> open sftp://some-user:my+1password@someserver.com

should be

winscp> open sftp://some-user:my%2B1password@someserver.com


Here use this to encode
https://meyerweb.com/eric/tools/dencoder/

That was the fix for me. Thank you very much! You saved my day.

Reply with quote

Advertisement

Gilles.D
Guest

Connection has been unexpectedly closed. Server sent command exit status 0.

Hello,

to connect to my server I use the following commands:
option batch on
option confirm off
open sftp://otuser:OTMC4societe!@ptrimv03:22


But when connecting here is the error message that I have:
batch on
confirm off
Searching for host...
Connecting to host...
Authenticating...
Using username "user".
Authenticating with pre-entered password.
Connection has been unexpectedly closed. Server sent command exit status 0.
Authentication log (see session log for details):
Using username "user".
Authentication failed.



Obviously to connect to the server I must, after filling in the login and password, validate my connection, but I do not know how to fill that in the command line.

Could you help me?

Thank you in advance.

Gilles

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
29,755
Location:
Prague, Czechia

Re: Connection has been unexpectedly closed. Server sent command exit status 0.

Gilles.D wrote:

to connect to my server I use the following commands:
option batch on
option confirm off
open sftp://otuser:OTMC4societe!@ptrimv03:22


But when connecting here is the error message that I have:
batch on
confirm off
Searching for host...
Connecting to host...
Authenticating...
Using username "user".
Authenticating with pre-entered password.
Connection has been unexpectedly closed. Server sent command exit status 0.
Authentication log (see session log for details):
Using username "user".
Authentication failed.

The credentials in the script are wrong. Are you able to connect in GUI? If you are, follow the advice in my previous post.

Reply with quote

Advertisement

You can post new topics in this forum