votes up 5

password refused

Package:
pipenv
github stars 22232
Exception Class:
ExceptionPxssh

Raise code

            pass
        elif i==2: # password prompt again
            # For incorrect passwords, some ssh servers will
            # ask for the password again, others return 'denied' right away.
            # If we get the password prompt again then this means
            # we didn't get the password right the first time.
            self.close()
            raise ExceptionPxssh('password refused')
        elif i==3: # permission denied -- password was bad.
            self.close()
            raise ExceptionPxssh('permission denied')
        elif i==4: # terminal type again? WTF?
            self.close()
            raise ExceptionPxssh('Weird error. Got "terminal type" prompt twice.')
        elif i==5: # Timeout
😲  Walkingbet is Android app that pays you real bitcoins for a walking. Withdrawable real money bonus is available now, hurry up! 🚶

Ways to fix

votes up 2 votes down

Error producing code:

echo 'my-package = {git = "https://my_user:[email protected]/user/my_project.git",ref = "v0.1"}' >> Pipfile

pipenv install -e git+ssh://mydomain.org/user/my_project#egg=my_project

Correct code:

echo 'my-package = {git = "https://my_user:[email protected]/user/my_project.git",ref = "v0.1"}' >> Pipfile

pipenv install -e git+ssh://mydomain.org/user/my_project#egg=my_project

Comment:

This error will only be raised if you input the wrong password,

If you see this exception make sure you type in the right password in your pipfile before using pipenv

Jun 03, 2021 axujen answer
axujen 114

Add a possible fix

Please authorize to post fix