Edwin Goei's Blog

Kenai.com SSH Source Repository Access Tip

Saturday Sep 12, 2009

Projects hosted on Kenai.com can have three different kinds of source code repositories: git, mercurial, and subversion. With git and mercurial, developers often use ssh for access. However, this requires at least one public key to be uploaded to the site. If you are having problems accessing a repository using ssh, you can test to see if your uploaded key is correct by trying to ssh to kenai.com and checking the result. The following means that your uploaded public key is correct:

% ssh <my-username>@kenai.com
Invalid command: ?
Connection to kenai.com closed.

If you get some other kind of error, such as:

Permission denied (publickey,keyboard-interactive)

please make sure your public key has been uploaded correctly to the SSH Keys tab of your profile. The format is a limited version of a standard ssh authorized_keys file format. Each public key should be on a separate line. Please make sure there are no extra newline characters within a single public key in the text area as long lines will wrap. You can force the system to overwrite an old key value by changing the contents of the text area, for example by adding a character in a comment field, and updating the key. My profile page (with two public keys) looks like this. A friendlier way to check the validity of your public key is planned for a future release.

This entry has been updated on 2009-10-26. You can also view this related forum thread.

[0] Comments
Like this post? del.icio.us | furl | slashdot | technorati | digg

Troubleshooting Kenai.com Ssh SCM

Monday Jun 29, 2009

Update: please see this updated post.

See this tweet on debugging kenai.com ssh access to SCM (source code management) problems.

[0] Comments
Like this post? del.icio.us | furl | slashdot | technorati | digg