Add Resin git repo url via https and not ssh


#1

I’m stuck with out corporate network blocking outgoing calls on port 22.

I have now tried all known options to me to add the resin remote repo to the local repo so I can push that, but no success yet.
This is the url I’m adding, but keep getting timeouts.

$ git remote add resin https://git.resin.io/username/wpebasedapp.git

This is the original url that the console wants me to add (using ssh and keys):

$ git remote add resin username@git.resin.io:username/wpebasedapp.git

Any help appreciated!


#4

Hi @kappaj! Currently, resin doesn’t support http/https protocols for git. Maybe using a jumper host, or requesting outgoing access for port 22 from your network administrator would be the best way forward.
Cheers!


#6

Thank you - not what I needed to hear, but at least that explains why it is not working.

Regards
Andre


#12

Another workaround for pushing apps via https would be resin push via resin cli. More info on this can be found here
Cheers!


#13

That works a charm - thank you!!
Life is good again.