### Godot version

v4.0.beta.custom_build [d1e5903c6]

### System information

Arch Linux kernel 6.1.7-arch1-1 x86_64 OpenSSH 9.1p1-3

### Issue description

When using SSH remote deploy, if the deploy target has a pre-login message like Arch [/etc/issue](https://man.archlinux.org/man/issue.5) the SSH output is treated as only the first line and the output becomes the pre-login message like in the example below "Welcome to Arch Linux"

```
Creating temporary directory...
Executing: ssh -p 22 -p 22 davi@192.168.1.50 mktemp -d
Exit code: 0, Output: Welcome to Arch Linux
/tmp/tmp.BOugkHj1WF
```
Then, the SCP command is not executed as intended
```
Uploading archive...
Executing: scp -P 22 -P 22 /home/davi/.cache/godot/linuxbsd/tmp_linuxbsd_export.zip davi@192.168.1.50:Welcome to Arch Linux
Uploading scripts...
Executing: scp -P 22 -P 22 /home/davi/.cache/godot/linuxbsd/tmp_linuxbsd_export_start.sh davi@192.168.1.50:Welcome to Arch Linux
Executing: ssh -p 22 -p 22 davi@192.168.1.50 chmod +x "Welcome to Arch Linux/tmp_linuxbsd_export_start.sh"
Exit code: 1, Output: Welcome to Arch Linux
chmod: cannot access 'Welcome': No such file or directory
chmod: cannot access 'to': No such file or directory
chmod: cannot access 'Arch': No such file or directory
chmod: cannot access 'Linux/tmp_linuxbsd_export_start.sh': No such file or directory

Welcome to Arch Linux
chmod: cannot access 'Welcome': No such file or directory
chmod: cannot access 'to': No such file or directory
chmod: cannot access 'Arch': No such file or directory
chmod: cannot access 'Linux/tmp_linuxbsd_export_start.sh': No such file or directory
```

If not fixed that should be at least a documentation note (when it is written) for the user to disable pre-login messages if possible.

### Steps to reproduce

1. Enable a project to deploy with ssh
2. Set a host with pre-login message
3. Try to deploy
4. See the error on the console


### Minimal reproduction project

N/A
HashSet<String> features = get_features(p_preset, p_debug);
	PackedStringArray features_psa;
	for (const String &feature : features) {
		features_psa.push_back(feature);
	}
	
	uint32_t custom_resources_hash = HASH_MURMUR3_SEED;
	uint32_t custom_scene_hash = HASH_MURMUR3_SEED;
	LocalVector<Ref<EditorExportPlugin>> customize_resources_plugins;
	LocalVector<Ref<EditorExportPlugin>> customize_scenes_plugins;
	for (int i = 0; i < export_plugins.size(); i++) {
		if (export_plugins.write[i]->_begin_customize_resources(Ref<EditorExportPlatform>(this), features_psa)) {
			customize_resources_plugins.push_back(export_plugins[i]);
			custom_resources_hash = hash_murmur3_one_64(export_plugins[i]->_get_name().hash64(), custom_resources_hash);
			uint64_t hash = export_plugins[i]->_get_customization_configuration_hash();
			custom_resources_hash = hash_murmur3_one_64(hash, custom_resources_hash);
		}
		if (export_plugins.write[i]->_begin_customize_scenes(Ref<EditorExportPlatform>(this), features_psa)) {
			customize_scenes_plugins.push_back(export_plugins[i]);
			custom_resources_hash = hash_murmur3_one_64(export_plugins[i]->_get_name().hash64(), custom_resources_hash);
			uint64_t hash = export_plugins[i]->_get_customization_configuration_hash();
			custom_scene_hash = hash_murmur3_one_64(hash, custom_scene_hash);
		}
	}
	HashMap<String, FileExportCache> export_cache;
	String export_base_path = ProjectSettings::get_singleton()->get_project_data_path().path_join("exported/") + itos(custom_resources_hash);
	bool convert_text_to_binary = GLOBAL_GET("editor/export/convert_text_resources_to_binary");
	if (convert_text_to_binary || !customize_resources_plugins.is_empty() || !customize_scenes_plugins.is_empty()) {
		
		Ref<FileAccess> f = FileAccess::open(export_base_path.path_join("file_cache"), FileAccess::READ);