Re: SSH problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux