I have been working on this on and off for a few days (work permitting) and so far I have had limited success. So now I have a better idea what i need to do I can explain it.

I have setup ssh as per the page...
http://www.steidler.net/uptime/archives/000391.html

Now all seems ok when I try to go from one server (web server) to any of my others as a user.

But I have discovered that the script I am using needs to gain access to the other servers with different permissions.

Break down.

5 servers in the network, 1 server has apache running. user apache.
all 5 servers have user max set up. Now user max runs a program that writs stats files.
Now web server (apache) needs to ssh to the other 4 servers and logs in as max to read these files and creates data files on its self.
Problem is how do I make keys for apache to be able to ssh to max with the login set to ssh -l max servername and where do I put these keys as apache isn't on the other servers???


Just to clear things up a bit more, I am trying to get a script called htmlperlseti going. It use to work just fine on my old setup using rsh but after the upgrade I have to use ssh now and don't really want to go back.

Dam I hope someone out there understands all that *8-).

Graeme.

Nick Rout wrote:

On Thu, 2004-06-17 at 03:52, G Chinnery wrote:


I know I am a bit of a newbie and I have only just started with SSH due to upgrading my Distro to Mandrake 8.1 then 10.0.
But SSH makes life very difficult.
So far I have followed the instructions from the web pages given to me and still I can't access any of my boxes with out having to give a password.
And as for my web scripts those don't work at all.
I have run them in a shell and when the script asks for the password from a server, I type in the password and it won't even let me in full stop.
I would rather use SSH than have to install rsh to get this working, so any ideas???



yeah a fuller description of what you have set up and what you are trying to do.

Do do passwordless ssh authentication you need to set up keys and put
them in the right place - what exactly did you do to set them up?



G.Chinnery.





Reply via email to