Unable to install crosscluster replication plugin for custom Open Distro for Elasticsearch clusters

I am trying to install cross cluster replication plugin on my existing opendistro elastic cluster which is on a server which does not have access to internet.
I tried to download the zip file (https://github.com/opendistro-for-elasticsearch/cross-cluster-replication/releases/download/v1.13.0.0-experimental/opendistro-cross-cluster-replication-1.13.0.0.zip) and copy it to elastic install folder.
I ran below command to install the plugin but it failed. Any pointers as to what might be wrong? Appreciate the help.

Opendistro version installed : opendistroforelasticsearch-1.13.2-linux-x64

bin/elasticsearch-plugin install opendistro-cross-cluster-replication-1.13.0.0.zip

Output:
→ Installing opendistro-cross-cluster-replication-1.13.0.0.zip
→ Failed installing opendistro-cross-cluster-replication-1.13.0.0.zip
→ Rolling back opendistro-cross-cluster-replication-1.13.0.0.zip
→ Rolled back opendistro-cross-cluster-replication-1.13.0.0.zip
A tool for managing installed elasticsearch plugins

Non-option arguments:
command

Option Description


-E Configure a setting
-h, --help Show help
-s, --silent Show minimal output
-v, --verbose Show verbose output
ERROR: Unknown plugin opendistro-cross-cluster-replication-1.13.0.0.zip

You need to add the “file://” ahead of your plugin path.

I tried adding “file://” ahead of the plugin path, but now I am getting below error.

bin/elasticsearch-plugin install file://opendistro-cross-cluster-replication-1.13.0.0.zip

Output:

→ Installing file://opendistro-cross-cluster-replication-1.13.0.0.zip
→ Downloading file://opendistro-cross-cluster-replication-1.13.0.0.zip
→ Failed installing file://opendistro-cross-cluster-replication-1.13.0.0.zip
→ Rolling back file://opendistro-cross-cluster-replication-1.13.0.0.zip
→ Rolled back file://opendistro-cross-cluster-replication-1.13.0.0.zip
Exception in thread “main” java.net.UnknownHostException: opendistro-cross-cluster-replication-1.13.0.0.zip
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
at java.net.Socket.connect(Socket.java:607)
at sun.net.ftp.impl.FtpClient.doConnect(FtpClient.java:962)
at sun.net.ftp.impl.FtpClient.tryConnect(FtpClient.java:924)
at sun.net.ftp.impl.FtpClient.connect(FtpClient.java:1019)
at sun.net.ftp.impl.FtpClient.connect(FtpClient.java:1005)
at sun.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConnection.java:311)
at sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(FtpURLConnection.java:417)
at org.elasticsearch.plugins.InstallPluginCommand.downloadZip(InstallPluginCommand.java:448)
at org.elasticsearch.plugins.InstallPluginCommand.download(InstallPluginCommand.java:329)
at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:251)
at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:224)
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86)
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:127)
at org.elasticsearch.cli.MultiCommand.execute(MultiCommand.java:91)
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:127)
at org.elasticsearch.cli.Command.main(Command.java:90)
at org.elasticsearch.plugins.PluginCli.main(PluginCli.java:47)

Nevermind. I had one / missing in the command due to which it was failing. Below command installed the plugin.
bin/elasticsearch-plugin install file:///opendistro-cross-cluster-replication-1.13.0.0.zip