Tagged Questions
1
vote
1answer
522 views
Script to get file from SFTP and run it
We have 5 servers running our code: A, B , C, D and E.
From a local machine, we sftp the file to A. Then
ssh id@A
su - applicationname
sftp id@A
get <file>
bye
tar -xzf <file>
logout
...
3
votes
2answers
153 views
How do you automatically elevate an automatic task to root privileges or is there an alternative approach?
I'm trying to write, in essence, an automatic deployment script for use by our development team and I know I can set up SSH to use keys so that I can automatically authenticate via key instead of ...