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:
- sftp to z/OS and issue
ls /+mode=text cd .sshput id_rsa.pub authorized_keys- quit the sftp session
- try
sshto the system and get a prompt for password which I shouldn't.
I've tried
- changing permissions to
644and to600without success - tagging as IBM-1047 - no success
I'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: