I shall try your suggestions....
---------- Post updated 01-09-11 at 01:06 PM ---------- Previous update was 01-08-11 at 11:03 PM ----------
Ok tried all teh above still no go
I can get commands to run before the shell is kicked off (~/.ssh/rc)
I can get environment variables set (~/.ssh/environment and sshd_config changes0
but I cannot get the user .profile to run for a user with a ssh Theuser@host date
even using the ssh options (albeit good) that Frank suggested.
For reasons that can get complicated (MVS is really shooting off the AIX command to AIX) I cannot use the option of physically executing teh users profile as in the suggestion
ssh
Theuser@host ". ~/.profile;date"
ssh