Flew inside, took some time to find species: Synanthedon myopaeformis

2016-07-20 15.01.29

https://en.wikipedia.org/wiki/Synanthedon_myopaeformis In dutch called appelglasvlinder. It seems to be a moth but due to it’s shape able to operate during the day. According to some internet sources it has a wasp like figure and that should of most predators. At first I had to look close to spot it had 4 wings (or two pairs). Flies do not. Also the transparent wings didn’t make it obvious it was a butterfly/moth.


The picture to the left shows the same “moth” however not close up. Notice the pairs of wings are not visible.

I still wonder why it’s completely black with a red band. It’s more noticeable this way.

Don’t forget to look at it’s family tree: https://en.wikipedia.org/wiki/Sesiidae

It’s whole class of moth’s trying to look and act like they are dangerous buggers. Hehe quite interesting and that all from one little bug that made a mistake and flew through my open door on a hot summers day. By the way, I set it free after taking pictures.


Surfing some more I came across this picture:

Taken from this website: http://www.ahw.me/

This bug is called: Tuinspinnendoder (Caliadurgus fasciatellus)  witch translates to: “Gardenspiderkiller”.  The colours look the same. So it’s a great mimic after all it seems.



Just finished reading the book post-human. It’s only 175 pages. The story is about an the human race on the brink of extinction due to an A.I. who believes it’s an GOD. Some nice unexpected plot twists makes it an fun book to read. I like also the way how the then modern humans are augmented with nano-bots. Those bots play a major role in the story.  It’s an story about how much should we let technology control our lives. Do we give up individuality for progress?

MDT ERROR 5624 when installing Windows 8.1

So I’m testing MDT on Windows 2012 R2 Standard and trying to install a Dutch Windows 8.1 VLK. However I got error/failure 5624.


I tried change settings, for instance unchecking “inject drivers” (disabling) and modified the script LTIApply.wsf using this link: Sysprep and Capture task sequence fails when it tries to capture Windows 8 or Windows 8.1 images. But still failures.

However if I deployed Windows 2012 R2 or Windows 7 everything worked fine.

I got it working after a lot of trial and error by redownloading the ISO and unzipping it with 7-zip and importing only the wim. Could work without unzipping (mounting it in the virtualmachine) or also importing the whole setup.

So the solution is: try again with a fresh ISO and possibly unzip it first then import only the wim.

expresscache (iSSD) on Samsung 5 series laptop

I could not get the iSSD (cache) working. I installed Windows 8.1 Core in UEFI mode. I had to reinstall Windows 8.1 Core on the laptop, which is a Samsung np530u3c-a07nl. I had removed all partitions (internal hdd en iSSD). Reinstalled Windows in UEFI mode which means that the internal HDD partition layout will be GPT. This is important to remember.

Installed all the drivers through Samsung software update program but no ssd cache available. I tried installing Intel RST but it gave an error “unsupported platform”.

Read on the net that you should partition the iSSD as HFS or HFS+ volume using diskpart but expresscache would not recognize my iSSD. Then using macdisk I created a MBR partition layout and formatted it as HFS+. This seemed to work as now in the settings app I could enable the cache. But then BSOD’s “kernel security check failure”. I read the possible cause of this error is When your main HDD is GPT and iSSD is MBR.

However I read that the expresscache software should normally automatically recognize the cache and do it’s magic. BTW I had the pull the software of someone’s mediafire share as I could not find it in Samsung software update program nor their website.

Then using a lead I read on a forum post. In software update program I choose other model then United States as country (instead of Netherlands) and now I could download it officially from Samsung and their last version.

In the diskpartition tool I removed the partition and only choose GPT as disk layout. Now when installing expresscache software it would recognize the iSSD with no problem and enabling it would not cause BSOD’s.

So to summarize:

1. Go to Computer Management –> Disk Management.

2. If any partitions on the iSSD right click and choose delete volume.

3. Right click on the disk name e.g. Disk 1 and choose GPT.

4. Go to Samsung Software Update –> Model –> Country United States –> <your model> –> Expresscache –> Install it.

5. Reboot computer.

6. Enable in settings (which now has extra option).


Installing Ubuntu as a Kiosk

Ubuntu Kiosk

Download the Installation Guide, Post Clone manual and setup scripts

Goal of this document is to explain how to Ubuntu 14.04 LTS as a fully automated desktop and kiosk.

I’ve found many examples on the internet on how to configure Ubuntu as an unmanaged desktop and Kiosk. To many hours spending on google to mention all of sources that made this document possible.

Below I will explain the following:


Install Ubuntu 14.04 LTS. 1

Install updates and Google Chrome. 3

Configure security. 4

Create a new user for daily usage. 5

Create locked down Kiosk user. 5

Configure Kiosk user. 7

Automatically start app at login of Kiosk user. 8

Finishing touches. 9

Clone. 10

Install Ubuntu 14.04 LTS

To create an as generic possible clone I will install Ubuntu in VMware player and after imaging deploy it in VirtualBox.


This straight forward. Download the ISO of Ubuntu 14.04 LTS Desktop 32 bit version. I choose the 32bit version because it’s possible that I will be installing it on machines not capable of running 64 mode or only have 1-2 GB of RAM. If your goal is the same as mine and that is to create an universal image then install the 32bit version of Ubuntu. You should be looking for ubuntu-14.04-desktop-i386.iso. You could also install a minimal version Ubuntu but I don’t want mess with missing applications or drivers later on.

During launch choose your language. In my case “Dutch/Nederland’s” and instead of trying click install and use entire disk. Follow normal installation procedures and create default user. This will be the user that has sudo rights and the technician will use to log in to do maintenance. So choose carefully and note the user name and password. I will create the user “Systeembeheerder” which is Dutch for systemadministrator. Also I name the machine KioskUbuntu.

Remove amazon crap:

sudo apt-get remove unity-scope-home
sudo apt-get remove unity-webapps-common

Don’t forget to install vmware-tools for better performance!

Install updates and Google Chrome

After installation run the following command from the terminal (unity button and type “terminal”):

sudo apt-get update && sudo apt-get upgrade

If you get errors do:

sudo apt-get –f install

Install Google Chrome:

sudo apt-get install chromium-browser

Reboot the system:

sudo reboot

Check again for updates:

sudo apt-get update && sudo apt-get upgrade
Configure to retrieve updates automatically

Install unattended updates:

sudo apt-get install unattended-upgrades

Next you need to configure the automatic updates and uncomment (remove //) what you to automatically update. In my case security and updates:

sudo nano /etc/apt/apt.conf.d/50unattended-upgrades

Now enable the automatic updates by editing the following file:

sudo nano /etc/apt/apt.conf.d/10periodic

Edit it to this:

APT::Periodic::Update-Package-Lists “1”;
APT::Periodic::Download-Upgradeable-Packages “1”;
APT::Periodic::AutocleanInterval “7”;
APT::Periodic::Unattended-Upgrade “1”;

Configure security

Linux and there by Ubuntu is by default a lot more secure then Windows because:

1. You don’t run by default as an user with admin rights.

2. A lot less malware out there for Linux.

Still I want to build a set and forget machine. I’m going to:

1. Disable root login from ssh.

2. Enable firewall and only allow outgoing traffic.

3. Restricting DMESG

4. Fail2Ban

5. Other

Disable root login from ssh. By editing the following file:

PermitRootLogin no

sudo nano /etc/ssh/sshd_config

And add the following line into this:

Enable firewall and disallow incoming traffic:

sudo ufw enable

sudo ufw default deny incoming

Restrict DMESG access:

Not working!!!

By default unprivileged users can read a lot of your systems logs. These logs can contain critical information for an attacker hoping to exploit your system further.

This is useful for debugging, but you’re not likely to have to do that. Edit the file in sysctl.d will prevent access by unprivileged users:

sudo nano /etc/sysctl.d/10-kernel-hardening.conf



BUG: After rebooting the VM may only display in 640×480 you need to open the menu player à power and it will display normally again.

Install Fail2Ban:

Fail2ban is a daemon that monitors login attempts to a server and blocks suspicious activity as it occurs. It’swell configured out of the box.

sudo apt-get install fail2ban
sudo reboot


You could continue to harden the system but the price is that you create a system that is harder to configure or manage. You could read the following article: http://www.insanitybit.com/2012/12/17/hardening-ubuntu-linux/

Create a new user for daily usage

If all that you wanted to do is create an automated desktop that you only have to create an user that is used for daily usage. Or leave it as it is and let user login as the guest user.

Create locked down Kiosk user

Below the script will create a user called “kiosk” mount it’s home directory in a way that changes made are lost after logout or reboot. After running the script don’t reboot the VM yet. Configure the user account in the way you want. This will create a locked down user account. However still with the full desktop available to users. It will also disable the guest login.

Save the script as for example setup_kiosk.sh in your home dir:

Using script from https://gist.github.com/anonymous/5bba6c9b6425a42b4ea1#file-setup_kiosk-sh:

Execute it but first allow execute rights:

chmod a+x setup_kiosk.sh
sudo ./setup_kiosk.sh

Note: The following script sets the user kiosk to auto login at boot, after logout after 15 seconds. You can change this behavior by editing the lines:


#!/bin/bash# This script# – creates a user (named below)# – sets up a union (aufs) filesystem on top of the users immutable home

# – creates a cleanup script (/usr/local/bin/cleanup.sh) that empties the aufs

# layer on login/logout/boot

# – replaces the lightdm config

# – replaces rc.local to run the script


# After running the script, the aufs is not mounted, yet. So you can log in

# as the userm and set everything up as you like. Only after a reboot the aufs

# is mounted and the user home becomes immutable.


# If you ever need to change anything, log in as a different (admin) user

# and umount the aufs before you log in again as the kiosk user.

# sudo umount -l -t aufs /home/kiosk

# the username to protect


# disable hardlink restrictions

echo “kernel.yama.protected_nonaccess_hardlinks=0″ | sudo tee /etc/sysctl.d/60-hardlink-restrictions-disabled.conf

# install whois which is needed for mkpasswd

sudo apt-get -y install whois

# set up the user

sudo adduser –gecos ‘,,,’ –disabled-password $USERNAME # create blank user

sudo usermod -a -G adm,dialout,cdrom,plugdev,fuse $USERNAME # adds user to default groups

sudo usermod -p $(mkpasswd ”) $USERNAME # sets empty password

sudo passwd -n 100000 $USERNAME # prevents user from changing password

# create directory to store aufs data in

sudo install -d -o $USERNAME -g $USERNAME /home/.${USERNAME}_rw

# set up the mount

echo “none /home/${USERNAME} aufs br:/home/.${USERNAME}_rw:/home/${USERNAME} 0 0” | sudo tee -a /etc/fstab

# create lightdm settings to run our cleanup script, disable guests and enable manual

# login (for uids < 1000). just change the admins uid to 999 to make him disappear in lightdm.

sudo tee /etc/lightdm/lightdm.conf > /dev/null <<-EOFA








greeter-setup-script=/usr/local/bin/cleanup.sh login

session-cleanup-script=/usr/local/bin/cleanup.sh logout


# change rc.local to run cleanup script

sudo tee /etc/rc.local > /dev/null <<-EOFB

#!/bin/sh -e

/usr/local/bin/cleanup.sh \$0

exit 0


# cleanup script to clear aufs filesystem

sudo tee /usr/local/bin/cleanup.sh > /dev/null <<-‘EOFC’


# only run when aufs is mounted

test -n “mount -l -t aufs” || exit 0;

# delete function to clear out aufs with exceptions

delete (){

# find arguments to exclude aufs objects

no_aufs=”! -name ‘.wh*'”

# extra find arguments


#securely delete

cd /home/.kiosk_rw && find . -maxdepth 1 -mindepth 1 $no_aufs $more -print0|xargs -0 rm -rf


case “$1” in


test $LOGNAME = “kiosk” && delete “! -name .pulse”



# delete with delay

test $LOGNAME = “kiosk” && (sleep 3; delete “! -name .pulse”) &








exit 0


# set correct username in cleanup.sh

sudo sed -i “s/kiosk/$USERNAME/g” /usr/local/bin/cleanup.sh

sudo chmod 754 /usr/local/bin/cleanup

Configure Kiosk user

Now that the user has been created you need to configure it because “remember” has been to forget all changes after logout and reboot. If you haven’t rebooted the VM then you can login as the user kiosk. Else unmounts the aufs with the following command:

sudo umount -l -t aufs /home/kiosk

For my usage I will:

1. Disable lockscreen

2. Change theme and rearrange starter pictograms

3. Set correct homepages in firefox and chrome

Disable lockscreen

Go to System Settings àBrightness and Lock clip_image002
And change to this: clip_image004


Change Theme and rearrange starter

Goto System settings à Appearance clip_image006
Choose the theme you want to use.


Set correct homepages in firefox and chrome

I will not explain how to set a homepage in firefox or chrome. You should know this by now!

Automatically start app at login of Kiosk user

Now if you want the real kiosk mode you need to configure an application to start at login. I will configure firefox and google chromium to start at login in fullscreen mode.

Firefox’s doesn’t have a native kiosk mode but that also gives it an advantage. If I start Firefox in fullscreenmode the user can’t use the desktop only the browser but still surf to other webpages by moving the point to the top of the screen and the navigation buttons will appear. Before enabling the script start firefox and press F11 and close Firefox. Please note that you can minimize Firefox and still reach the desktop.

Google’s kiosk mode has the advantage that the end-user can never use the navigation buttons and basically can only stay on the page you have set as starter page.

A user could still go-to the desktop by pressing ALT+F4 to quit the application but the simple script that launches the browser will also check if it’s still running and if not restart it after 5 seconds.

As the user kiosk (pay attention that you haven’t rebooted the computer since creating the user else umount the aufs and login as the user. Create the file kiosk.sh in the home dir:

nano kiosk.sh

Enter the following to start the kiosk application:

#!/usr/bin/env bashwhile true; do
# chromium-browser –incognito –start-maximized –kiosk http://<your_app_url>/;
# if you want to allow users to go to different websites use firefox
# first launch firefox goto fullscreen mode. Close the screenkiosk
#firefox http://www.yourwebsite.com;
sleep 5s;

Uncomment the line chromium-browser.. or firefox.. to pick one of them as your kiosk application.

Allow to script to be executed:

chmod a+x kiosk.sh

Automatically start the script at login:

In unity enter “gnome-session-properties” and add kiosk.sh to the startup applications.

Finishing touches

A small burden to my eyes is that when the login screen is presented you still see the sysadmin account and for the kiosk user if you click on it asks for a password (just hit enter). I’m going to fix this.

Hide sysadmin account

Note: although the sysadmin account is not shown any more at login you can still manually login as the user if you go to the login option and manually enter its name. The user account Systeembeheerder that I entered during setup has a uid (user ID) and gid (group ID) of 1000 or higher. Lightdm the X display manager shows users at the welcome screen with an uid of 1000 or higher. So to hide it I will change it to 999.

Reboot the computer else you will get error messages that user is still logged on else use pkill. At the login screen press ctrl+alt+F1 to open a virtual console.

First login as the sysadmin and enable the root account and exit the login:

sudo passwd root

Now login as root and if you get messages when trying to change uid and gid kill open sessions of sysadmin account by doing this:

pkill –u <username>

Change the uid and gid of sysadmin account:

Usermod –u 999 <username>
groupmod –g 999 <username>

Update rights to the sysadmins folder else you could get strange errors:

chown -R <username>:<username> /home/<username>

You could get errors mounting usb devices because of the changed uid and gid. If it exists remove the directory /media/<username>

rmdir /media/<username>

Disable root account. First logout as root and then login as the sysadmin and enter following:

sudo passwd –dl root

Bypass password prompt for user kiosk:


sudo sed -i ‘s/nullok_secure/nullok/’ /etc/pam.d/common-auth

Now at the login screen you will not be asked for a password for the user kiosk.


There are many ways to clone the system. If you are going to deploy multiple systems on same network you need to change the hostname after deploying.

Before I start cloning I will change some things to create a more universal image.

1. Disable autologin of kiosk user and cleanup script

2. Disable kiosk user

3. Disable mount of aufs filesystem at boot

4. Put documents on sysadmins desktop on how to re-enable steps above

5. Uninstall vmwaretools

Disable autologin kioskuser and cleaup script:

Edit the file /etc/lightdm/lightdm.conf comment out the lines:



#greeter-setup-script=/usr/local/bin/cleanup.sh login

#session-cleanup-script=/usr/local/bin/cleanup.sh logout


Disable Kiosk user

Enter the following:

sudo passwd -l kiosk

Hide the user from login screen

Change ID to under 500

sudo usermod -u 499 kiosk


Disable mounting of aufs filesystem:

Comment out in /etc/fstab the following line:

# none /home/kiosk aufs br:/home/.kiosk_rw:/home/$kiosk 0 0

Put documents on sysadmins desktop:

Put this document on sysadmins desktop as reference guide and create a new text document on the sysadmins and name it post_clone_kiosk.txt put the following in it:

You have just restored an image you will need to do the following:

1. Change hostname if you are deploying more than one computer on same network. You do this by: hostnamectl set-hostname <new-hostname>

2. If you want full desktop experience create a new user with sudo rights. This can be done using GUI. Unity enter “Users and Groups”

3. Enable Kiosk User, this is a bit more work:

a. Edit the file /etc/lightdm/lightdm.conf uncomment the lines:



greeter-setup-script=/usr/local/bin/cleanup.sh login

session-cleanup-script=/usr/local/bin/cleanup.sh logout


b. sudo passwd –u kiosk

c. sudo usermod -u 100000 kiosk


4. If you don’t want to launch the kiosk app at login of the kiosk user then you need to disable it in startup applications:

a. Login as user kiosk

b. In unity enter “gnome-session-properties” and remove kiosk.sh from the startup applications.

5. Load aufs at boot. Uncomment in /etc/fstab

a. none /home/kiosk aufs br:/home/.kiosk_rw:/home/$kiosk 0 0

6. See document “Installing Ubuntu as a Kiosk.docx for more information.

Uninstall vmware-tools

sudo vmware-uninstall-tools.pl


There are many ways on how to clone an linux system. I prefer to use the free option called Redo Backup as it’s fast and has nice gui and starts from flash drive. You can find it here: http://redobackup.org/ .

Please note that Redo Backup can’t restore to harddisks smaller then the original. So if you VM hdd is 30GB you can’t restore to a 20GB HDD but you can to a 40GB or 30GB. So if you need to restore to a really old computer then perhaps you first not even be using Ubuntu 14.04 LTS but something lighter. Else create a VM hdd with a size of 10GB.


Download the Installation Guide, Post Clone manual and setup scripts

Squid not caching

I configured a small vm with ubuntu server (virtualmachine F4 option). With the intention to run a small proxy server on it. The reason I want that is because I often install vm’s and need to download patches and software. This takes a lot of time even on my 60mb line.

However the problem was that squid was not caching any files be it an iso or zip for example. After searching a long time and continuously tweaking the squid.conf. I grew very tired. Then one blog post told me to put cache_dir option on the bottom as last option.

So instead of:

cache_dir ufs /home/me/cache/ 80000 16 256
minimum_object_size 0 bytes
maximum_object_size 5 GB
maximum_object_size_in_memory 64 MB

You do this:

minimum_object_size 0 bytes
maximum_object_size 5 GB
maximum_object_size_in_memory 64 MB
cache_dir ufs /home/me/cache/ 80000 16 256

I put my cache_dir option way down after all other options, restarted squid and voila I had cache hits.

Tip use: sudo /usr/sbin/squid3 –NCd1 to test your config file for errors.

Citrix Concurrent Sessions

At the place where I work we have many locations. Most small (1-3 users), some medium (5-10) and a couple of bigger (40+ users). When we ask the local office manager how many people are working at a given day their numbers seem always much bigger then when I visit the locations.

These numbers are important because each location is connected via cisco routers to our citrix farm. We need to know the number of concurrent users to estimate the total bandwidth for these locations. As these are business class DSL lines with SLA’s of 4 or 8 hours they can get expensive. So we need to know if we have to much bandwidth at a location or not enough.

I was asked if I could produce a list of concurrent user for a given location. I couldn’t really. Well I could log on to the farm and then look at the logged on users and their ip’s take a note and repeat this every few hours. However I hate doing things manually and this would be very tedious and error prone when doing so.

The first thing I always do I searching on Google. I found I was not the first person wanting to know how to log the number of concurrent users at specific times. However I also wanted to know it for each location. Not just the whole farm.

Please note we are still using Windows 2003 Server with Citrix Presentation Server 4.7 (now called xenapp).

One of the first things I found was on the citrix website and that was a simple vbscript that calls a citrix-farm active-x control and lists the session information like: username, server, logged-on time etc. You can find that script here: Citrix CTX103407. That was pretty cool. I got a list of all logged on users (don’t need that) and their session ip’s (do need that). I ran the vbscript and piped output to a text file.

Each of our locations uses their own subnet. For example location 1: location 2: Now that I had a list with all session ip’s I needed to sort and count them for each subnet. This sounds easy but someone with no programming experience and especially vbscript this was a hard problem to solve. I had no idea where to start. So I thought I would start a programming course on codecademy.com which I did and started python. But that went to slow and I started googling for sorting ip adresses, counting and more things I could think of.

Many times I was reading peoples code on http://stackexchange.com/ and they didn’t have the same problems but often wanted to do the same but on different objects. So with trail and error and due to the questions posted and answered on the internet I tinkered something together. Finally I made it so that it would save the end result in a cvs file that I could import into excel.

The script runs as a scheduled task on a citrix server and logs (appends) every x hours/minutes the total number of sessions for each location, VPN users and total for the farm. In excel I made a simple formula that show that MAX value for each column (= location).

Attached the files.  sessions.7zip There are 3 files:

1. sessies.vbs –> the code.
2. locaties-ips.cvs –> Here I have our locations and their subnets.
3. locaties.cvs –> Stores the sorted and counted values (appends them).

The comments are in dutch, so sorry if you don’t understand that. I will try to explain it.

There are a couple of functions.

CitrixFarmSessies: Creates activex object, lists session ip’s and then saves results in file ip.txt (which it creates if it doesn’t exist or overwrites if it does).

Subnetten:Reads the used subnets by the org from locaties-ips.cvs puts them in an array.

Sorteren: reads the session ip’s from ip.txt then using the array with subnets it uses the function RegExp to sort search for pattern (subnet) and count number of hits. It does this is a loop for each subnet in the array.

Opslaan: Formats first a date/time/day string. Then converts the array with sorted results to an text string that it appends to the date time string with then as appended to the file locaties.cvs.

HP Website

pSo slooowww!!! Always so slow. About 7 years that I have been using HP products and it has always been so slow! /p pJust got a new HP Probook and did a clean install (to remove their crapware and tools I don’t need). Now trying download and install the drivers and it takes forever! While I have a 60mb line. /p pDell is better, their pro series are very nice and so is their service. And their downloads work just fine. However I think that their website is becoming slower and I miss the customize option of their website. 6 years ago I could choose a laptop, then what kind of screen, size HDD, ram, OS and etc…/p

Why I hate gmail! Or why Google is starting to suck more and more.

pThe new Gmail interface really sucks. I just wanted to type a new e-mail to some company and the Gmail interface forced me to type the message in the right bottom corner. /p pa href=”http://www.lebigmac.nl/wp-content/uploads/2014/01/gmailsucks.png”img title=”gmailsucks” style=”border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px” border=”0″ alt=”gmailsucks” src=”http://www.lebigmac.nl/wp-content/uploads/2014/01/gmailsucks_thumb.png” width=”244″ height=”138″ //a/p pI tried dragging that window to other position. But no, Google seems to think I need to write my new messages on the very right bottom of my screen. And as I have a 24 inch HD screen this is very annoying! Thinking about it. It should be possible to drag it, not?/p pThen I thought, maybe this html5 I read about or web 2.0 makes the windows drag able to middle. But no. I should according to Google write my new messages in the bottom right corner of my screen./p pThen I thought, ooh I’m using unsupported browser with Gmail. But no, I’m using Google chrome on windows 7. So that is not it./p pI can’t find an intuitive way to move that compose window. A quick Google doesn’t give any solutions besides installing some plugin./p pI really hate that they are forcing me to use a GUI that doesn’t work. I liked the first Gmail theme. It was very plain but it got the job done. /p pAlso upsetting is the way they are forcing Google+ down my throat. Want to watch YouTube clip? Need Google+. Want to do anything on your android phone? You must have Google+. Want to leave a comment for app you downloaded? Google +. I know their social media website is dying but must they force it down my throat so that they can tell the media that they have so many users, while most of them are not active users?/p

Backuppc gives: Unable to read 4 bytes

Got fatal error during xfer (Unable to read 4 bytes)

I had the above problem with backuppc. I did everything as written in the installation manual but it would not go away. Also searching through google did not help.

So I went through the logs and noticed that backuppc wanted to connect to other server/machine over ssh as root. That is strange as I told to connect as user backuppc that exists on the server and the to be backup’ed server.

At certain point you create a ssh key and copy it to the other servers right? Then you connect one time to check if password less login works? I did this for the user backuppc as that user runs the backups. But gave me the horrible error.

Now I did the same for the user root and allowing it to login with that key and the problem was solved no more “unable to read 4 bytes” error. It is not nice fix but it works now.