Removes non-variable variables, adds sshd function