Skip to content

Instantly share code, notes, and snippets.

@dmi3mis
Created June 14, 2021 15:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dmi3mis/ceb8ce33c683699fa68963528f7bc130 to your computer and use it in GitHub Desktop.
Save dmi3mis/ceb8ce33c683699fa68963528f7bc130 to your computer and use it in GitHub Desktop.
#!/bin/bash
sshpass -p redhat ssh -o StrictHostKeyChecking=no root@workstation 'wget -c https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/latest/openshift-client-linux.tar.gz'
sshpass -p redhat ssh -o StrictHostKeyChecking=no root@workstation 'tar -xvf openshift-client-linux.tar.gz --overwrite -C /usr/local/bin/'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment