SSH/SVN Password not working. [Sovled]
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
SSH/SVN Password not working. [Sovled]
hey i have an issue with ssh or svn. I installed it earlier today at work. Had it working fine all day then just when i was about to leave. I did ssh localhost it asked my for my password. and now the password doesnt work. I don't understand how this could happen. But how to i fix it?
I can log into su or sudo just fine with my password. But doesnt work when trying to test the ssh localhost.
Even if i do svn username@localhost and i type my password it doesnt work. Its really strange.
Thanks,
Chi kitory
I can log into su or sudo just fine with my password. But doesnt work when trying to test the ssh localhost.
Even if i do svn username@localhost and i type my password it doesnt work. Its really strange.
Thanks,
Chi kitory
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
- Pilosopong Tasyo
- Level 6
- Posts: 1432
- Joined: Mon Jun 22, 2009 3:26 am
- Location: Philippines
Re: SSH/SVN Password not working.
Instead of username@localhost, try username@`hostname`.local
o Give a man a fish and he will eat for a day. Teach him how to fish and he will eat for a lifetime!
o If an issue has been fixed, please edit your first post and add the word [SOLVED].
o If an issue has been fixed, please edit your first post and add the word [SOLVED].
Re: SSH/SVN Password not working.
That doesnt seem to help
But this is what happens when i do ssh localhost
But this is what happens when i do ssh localhost
Code: Select all
username@ubuntu:/$ ssh localhost
username@localhost's password:
Permission denied, please try again.
username@localhost's password:
Permission denied, please try again.
username@localhost's password:
Permission denied (publickey,password).
Re: SSH/SVN Password not working.
Try to use a correct IP adress instead of username@localhost
Re: SSH/SVN Password not working.
username@ubuntu:/$ ssh my_ip_here
Code: Select all
username@my_ip_here's password:
Permission denied, please try again.
username@my_ip_here's password:
Permission denied, please try again.
username@my_ip_here's password:
Permission denied, please try again.
Re: SSH/SVN Password not working.
is there a reset? its really messing with my work conditions.
- Pilosopong Tasyo
- Level 6
- Posts: 1432
- Joined: Mon Jun 22, 2009 3:26 am
- Location: Philippines
Re: SSH/SVN Password not working.
There's a hidden folder /home/<your-login-name-here>/.ssh. Open Nautilus, navigate to your home folder, and press Ctrl+H to reveal all hidden files. Locate the .ssh folder and rename it to something else (.ssh-backup for example) and try ssh'ing again. If that resets the keys you may delete the renamed .ssh-backup folder. You might have to do the same on other logins/computers that are affected. HTH.chi-kitory wrote:is there a reset?
o Give a man a fish and he will eat for a day. Teach him how to fish and he will eat for a lifetime!
o If an issue has been fixed, please edit your first post and add the word [SOLVED].
o If an issue has been fixed, please edit your first post and add the word [SOLVED].
Re: SSH/SVN Password not working.
the issue with doing that is it only resets the authenticity of the host. So its not like it would reset the password for me.
I tried passwd changed my password, still no dice.
I made a fake user on my side, which the password works fine with ssh.
So its really an issue with my account.
I tried passwd changed my password, still no dice.
I made a fake user on my side, which the password works fine with ssh.
So its really an issue with my account.
Re: SSH/SVN Password not working.
alright it seems with tail -f auth.log
i was able to find this out:
meaning i dont have the rights?
i was able to find this out:
Code: Select all
Failed none for invalid user username port.xxx:x
Re: SSH/SVN Password not working.
Fixed it.
So what i had to do was look at the auth.log logs.
While it was active with -f i was able to see that it wasn't letting me in due to not have my name on the allowusers list in
/etc/ssh opening up the file called sshd_config editing it and adding
Then i had to reset the server for it to work
So i did:
any questions for anyone else that has this issue ask
So what i had to do was look at the auth.log logs.
While it was active with -f i was able to see that it wasn't letting me in due to not have my name on the allowusers list in
/etc/ssh opening up the file called sshd_config editing it and adding
Code: Select all
AllowUsers username
So i did:
Code: Select all
sudo /etc/init.d/ssh restart