0% found this document useful (0 votes)
67 views3 pages

PrivateKye Setup For Git

Open your terminal and edit the ~/.ssh/config file to add a new configuration for the satark_web user on 203.159.16.181, specifying the private key file's location. Save the file and test the new configuration by running "ssh [email protected]", which should connect using the configured key if set up correctly. You can now perform Git operations as usual to that server.

Uploaded by

Coc Saroj
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
67 views3 pages

PrivateKye Setup For Git

Open your terminal and edit the ~/.ssh/config file to add a new configuration for the satark_web user on 203.159.16.181, specifying the private key file's location. Save the file and test the new configuration by running "ssh [email protected]", which should connect using the configured key if set up correctly. You can now perform Git operations as usual to that server.

Uploaded by

Coc Saroj
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

1.

Open git-bash/terminal 
2. Open edit ssh config file in the .ssh directory using `nano 
~/.ssh/config` 
The window should look like this. 
 

 
 
3. Add a config option for 203.159.16.181’s satark_web user. 
IdentityFile​ is the private key that was sent in your mail. 
Provide the actual location of the file and other configuration 
should remain the same. 
 
 
 
 
4. Press c
​ trl+x​ then Y
​ ​ then e
​ nter​ to save the file. 
 

 
 
5. Now check if the configuration was okay by the command 
s
​ sh [email protected]  
 
You should see similar output like this 
 
 
Now you can do your git operation as usual. 

You might also like