Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I have two identical beaglebones that I'm working with. They have the same hostname and originally had the same IP, though I changed one to see if that made a difference. They're going to be deployed to 2 different networks.

My problem is I lost the ability to ssh into both of them. The password has not been changed and I can log in from my wife's computer, but on mine I get:

Permission denied, please try again.

finally followed by

Permission denied (publickey,password).

This wasn't a problem until I set up static IPs on them. What have I done/what can I do to fix it?

I'm running Ubuntu on both the beaglebones and my computer.

share|improve this question

migrated from serverfault.com Apr 12 '13 at 1:59

This question came from our site for professional system and network administrators.

2  
Have you tried getting onto the server via the console and looking at the logs? –  yoonix Apr 11 '13 at 22:11
2  
Please post the output of ssh -v $IP (possibly with any other options needed; the -v is the important part) –  Michael Kjörling Apr 12 '13 at 9:05
    
Unfortunately, I was on a short timeline and both units had to be installed. I have a clone of the SD card, so I will be able to test this again soon. The only other thing to add is that as soon as I switched them back to DHCP, the problem disappeared. –  Anthony DeSimone Apr 12 '13 at 23:52

2 Answers 2

Logs are the very first place to start.

Failing that, run sshd in debug mode on the server and see what it says:

/usr/sbin/sshd -Dd
share|improve this answer

Simular to what @fukwai2 said. I would recommend starting ssh on another port on the same machine.

/usr/sbin/sshd -d -p 2222 -v

When you run the client try with the -v flag to see if you can also get any more output.

Lastly just out of experience look at everything the output says even if you think its wrong because it has not changed sometimes you forget you did something.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.