Every time I initiate an ssh connection from my Mac to a Linux (Debian) I do get this warning: No xauth data; using fake authentication data for X11 forwarding. This also happens for tools that are using ssh, like git or mercurial. But personnally, I now always use SSH authentification, as it seems to be a better practice, because you use a personal pair of public/private keys that will prevent your password to be stored outside. Apart from the fact you can put a passphrase on your key, and then you also need to store the password on a credential manager or ssh-agent. 注意 sudo 创建目录需要输入当前 Mac 用户的密码 最后重新 clone 项目 以上问题是我在Mac电脑用xcode自带git、sourcetree、终端三个方式clone某个项目都不能成功克隆下来。 遇到的问题,其他项目都可以。 相关拓展博客地址:. Click to get the latest Buzzing content. Take A Sneak Peak At The Movies Coming Out This Week (8/12) Everything we know about ‘Shang-Chi and the Legend of the Ten Rings’.
(Note: These are the steps for a Windows installation of SourceTree. Not sure if there are differences for a Mac installation.)
Generate/Load SSH Keys:
1. Open SourceTree.
2. Pick “Create or Import SSH Keys” under “Tools” tab.
3. Keep default settings on new window and select “Generate” and follow instructions to generate SSH key pair.
4. Save both the public and private key.
5. Open your system tray and select Pageant (the icon of a computer wearing a fedora).
6. Click “Add Key” and select the private key you generated.
7. If the repository you want to clone is on an online hosting service, then copy public key and add to your site profile.
Clone Repository:
1. Pick “Clone / New” under “File” tab.
2. Copy SSH clone URL from repository to the line “Source Path / URL”.
![Ssh Ssh](https://bitbucket.org/UnityUIExtensions/unity-ui-extensions/wiki/Controls/Images/UIGridRendererSample.jpg)
Sourcetree Mac Ssh Key
3. Select desired Destination Path and Name.
4. Click “Clone”.
Ssh Add Key Mac
5. You’re done! The repo may take a while to clone, so a bit of patience is required.