running commands as sudo and ssh flag changed to -t