Rebase sg

This is no longer needed after the hack I did with the beautiful hack I did in the ssh.py, so removing it