Eclipse
SSH login using RSA key pairs
Submitted by Chadarius on Wed, 2008-11-05 17:14.Wow was getting ssh logins using RSA key pairs a real pain in the butt. I suppose if everything had been standard Ubuntu things might have worked out of the box... maybe.
In order for me to use the Bazaar Eclipse plugin I needed to setup ssh to my server to not require a password. This is because for some reason, the plugin can't handle any user interface type stuff with ssh. Sigh.
So I did the basics first.
I ran the following to setup my key pair (I typed in a passphrase when it asked, to make it as secure as possible)
ssh-keygen -t rsa -b 2048
Then to copy it to my home directory on my server.
ssh-copy-id suttonca@myservernamehere
But I still was having issues. It was asking me for a password even after I'd unlocked my RSA key. So I checked /var/log/auth.log on the remote server and found some errors like the following:
Authentication refused: bad ownership or modes for directory /home/suttonca/.ssh
I had to run the following commands to setup the permissions properly before the solution worked.
chmod go-w ~/
chmod 700 ~/.ssh
chmod 600 ~/.ssh/authorized_keys
All that remained was to ensure that everytime I logged in that I was asked to unlock my key. In KDE all I had to do was run the following:
»
- Chadarius's blog
- Login to post comments
- Read more
- 1088 reads
Eclipse + Ubuntu = Suckiness
Submitted by Chadarius on Fri, 2008-10-31 17:49.So I've been fighting with Eclipse for the last 2 days now. Let me just say that installing Eclipse from the Ubuntu repositories equals a really crappy Eclipse experience. I wasn't able to add or update anything successfully from any of the Eclipse repositories. It was beyond horrible. I'm guessing that it was mostly because it was an older version. But shouldn't Eclipse be able to update even itself to the latest version? I'm not happy with Eclipse's package management much either. Somewhere along the line something has got to be able to update itself to the latest version and both products didn't work very well.
So now I'm installing it all manually. Never again to trust that Ubuntu can install correct versions from its repository and never again to believe that when an old version is installed that Eclipse can actually update itself properly either. Sometimes you just gotta get it done yourself!
»
- Chadarius's blog
- Login to post comments
- 1142 reads


