create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
| import os | |
| import pwd | |
| file_path = '/tmp/example' | |
| if not os.path.exists(file_path): | |
| os.makedirs(file_path) # creates with default perms 0777 | |
| uid, gid = pwd.getpwnam('root').pw_uid, pwd.getpwnam('www-data').pw_uid | |
| os.chown(file_path, uid, gid) # set user:group as root:www-data | |
| # go check with ls -lah /tmp/example |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"