Tag: Linux

  • How To: Encrypt/Decrypt File with OpenSSL

    Encrypt/Decrypt File When security and integrity of a file is critical, such as with x509 certificates or other important documents, OpenSSL or other variant can be used to secure the file. With strong encryption and -hopefully- a strong password. OpenSSL is generally available on all UNIX variants, downloadable as an executable for Windows and is…

  • How To: Run a Command Quickly on Remote Server using SSH

    When working in a clustered Linux environment containing two or more servers, it is not uncommon to switch back and forth between the hosts. Even if it’s running one command. SSH is a powerful tool, it can do allot more than act as remote shell or tunnel traffic. One of those features is sending a…

  • How To: Linux – View Squid Proxy’s Active Cache Store

    Ever wanted to see whats going through Squid’s cache right at the moment? But get immediately discouraged with all the timestamps, SWAPOUT, RELEASE and other cache variables? I have a one-line for you! ~ # tail -f /var/log/squid/store.log|grep -oE ‘\b(http?)://[-A-Za-z0-9+&@#/%?=~_|!:,.;]*[-A-Za-z0-9+&@#/%=~_|]’ This will print out visited links that passes by squid in real time, it can…

  • Confessions of a SysOP – Linux Enthusiasm in the Enterprise Environment

    I used to be highly enthusiastic about open and free information technology, and I still am to some extent, but the workplace made me think critically in a new way. Ever since my first introduction to Linux a couple of years ago, running as a Knoppix Live DVD on my parents old HP 3GHz Pentium…

  • How To: TOTP 2FA Linux SSH Using Google-Authenticator

    Using only a username and password for authentication is no longer secure. With user-database dumps reaching millions of exposed, albeit hashed and salted, passwords. Secure authentication should include not only something you know, but also something you have (in your pocket… always). There have been several OTP and general 2FA solutions for Linux. From SMS…