<SYSTEM_TASK:>
Given the following text description, write Python code to implement the functionality described below step by step
<END_TASK>
<USER_TASK:>
Description:
 1. version control using git built in pycharm
When using pycharm in Ubuntu, I got an error associated id_rsa. I was clear that this error must be caused by my settings on the shsh keys. In this ubuntu, I have generated muliple ssh private/public key paris before, this makes the pycharm version control frustrated.
Up till now, pycharm itself does not support several keys. However, a plugin called intellij-plugins can help save the key and passphrase information. For you information, you can see the stackoverflow discussion here
Here, I will show you how to solve this problem using the .ssh/config file.
To make it clear, I genereate a new ssh key pair
Step1:  I named the private key file to be 'id_rsa_pycharm-git', corerspondingly it's public key would be 'id_rsa_pycharm-git.pub'.
<ASSISTANT_TASK:>
Python Code:
ssh-keygen -t rsa -b 4096 -C "fyuewen@hotmail.com"
Explanation: 1. version control using git built in pycharm
When using pycharm in Ubuntu, I got an error associated id_rsa. I was clear that this error must be caused by my settings on the shsh keys. In this ubuntu, I have generated muliple ssh private/public key paris before, this makes the pycharm version control frustrated.
Up till now, pycharm itself does not support several keys. However, a plugin called intellij-plugins can help save the key and passphrase information. For you information, you can see the stackoverflow discussion here
Here, I will show you how to solve this problem using the .ssh/config file.
To make it clear, I genereate a new ssh key pair:
End of explanation
ssh-add ~/.ssh/id_rsa_pycharm-git
ssh-add -l # to ensure the key is added
Explanation: I named the private key file to be 'id_rsa_pycharm-git', corerspondingly it's public key would be 'id_rsa_pycharm-git.pub'.
End of explanation
<END_TASK>