consolidating basics + working ssh script