Shh time out to a server inside Iran

I’m using a docker image (node:10) to deploy into the production server which is located inside Iran (
$ ssh -v -p22 ubuntu@ “sudo mkdir -p /var/_tmp”
OpenSSH_7.4p1 Debian-10+deb9u6, OpenSSL 1.0.2s 28 May 2019
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to [] port 22.
debug1: connect to address port 22: Connection timed out
ssh: connect to host port 22: Connection timed out

Is it possible that IP’s inside Iran are blocked to access on Gitlab-CI?

You can refer to these settings:


It is more probable that inbound ssh connections are blocked closer to you (I would start with local firewall, and then going hop by hop - ISP, maybe even some country firewall).