pssh Sciript and log

Completado Publicado hace 4 años Pagado a la entrega
Completado Pagado a la entrega

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 Administración de sistemas Instalación de scripts

Nº del proyecto: #22629448

Sobre el proyecto

4 propuestas Proyecto remoto Activo hace 4 años

Adjudicado a:

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 en 3 días
(0 comentarios)
0.0

4 freelancers están ofertando un promedio de $164 por este trabajo

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 en 7 días
(2 comentarios)
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 Más

$140 USD en 7 días
(0 comentarios)
0.0
MelodicVibez

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

$111 USD en 2 días
(0 comentarios)
0.0