Category Archives : linux

Home  /  linux

multiple git sites using different ssh keys

First, you must use ssh-keygen to generate ssh key for your different accessing git sites. Like github, gitlab, or gitcafe etc. $ ssh-keygen -t rsa -b 4096 -C “your_email@example.com” Finally, edit ~/.ssh/config to add configuration to specific git site $ vi ~/.ssh/config Host gitlab.com RSAAuthentication yes IdentityFile ~/my-ssh-key-directory/my-gitlab-private-key-filename User git…

Build squashfs tools for Mac OS X

To squash/unsquash a Linux squashfs filesystem on a Mac, you can build the squashfs tools. A few modifications of the source are required for OS X: The FNM_EXTMATCH flag doesn’t exist in the fnmatch library on OS X. This just means that you can’t use glob patterns with mksquashfs. The constants to figure out…