Bugfix for ssh connections