The python script that create connection using ssh and perform any action on remoe system.
In this script, I mentioned how to create text file and paste content in it to remote server.
Create and activate virtual enviornment.
python -m venv venvvenv\Scripts\activateInstall the paramiko package
pip install paramikoTo run the script
- Specify the IP Address, Username, Password and path to the folder where file is being created then run below command.
python main.py