Friday , December 20 2024

SSH, FTP

SSH, FTP – articles, how-to-fix notes, fast solutions

How to recursively change a word in all site files

When managing a website, you may encounter situations where you need to replace a specific word or domain across multiple files. This task can arise for various reasons, such as updating outdated content, rebranding, or correcting errors. Fortunately, you can achieve this efficiently by using command-line tools to recursively find …

Read More »

How to generate ssh key on mac

This instruction is small, obvious and simple. Open a terminal, enter the command: ssh-keygen -t rsa Hooray, the key is created! cat ~/.ssh/id_rsa.pub Thus, the contents of the public key are displayed. If you work with GitLab, then inside you just copy the contents to Account – Settings – SSH …

Read More »

Invalid active developer path when trying to git clone

I had to spend some time on this problem. The description of this case – to the command git clone login@host . the terminal answered me: xcrun: error: invalid active developer path (/Applications/Xcode.app/Contents/Developer), missing xcrun at: /Applications/Xcode.app/Contents/Developer/usr/bin/xcrun Since I don’t need Xcode, the decision was made to remove it. Btw, …

Read More »

Load key .ssh/id_rsa: bad permissions

I had a rather minor problem when trying to run the git clone command: Cloning into '.'... @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: UNPROTECTED PRIVATE KEY FILE! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ Permissions 0644 for '/Users/meow/.ssh/id_rsa' are too open. It is required that your private key files are NOT accessible by others. This private key will …

Read More »

Do you remember me? Let’s work!

I have about 1500 contacts on Skype, 99% of which are customers. From time to time, messages like “Remember me? We worked with you a year ago. I have a new issue, can we work again?”. It’s cool and pleasant to receive such messages, they amuse my vanity as a …

Read More »