This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Lists the binary files which runs with privileged rights | |
find / -perm -u=s -type f 2>/dev/null | |
# add the lines below to .bashrc file for autostarting the ssh-agent and adding all the private keys in msys2 | |
eval `ssh-agent -s` 1>/dev/null | |
find ~/.ssh/ -type f -exec grep -l "PRIVATE" {} \; | xargs ssh-add >/dev/null 2>&1 | |
NewerOlder