pssh Sciript and log

Færdiggjort Opslået 4 år siden Betalt ved levering
Færdiggjort Betalt ved levering

Hello,

I need to create a parallel-ssh script.

[login to view URL]

Files using the script:

1. [login to view URL]

2. [login to view URL]

3. [login to view URL]

4. [login to view URL]

5. [login to view URL]

6. [login to view URL]

Functions:

1. Server ip adress + root + pass will be extracted from txt file.

[login to view URL] (

1.2.2.3,root,Pa$w0rd

1.2.2.4,root,Pa$w0rd

1.2.2.5,root,Pa$w0rd

2. The script will create a full log on every step

[login to view URL] (

1.2.2.3 successful login

1.2.2.4 worng password

3. All server will be accessed via ssh (certificate need to be approved)

4. Will get as a parameter the full file location (txt file)

exp: /etc/sysconfig/iptables

5. Create a backup file of the file on the same location

/exc/sysconfig/iptables.backup.[DateTime]

6. Add remark header to the edited file

# edited by pssh on [DateTime]

7. Find exact row that will be deleted from the file

this function need to be loged.

exp:

[login to view URL]( some text with spaces and ip adress)

only in exact much the row will bo fully deleted. (and loged in the log file)

8. Find exact row that text will be added AFTER the exact much

this function need to be loged.

exp:

[login to view URL]( some text with spaces and ip adress)

only in exact much the row will be added blow . (and loged in the log file)

9. [login to view URL]

will be ssh command that will be run before the file manipulation (and login in the log)

10. [login to view URL]

will be ssh command that will be run after the file manipulation (and login in the log)

example: iptables restart.

Linux System Administrator Script Installering

Projekt ID: #22629448

Om projektet

4 bud Remote projekt Aktiv 4 år siden

Tildelt til:

thinkbased

Hi , I did many shell scrips already and can do your project as you requested. Let's talk in details if you are interested.

$180 USD in 3 dage
(0 bedømmelser)
0.0

4 freelancere byder i gennemsnit $164 timen for dette job

fatihkocc

Hi there! I can write a bash script as you want in description. We can talk about details in chat. Have a great day!

$225 USD in 7 dage
(2 bedømmelser)
1.7
posewa9831

I am a software architect/developer with 15+ years of experience in development highly-efficient software in trading/financial/betting/crypto area. - HFT low-latency cross-brokers multi-asset tools for trading includin Flere

$140 USD in 7 dage
(0 bedømmelser)
0.0
MelodicVibez

I can do it fast............................ .......... ............ . .................................

$111 USD in 2 dage
(0 bedømmelser)
0.0