I am creating a shell script to run on AEM production server. I am looking at ways to test the script on localhost before moving it to production. Is there any way to open a Putty session for the localhost?
Solved! Go to Solution.
Views
Replies
Total Likes
Option 1: If you're on windows, you can use power shell to run the script on your local.
https://www.howtogeek.com/662611/9-ways-to-open-powershell-in-windows-10/
Putty allow users to remotely access computers over SSH and run scripts, commands etc.
If you want to test some script on your local then you don't need putty.
Option 2: Place the script on any lower environments like dev/QA.
Install putty on local and connect the server and execute script from putty.
Option 1: If you're on windows, you can use power shell to run the script on your local.
https://www.howtogeek.com/662611/9-ways-to-open-powershell-in-windows-10/
Putty allow users to remotely access computers over SSH and run scripts, commands etc.
If you want to test some script on your local then you don't need putty.
Option 2: Place the script on any lower environments like dev/QA.
Install putty on local and connect the server and execute script from putty.
Hi @Anish2 ,
You actually need to use Putty, generally we use putty to get into unixbox or server network. You can directly test the shell script from localhost. If your lower environments have same hosting architecture as PROD, you can dry run on non prod envs. If you can elaborate what the script is supposed to do - we may have some additional comments/suggestions for testing the script locally.
Views
Likes
Replies
Views
Likes
Replies