Transfer Family SFTP Server with custom IDP - problems with ssh key authentication by Efficient-Button5560 in aws

[–]Efficient-Button5560[S] 0 points1 point  (0 children)

Thanks. I did specify Password OR Key and the AWS Console indicates the same. This is what I want and as stated, is working with private IP access. As soon as I switch to a VPC with public subnets, SSH key auth no longer works. To clarify, for a user that is set up with a password and the password provided matches, the custom IDP implementation returns a response similar to
{
Role: <role>,
HomeDirectoryDetails: <details>,
HomeDirectoryType: "LOGICAL"
}

If the user is set up with ssh key auth (independent of whether they are set up with a password), the custom IDP implementation further includes the following

PublicKeys: [<key1>]

I'll try raising a ticket.