ssh user@192.168.1.108 "su -c "mount devpts /dev/pts -t devpts" root" or, ssh user@192.168.1.108 "sudo -S mount devpts /dev/pts -t devpts"