Hey,

I still can not do this on Redhat 7 although I am close.  Used ssh-keygen, created 
both RSA and DSA
key pairs, added them to running ssh-agent, uploaded pub keys to server. Did you use 
website upload
or scp command?

In the log below clearly server refuses my private RSA key .

 ssh -v -l vlada cvs.jboss.sourceforge.net
OpenSSH_2.5.2p2, SSH protocols 1.5/2.0, OpenSSL 0x0090581f
debug1: Seeding random number generator
debug1: Rhosts Authentication disabled, originating port will not be trusted.
debug1: ssh_connect: getuid 500 geteuid 0 anon 1
debug1: Connecting to cvs.jboss.sourceforge.net [216.136.171.202] port 22.
debug1: Connection established.
debug1: identity file /home/vlad/.ssh/identity type 0
debug1: unknown identity file /home/vlad/.ssh/id_rsa
debug1: identity file /home/vlad/.ssh/id_rsa type -1
debug1: identity file /home/vlad/.ssh/id_dsa type 2
debug1: Remote protocol version 1.99, remote software version OpenSSH_2.5.1p1
debug1: match: OpenSSH_2.5.1p1 pat ^OpenSSH
debug1: Local version string SSH-1.5-OpenSSH_2.5.2p2
debug1: Waiting for server public key.
debug1: Received server public key (768 bits) and host key (1024 bits).
debug1: Host 'cvs.jboss.sourceforge.net' is known and matches the RSA1 host key.
debug1: Found key in /home/vlad/.ssh/known_hosts:2
debug1: Encryption type: 3des
debug1: Sent encrypted session key.
debug1: Installing crc compensation attack detector.
debug1: Received encrypted confirmation.
debug1: Trying RSA authentication via agent with '[EMAIL PROTECTED]'
debug1: Server refused our key.
debug1: RSA authentication using agent refused.
debug1: Trying RSA authentication with key '[EMAIL PROTECTED]'
debug1: Server refused our key.
debug1: Doing password authentication.
[EMAIL PROTECTED]'s password:


Scott M Stark wrote:

> I have been able to upload my ssh key to allow for access without having to type
> the password each time. I used ssh-keygen and did not assign the generated key
> a passphrase. This is only working on windows 2000 though. On RedHat linux
> 7.0 I am having to enter the password each time. I believe this is an issue with
> the linux ssh using version 2 of the protocol vs version 1.5 on windows but I
> have not looked in the issue in detail.
>
> You can debug the secure connection setup by issuing the following command:
>
> ssh -v -l <userid> cvs.jboss.sourceforge.net cvs -t server
>
> You can add more than one -v arg to make the ssh output increasingly verbose. The -t
> to the cvs command puts it in trace mode so that it also tells you what its doing.
>
> > I tried to upload keys to prevent this but without success.  If someone has done 
>this , please
> > respond.
> >
> > Cheers,
> > Vladimir
> >


_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to