Ruan
Ruan

Reputation: 4283

Alternate SSH connection on GitLab.com Config File

Going through this article to overcome the blocked port 22.

enter image description here

They require you to edit the config file in the .ssh directory, but for the life of me I cannot find a config file inside the .ssh directory

C:\users\myuser\.ssh Only has my generated ssh keys in there. No config file.

Literally the only place I could find any resemblance of a ssh_config file is shown below, and tried updating that config but to no avail.

enter image description here

Does any one know where on earth do you find that config file?

Upvotes: 0

Views: 717

Answers (2)

Ruan
Ruan

Reputation: 4283

Thanks to @user43968 to putting me on the right track

So I got it to work

  1. Create the file and add the connection settings in there.

  2. Then, I used Sourcetree and updated the settings as follow

enter image description here

For the username and password, add the username and password to the proxy server. That was the main issue stopping me from cloning anything.

Upvotes: 1

user43968
user43968

Reputation: 2129

C:\users\myuser.ssh is the right place.

If the config file isn't there simply create it. the Following command in the .ssh folder for example.

touch config

And then put your config inside

Upvotes: 1

Related Questions