more environment var stuff and tweak ssh