diff --git a/scripts/deploy/deploy-control-plane.sh b/scripts/deploy/deploy-control-plane.sh index 889f8e4..9ebe4bc 100755 --- a/scripts/deploy/deploy-control-plane.sh +++ b/scripts/deploy/deploy-control-plane.sh @@ -11,10 +11,10 @@ MODE=$1 case "$MODE" in "--ssh") echo "Deploying to VPS ($VPS_IP) via SSH..." - ssh "$USER@$VPS_IP" "cd $REMOTE_REPO_PATH && git pull origin master && cd services/control-plane && bash deploy-local.sh" + ssh -t "$USER@$VPS_IP" "cd $REMOTE_REPO_PATH && git pull origin master && cd services/control-plane && bash deploy-local.sh" ;; "--print") - echo "ssh $USER@$VPS_IP \"cd $REMOTE_REPO_PATH && git pull origin master && cd services/control-plane && bash deploy-local.sh\"" + echo "ssh -t $USER@$VPS_IP \"cd $REMOTE_REPO_PATH && git pull origin master && cd services/control-plane && bash deploy-local.sh\"" ;; *) echo "Usage: $0 [--ssh|--print]"