SSH Public/Private-Key Login Generator 2.0

SSH_Public_Private_Key_Loin_GeneratorThis little script offers the following functionalities:

  • Install new public/private ssh key to log in without username / password
  • Install existing public key on multiple remote server
  • Register private key locally

After installation of your (new) keys you will be able to login to your server without user / password credentials.

Download (or contribute) on gitHub

„SSH Public/Private-Key Login Generator 2.0“ weiterlesen

Google Drive – Crash

„Actually“ () Google Drive is crashing all the time if you try to sync more than ~3000 files. This is because of a memory leak in the app and an other interesting point! Google Drive is an 32 Bit application.

There actually is just one way to sync Google Drive. Restart Google Drive every ~20 Minutes when you got an error message like:

NSMallocException – Attempt to allocate xxxx bytes for NS/CFData filed.
Google Drive Crash NSMallocException

 

 

 

 

 

 

 

 

 

With this script you automatically can restart Google Drive every 20 Minuted for the initial synchronization:

#!/bin/bash

while true;
do
killall Google\ Drive
open /Applications/Google\ Drive.app
sleep 1200
done

DriveRestart.sh

Mac OSX – perfect Terminal Settings

TerminalSeveral years I used the Terminals as it is. Some months ago I started configuring the Terminal settings and now it’s perfect.
To get the settings enabled for your terminal just download and install the free font and my terminal settings:

 

 

  1. SourceCodePro
  2. Settings.terminal
  3. To get the perfect font colors follow my article from 2010: ls –color unter Mac OSX / BSD Unix

Features:

  • Perfect font …
    • to get the differences between chars like l and I or O and 0
    • not to fat or thin
    • monospaced
  • Terminal windows in the background are translucent
  • Cursor is high visible
  • special window title
  • background color is a very eye friendly light grey (very close to white)

 

perfect Terminal

Script to create Public/Private-key SSH login without password (UPDATE: added port settings)

SSH_Communications_Security_logo.svgTo increment your servers security one position might by to disable ssh login with password and use certificated login instead. But if you are not familiar withe the given tools, creating the requested certificates and how to install them on the server and your client the following script will help you. Just run it on your Mac or *nix system.  „Script to create Public/Private-key SSH login without password (UPDATE: added port settings)“ weiterlesen