ENDSSH

علی ذوالفقار
1399/03/19 14:04:51 (904)
all commands between ENDSSH wil run on the remote host
ssh root@192.168.0.1 << 'ENDSSH'
    pm2 stop 0 
    rm -rf /webapp
    pm2 start 0 
ENDSSH
Back