SSH problem

Alexander Dalloz ad+lists at uni-x.org
Tue Jul 5 07:33:11 UTC 2005


Am Di, den 05.07.2005 schrieb Bob R. Taylor um 7:45:

> I have done ssh-keygen on each of my computers connected via eth0. I
> have copied each ~/.ssh/id_rsa.pub key into each others
> ~/.ssh/authorized_keys file. I get the following using the command:
> ssh -vvv brtaylor@<other-computer> gnome-terminal
> 
> debug1: Reading configuration data /etc/ssh/ssh_config
> debug1: Applying options for *
> debug1: Rhosts Authentication disabled, originating port will not be
> trusted.
> debug2: ssh_connect: needpriv 0
> debug1: Connecting to bea [192.168.0.3] port 22.
> debug1: Connection established.
> debug1: identity file /home/brtaylor/.ssh/identity type -1
> debug3: Not a RSA1 key file /home/brtaylor/.ssh/id_rsa.

This message seems clear. I don't know how you generated your keys, but
somehow they do not match your sshd configuration.

> I get the same from the other direction. i.e. both computers give the
> same message.
> 
> I am at a total loss. This worked for me w/ssh on Red Hat 6.2. Reading
> the man pages has not helped at all. BTW firewall allows eth0.

> Bob

http://fedoranews.org/dowen/sshkeys/

Follow that howto. Check your /etc/ssh/sshd_config if you changed
settings to non default settings. Avoid using SSH version 1 as it is
insecure.
Keep care for minimal permissions:
chmod 700 ~/.ssh
chmod 600 ~/.ssh/<private key>

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.11-1.35_FC2smp 
Serendipity 09:29:36 up 9 days, 16:21, load average: 0.39, 0.36, 0.37 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20050705/5fad3080/attachment-0001.sig>


More information about the fedora-list mailing list