How to make Xcode remember my private git repositories password?

I am running a private git repository on my virtual private server and have my Xcode project linked to it via ssh:
ssh://username@myhost.com:999/home/username/Repository.git

How can i make Xcode remember my password?
I tried entering the password in the Xcode settings/accounts/repository and in the ssh url itself.
Every time I open Xcode it asked me for the password.

  • How save or safately avoid the key of Social Networks like Facebook or LinkedIn in GitHub
  • Show all files recently committed by me on IntelliJ IDEA
  • CI: One git repository fits it all? Or: gitflow for multiple projects
  • How to use gitignore command in git
  • What are the underlying git merge processes within the staging area?
  • Can I push a commit made in detached HEAD state
  • Is there any way to make Xcode remember the password?

    EDIT:
    This is the solution, Thanks to Zaph

    Run these two lines in terminal:

    ssh-keygen -t rsa
    cat ~/.ssh/*.pub | ssh user@host.com -p 22 'umask 077; cat >>.ssh/authorized_keys'
    

  • Undo git stash pop that results in merge conflict
  • What is the priority of Git project, global, and system variables?
  • How does bup (git-based image backup) computes hashes of stored objects
  • Git analog to Hg's Bigfiles Extension?
  • How to generate Git commit e-mails using built-in mechanisms?
  • Git: Object in Version Control cannot be removed
  • One Solution collect form web for “How to make Xcode remember my private git repositories password?”

    Setup SSH keys without a password on your development Mac in “~/.ssh”. Add the public key to your server “~/.ssh/authorized_keys”.

    Initially login with ssh and insure your Mac is added to the server known hosts: “~/.ssh/Known_hosts”.

    Git Baby is a git and github fan, let's start git clone.