diff --git a/scripts/create-pull-request b/scripts/create-pull-request
index c6cf817..96cf04f 100755
--- a/scripts/create-pull-request
+++ b/scripts/create-pull-request
@@ -65,6 +65,16 @@ while getopts "b:hi:m:o:p:r:s:u:" OPT; do
 			echo "ERROR: git config failed to find a url for '$REMOTE'"
 			exit 1
 		fi
+
+		# Rewrite known private URLs to public URLs
+		case "$REMOTE_URL" in
+		*ssh://git@git.pokylinux.org*)
+			REMOTE_URL=${REMOTE_URL/'ssh://git@'/'git://'}
+			;;
+		*ssh://git@git.yoctoproject.org*)
+			REMOTE_URL=${REMOTE_URL/"ssh://git@"/"git://"}
+			;;
+		esac
 		;;
 	esac
 done
