change ssh commands order