scp / sftp / ssh from an OpenShift Pod gives an error "No user exists for uid $someUid"

Solution Unverified - Updated -

Issue

  • user would like to have an actor on an OCP pod which would initiate sftp or scp to an external system and retrieve a file but it fails

  • ssh connection from a Pod fails with:

No user exists for uid $someUid

Environment

OCP 3.x
OCP 4.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content