sapper1982, попробуйте: "ssh 192.168.1.1 -p 22 -l root 'PATH=$PATH:/sbin; ifconfig'".