Due to limitations in the harbor registry, we cannot port forward to connect the harbor registry for local system. However, we can save the image and send it to jump server/remote server, and through the remote server we can upload the image to the harbor private registry.
Added below in ~/.ssh/config
Host base
User <user>
IdentityFile ~/.ssh/