Hi all,


Well I have definately problem with ssh and trying to create a trusted
root.

I am trying to install an application called VOCAL which requires ssh
and a trusted root to deploy the application

Here is what I have done following advices from different mailing lists
:
- I generated keys pair (ssh-keygen) on the host machine (logged as
root), run ssh before making a copy of identity.pub.
- As mentionned evrywhere, it works and  I am requested a password
(since I don't have an authorized_keys file
- I made a copy of identity.pub, renamed authorized_keys, change mode to
600, type ssh and still asking for a password which is wrong
After hours of reading documentation, I finally found that switching
protocols from 2,1 to 1,2 in /etc/ssh/ssh_config allows me to log
without any password.
(at least it worked like that).

Well now here is the big problem I have been trying to solve for the
last 2 days and it is still
linked to ssh.

I have a network with 3 computers, A, B and C, all running redhat 7.1.

Let's call A the server from which I will deploy the application called
VOCAL.
I generated keys pair on A, B and C, add the identity.pub from B and C
in the authorized_keys file on A, add key paiirs of A and B in the
authorized_keys files on C and finally add key pairs of A and C in the
authorized_key files on B.
A holds in its authorized_keys files the public keys from B and C.

so in theory each computer should be able to connect root without any
password to the other ones.

This is what 's happening and I don't have  a clue on how to solve on.
I have been reading docs and docs but nothing works.

Computer A :
- can perform ssh root@B
- can't perform ssh@C (message : secure connection to C refused)

computer B :
- can't perform ssh root@A (message : secure connection to A refused)
- can't perform ssh root@C (message : secure connection to C refused)

Computer C :
- can perform ssh root@B
- can't perform ssh root @A (message : secure connection to A refused)

I run sshd in debug mode. When I manage to ssh a machine I have heap of
information in the debug
window.
There is no information in the sshd window when the connection fails.
It looks like there is no connection although the ssh root@A -v shows
the machine has connected
the host

These computers have the same config files (ssh_config and sshd_config),
the PermitRootPassword is set to yes, so is the PermitemptyPassword,
etc..
I have tried everything but can't figure out what's going on.

If you have any idea that could solve my problem and allow me to deploy
my application I would appreciate your help

I found some information about ssh looping in secure connection refuse
but I don't have aclue how to do what it is mentionned (perl script ,
etc...)

Regards

Eric Mistral




Reply via email to