Relative Content

Tag Archive for linuxbashssh

Use remote variables in local bash script via SSH

I am trying to process a bash script on a local machine but where some of the variables are needed from a remote machine (on the same LAN) via SSH. Here’s where I’ve go to s far, but it is getting the variabales where I’m stuck. How to I script to login via SSH to retrieve the variables shown below. Many thanks.