Minor fixes

When ~/.ssh/config is absent, the script will create the config-file using 744 rights, this is not accepted by the ssh executable, so fixed this race-condition as well as renaming some variable in a more consistent matter