All Questions
3
questions
0
votes
3
answers
1k
views
issue with back quotes inside while loop when running a command over ssh
This question is a bit complicated. I will try to explain in detail.
I have two machines, one is local and other say 192.168.1.2. I have set the following variables in my local machine
CHECK="/home/...
1
vote
1
answer
2k
views
Remote ssh command not sending echo variable from a ksh script on AIX
I'm need to get the value of a variable from a remote host in a script using SSH and have to source an environment file first that does a shift at the end of its run.
The command works locally and I ...
3
votes
1
answer
3k
views
variable expansion within command substitution over SSH bash 4.X
I want to do this ssh ${w100user}@web100 'ls -l "$(grep "${1}" /etc/pure-ftpd/pureftpd.passwd|cut -d':' -f6)"'
Which obviously performs an ssh session to server web100 as w100user and then greps ...