Try to install mirror-registry but use another port for ssh then stuck
I Try to make Mirroring images for a disconnected installation and install mirror-registry but my ssh port is not 22
How do i install this without change ssh port to 22?
/ \ / \ ______ _ _ __ __ __
/ /\ / /\ \ / __ \ | | | | / \ \ \ / /
/ / / / \ \ | | | | | | | | / /\ \ \ /
\ \ \ \ / / | || | | || | / ____ \ | |
\ \/ \ \/ / _ / _/ // _\ ||
__/ __/ \ __
___\ by Red Hat
Build, Store, and Distribute your Containers
INFO[2023-06-29 04:38:02] Install has begun
INFO[2023-06-29 04:38:02] Found execution environment at /root/ocp4-metal-install/mirror-ocp/execution-environment.tar
INFO[2023-06-29 04:38:02] Loading execution environment from execution-environment.tar
INFO[2023-06-29 04:38:19] Detected an installation to localhost
INFO[2023-06-29 04:38:19] Did not find SSH key in default location. Attempting to set up SSH keys.
INFO[2023-06-29 04:38:19] Generating SSH Key
INFO[2023-06-29 04:38:20] Generated SSH Key at /root/.ssh/quay_installer
INFO[2023-06-29 04:38:20] Adding key to ~/.ssh/authorized_keys
INFO[2023-06-29 04:38:20] Successfully set up SSH keys
INFO[2023-06-29 04:38:20] Attempting to set SELinux rules on /root/.ssh/quay_installer
WARN[2023-06-29 04:38:20] Could not set SELinux rule. If your system does not have SELinux enabled, you may ignore this.
INFO[2023-06-29 04:38:20] Found image archive at /root/ocp4-metal-install/mirror-ocp/image-archive.tar
INFO[2023-06-29 04:38:20] Detected an installation to localhost
INFO[2023-06-29 04:38:20] Unpacking image archive from /root/ocp4-metal-install/mirror-ocp/image-archive.tar
INFO[2023-06-29 04:38:25] Loading pause image archive from pause.tar
INFO[2023-06-29 04:38:37] Loading redis image archive from redis.tar
INFO[2023-06-29 04:38:50] Loading postgres image archive from postgres.tar
INFO[2023-06-29 04:39:12] Loading Quay image archive from quay.tar
INFO[2023-06-29 04:40:00] Attempting to set SELinux rules on image archive
WARN[2023-06-29 04:40:00] Could not set SELinux rule. If your system does not have SELinux enabled, you may ignore this.
INFO[2023-06-29 04:40:00] Running install playbook. This may take some time. To see playbook output run the installer with -v (verbose) flag.
INFO[2023-06-29 04:40:00] Detected an installation to localhost
PLAY [Install Mirror Appliance] ***************************************************************************************************************************************************************************
TASK [Gathering Facts] ************************************************************************************************************************************************************************************
fatal: [root@opc-svc]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: ssh: connect to host opc-svc port 22: Connection refused", "unreachable": true}
PLAY RECAP ************************************************************************************************************************************************************************************************
root@opc-svc : ok=0 changed=0 unreachable=1 failed=0 skipped=0 rescued=0 ignored=0
ERRO[2023-06-29 04:40:03] An error occurred: exit status 4