HELP! ssh key issue between workstation and server

Latest response

There are two users, user1 and test1. Here is the way the script calls it.
From the workstation:
user1# sudo -u test1 ssh -Y server1

This prompts for a password after adding public keys to the appropriate authorized_keys file. That being said, the following works without prompting for a password:

user1# ssh test1@server1

I am going crazy getting these keys configured correctly. Any help would be appreciated.

Responses