Hello, we have a requirement where we have to ssh to aws ec2 instance, scp cert file, unzip file, merge cert and ca cert and then replace in directory. can this be achieved through shell script and how?
Yes, you can run a shell script remotely over ssh.
- scp the files across
- Use ssh to forward a script that will operate on the files