![]() If you don’t see this, try the command given below instead: sudo /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild You should see something like this: Accept XCode License Here’s the link for the same – Accept XCode LicenseĪfter installing XCode Command Line Tools, fire up your terminal and type the following command: sudo xcodebuild -license Surprisingly, it was not where it was supposed to be found but buried deep down on Apple’s site. I could find the correct link to the Command Line Tools for my version of XCode after spending a good amount of town. This, however, for me, was easier said than done. Once XCode installation completes successfully, we need to install what is called XCode Command Line Tools. You can download and install it from here – Install Command Line Tools for XCode To install some pre-requisites which in turn will allow us to install PuTTY on the MacBook Air M1, you will need to install XCode. So, now let’s go through each of the above-mentioned steps in detail. We have just been preparing the ground so far Fun fact, we haven’t even installed PuTTY yet.Install Command Line Tools for XCode for your version from here –.So, I am jotting down the process below for anyone (or future me) who might need to see this. When I jumped into setup PuTTY on my new MacBook Air, I realized that installing PuTTY on MacBook was not as simple as installing PuTTY on Windows is. If you don’t already know, on the web front, I mainly work on Laravel, Tailwind CSS, VueJS, etc., and on the mobile front, I work primarily on Flutter. However, before I could use it, I had to set it up for work.Īnd one of the first things that needed to be done before anything else was setting up PuTTY as accessing remote servers via the shell is one of the most frequent and important things that I do. Recently, I purchased a MacBook Air M1 as another development machine in my toolkit. However, PuTTy users will need it for the creation of the SSH keys.As a developer, changing platforms is not really a straightforward process. You can even download it separately if you only need to generate public and private key pairs. The app is not strictly related to PuTTy. Moreover, it allows the loading of existing ones so that you can make changes to them. It simplifies the process and creates new key pairs with a few clicks. PuTTYgen is a useful networking tool that allows users to generate SSH keys. Meanwhile, SSH-2 supports multiple key types, including Digital Signature Algorithm (DSA), Elliptic Curve Digital Signature Algorithm (ECDSA), and Ed25519. However, SSH-1 only supports one key, which is Rivest–Shamir–Adleman (RSA). The app currently supports key types for both SSH-2 and SSH-1 protocols. You can even make extra copies of the public key.īefore generating a key pair, it is important to know the type of key that PuTTYgen supports. You can also load existing key pairs to the app, which can change its passphrase and comment. Then the public key will be available for copying and pasting. If you want, you can load the private key back into the app later. ![]() The public key can be copied to your server by either copy-pasting it from the public key to the OpenSSH authorized_keys file box or through the Save public key button.
0 Comments
Leave a Reply. |