diff --git a/src/Command/Environment/EnvironmentSshCommand.php b/src/Command/Environment/EnvironmentSshCommand.php
index cfe5b6d27b..ff35aa4874 100644
--- a/src/Command/Environment/EnvironmentSshCommand.php
+++ b/src/Command/Environment/EnvironmentSshCommand.php
@@ -90,6 +90,16 @@ protected function execute(InputInterface $input, OutputInterface $output)
throw new InvalidArgumentException('The cmd argument is required when running via "multi"');
}
+ if ($input->getOption('instance') === null && $this->stdErr->isVerbose()) {
+ $allUrls = $environment->getSshInstanceURLs($container->getName());
+ if (count($allUrls) > 1) {
+ $this->stdErr->writeln('');
+ $this->stdErr->writeln('Note: connecting to a non-specific instance.');
+ $this->stdErr->writeln(sprintf('To specify an instance, use --instance (-I). Available values: %s.', implode(', ', array_keys($allUrls))));
+ $this->stdErr->writeln('');
+ }
+ }
+
/** @var \Platformsh\Cli\Service\Ssh $ssh */
$ssh = $this->getService('ssh');
$command = $ssh->getSshCommand($sshUrl, $input->getOption('option'), $remoteCommand);