Edited comments, separated out permission setting, added promise to no_ssh_server to ensure server is not running