There is a way, or there should be, to enable secure access to a machine 
without having to enter a password.

My problem is this:

I have two machines, both running ssh, they both have static ips on the 
interfaces that I will be using for this.  I would like to be pre-authorised 
as root to scp/ssh from one machine to the other. (i.e. without having to 
type in a password)
I have browsed through ssh docs for days and have yet to come up with a 
working solution.   I think that it should be a very simple thing.

Is there a way to do this?

Exactly how would I do this ?

Instructions like this would be helpful:
eg.
copy the public key for machine A from /root/.ssh/.....
        The public key is the one that everyone is allowed to see anyway.
paste it to the ssh1 file(/root/.ssh....) on machine B
        This lets machine B know that machine A exists.
Enter the ip address for machine A into /etc/trusted-hosts on machine B
        This lets machine B automaticlally trust machine A
Restart sshd
Test (eg.   scp test.txt root@machineB:~)

Any help would be much appreciated

Wez



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to