Change ssh connection file chooser setup, fixes #306