fzze / paramiko-tutorial

📡🐍SSH & SCP in Python with Paramiko

Home Page:https://hackersandslackers.com/ssh-scp-in-python-with-paramiko/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Paramiko SSH & SCP Tutorial

Python Paramiko SCP GitHub Last Commit GitHub Issues GitHub Stars GitHub Forks

Paramiko Tutorial

Source code for the accompanying tutorial found here: https://hackersandslackers.com/ssh-scp-in-python-with-paramiko/

Getting Started

Installation is recommended with Pipenv:

$ git clone https://github.com/hackersandslackers/paramiko-tutoral.git
$ cd paramiko-tutorial
$ pipenv shell
$ pipenv update
$ python3 main.py

Alternatively, try installing via setup.py:

$ git clone https://github.com/hackersandslackers/paramiko-tutoral.git
$ cd paramiko-tutorial
$ python3 setup.py run

The following environment variables are required to run this script:

  • REMOTE_HOST: IP address or URL of remote host.
  • REMOTE_USERNAME: Username for remote host.
  • SSH_KEY: /path/to/remote/host/sshkey.pem
  • REMOTE_PATH (optional): Remote directory to serve as destination for file uploads.

Hackers and Slackers tutorials are free of charge. If you found this tutorial helpful, a small donation would be greatly appreciated to keep us in business. All proceeds go towards coffee, and all coffee goes towards more content.

About

📡🐍SSH & SCP in Python with Paramiko

https://hackersandslackers.com/ssh-scp-in-python-with-paramiko/


Languages

Language:Python 100.0%