I have many loaded shell scripts in UNIX.
I don't know more about shell scripting. But, I know Python programming.
I have to access multiple server using python.
Anyone guide for this?
Assuming you have SSH access to the server and want to remotely write the script:
sudo apt-get install nano
nano filename.py. If you aren't using nano as your editor create the file with
touch filename.pyand get into the file with your editor.
chmod +x filename.py
NOTE: The script will stop running after you close the SSH session so I recommend using
screen and running the script in a screen session.
If you are trying to connect to a server with ssh in Python use the SSH library.