I've done this before but yesterday and today I've had zero luck with getting the ~/.ssh/authorized_keys
file to work for a user on my z/OS system.
what I do is:
ls /+mode=text
cd .ssh
put id_rsa.pub authorized_keys
ssh
to the system and get a prompt for password which I shouldn't.I've tried
644
and to 600
without successI'm sure there is something obvious but I'm not seeing it. This is effectively what I've done on other systems and userids.
Make sure your .ssh directory only has permissions to read/write/execute for the owner:
chmod 700 ~/.ssh