You can create additional SSH keys by simply providing a different name then id_rsa for the file name when prompted. Identity added: /Users/yourusername/.ssh/id_rsa ) This is a fork of these instructions, to make them more concise and solve the issues reported here. # save and close file $ ssh-add -K ~/.ssh/id_rsa This procedure explains how to install MySQL and MySQL Workbench using Homebrew on macOS. # add the following lines to the ~/.ssh/config file: We can type subl ~/.ssh/config Or code ~/.ssh/config instead to use other text editors. # open ~/.ssh/config file using the default Mac TextEdit editor. The file /Users/yourusername/.ssh/config does not exist. Įnter passphrase (empty for no passphrase ): To install these prerequisites, open a Terminal window and run the following commands. You can skip this step if you’ve already got Homebrew installed. # generate the key $ ssh-keygen -t rsa -b 4096 -C public/private rsa key pair.Įnter file in which to save the key (/Users/yourusername/.ssh/id_rsa ):Ĭreated directory '/Users/yourusername/.ssh'. Install Homebrew Seeing as I’m installing MySQL via Homebrew, it requires that Homebrew is installed. Using Homebrew you can install mysql simply by: brew install mysql. Ls: /Users/yourusername/.ssh: No such file or directory
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |