Search Results

Search: Posts Made By: Mahesh Desai
2,560
Posted By Mahesh Desai
Executing 'exit' command from shell script
Hi,

I am writing shell script to automate few use cases for CLI interface. We have CLI interface which has bunch of commands. I am trying to execute one of the commands 'exit' as part of...
5,477
Posted By Mahesh Desai
Special Character issue in Expect Utility (Tcl)
Hi,

I have written a unix expect utility "ssh-login.exp" which connects (ssh) to remote host and execute some shell script. I am calling this "ssh-login.exp" utility from another shell script.
...
1,887
Posted By Mahesh Desai
Nope. I cannot go that route. As I mentioned...
Nope. I cannot go that route. As I mentioned earlier, user can select any host while running these operations. So we don't know where we want to configure sudo or configure user equivalence (SSH...
1,887
Posted By Mahesh Desai
Thanks for reply! I may not able to configure...
Thanks for reply! I may not able to configure sudo as host is not fixed, it will change depending on what host user has selected to run these two scripts on. By the way, these two scripts get...
1,887
Posted By Mahesh Desai
Thanks for quick reply! I may not able to...
Thanks for quick reply!

I may not able to use 'user2/password2' initially. I do many other things in 'wrapper.sh' using 'user1/password1' before and after executing shell script...
1,887
Posted By Mahesh Desai
Running shell script using different user
Hi,

I do SSH to host using credential 'user1/password1' and execute 'wrapper.sh'.

I want to execute another script 'another_script.sh' from 'wrapper.sh' script using different credentials say...
10,619
Posted By Mahesh Desai
Any help would be greatly appreciated!
Any help would be greatly appreciated!
10,619
Posted By Mahesh Desai
How to escape Special Characters in Expect programming?
Hi,

I have written a unix expect utility "ssh-login.exp" which connects (ssh) to remote host and execute some shell script. I am calling this "ssh-login.exp" utility from another shell script.
...
Showing results 1 to 8 of 8

 
All times are GMT -4. The time now is 07:28 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy