Move net-ssh specific code to separate file