[TriLUG] SSH & public key authorization on sourceforge
tbryan at python.net
Thu Sep 6 10:54:47 EDT 2001
On Thursday 06 September 2001 04:17 am, you wrote:
> I'm trying to get public key authentication working on sourceforge.
> here's what I'm doing.. (I actually tried a few other ways I found on
> the net but those we failures as well). Any help would be greatly
> [andy at linux2 .ssh]$ ssh-keygen
> Generating public/private rsa1 key pair.
> Enter file in which to save the key (/home/andy/.ssh/identity):
> /home/andy/.ssh/identity already exists.
> Overwrite (y/n)? y
> Enter passphrase (empty for no passphrase):
> Enter same passphrase again:
> Your identification has been saved in /home/andy/.ssh/identity.
> Your public key has been saved in /home/andy/.ssh/identity.pub.
> The key fingerprint is:
> [andy at linux2 .ssh]$ sftp acoliver2 at poi.sourceforge.net
> Connecting to poi.sourceforge.net...
> acoliver2 at poi.sourceforge.net's password:
> sftp> put identity.pub .ssh/authorized_keys
> Uploading identity.pub to /home/users/a/ac/acoliver2/.ssh/authorized_keys
> sftp> quit
> [andy at linux2 .ssh]$ ssh acoliver2 at poi.sourceforge.net -v -v -v
> It still asks me for the blasted password... What am I missing?
It might be an SSH protocol 1 vs. protocol 2 thing. Try running
and see whether it works. You may also want to use the web-based SSH key
upload. I think they automatically push the key to the correct files in that
case. (There was recently some complaint about SSH1 vs. SSH2 and the
web-based upload, and I'm thinking that they fixed it.)
More information about the TriLUG