I think I might be missing something in there, but I am running out of ideas. I have been tinkering with the configuration file /etc/ssh/sshd_config trying to hit the right combination of settings, each time restarting the daemon with service ssh restart. The first message acknowledged that the password log in was succesful, nothing about the keys though. ![]() I opened one PuTTY terminal and issued tail -f /var/log/auth.log, and then tried to log in on a second terminal. Well, at least it seems like I got them all back. ![]() I had high hopes when I found this post on this board, but none of those solutions have fixed the problem.Īt one point I accidentally deleted the host keys in /etc/ssh/, but I uninstalled openssh-server and then reinstalled it which brought back those keys. The ~/.ssh directory has permissions set to 700, ~/.ssh/known_hosts is set to 600. The key is on one line only, starting like this: ssh-rsa AAAAB. I copied the public key from PuTTYgen and pasted it into ~/.ssh/known_hosts. I am using Ubuntu 14.04 LTS which has openssh-server installed. The username is different between the two servers, but I think that is no problem, right? I can complete the log in by entering the password, but I really want the keys to work so I can eliminate password log-ins over internet. Using keyboard-interactive authentication. I get the following message on the PuTTY terminal: Using username "user". I copied the keys to a Windows 7 laptop, and I was successful logging in to BBB from it as well, but not to the Ubuntu computer. From it I can log in to a Beaglebone Black running the Angstrom distro. The keys were generated on a Windows 7 desktop PC. I am trying to use RSA public/private keys generated by PuTTY to log in to two GNU/Linux computers from Windows computers, and it works for one but not for the Ubuntu computer.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |