{"id":19065272,"url":"https://github.com/hackersandslackers/paramiko-tutorial","last_synced_at":"2025-04-04T22:08:48.953Z","repository":{"id":37034593,"uuid":"213542705","full_name":"hackersandslackers/paramiko-tutorial","owner":"hackersandslackers","description":"📡🐍 SSH \u0026 SCP in Python with Paramiko","archived":false,"fork":false,"pushed_at":"2025-03-17T17:49:40.000Z","size":6932,"stargazers_count":116,"open_issues_count":27,"forks_count":51,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-03-28T21:09:10.417Z","etag":null,"topics":["network-automation","paramiko","python","scp","ssh-client","tutorial"],"latest_commit_sha":null,"homepage":"https://hackersandslackers.com/ssh-scp-in-python-with-paramiko/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hackersandslackers.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"custom":["https://www.buymeacoffee.com/hackersslackers"]}},"created_at":"2019-10-08T03:40:05.000Z","updated_at":"2025-03-04T12:51:06.000Z","dependencies_parsed_at":"2023-02-14T06:31:24.920Z","dependency_job_id":"fc4601b1-84ad-4f87-b625-b06b4a5526d0","html_url":"https://github.com/hackersandslackers/paramiko-tutorial","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hackersandslackers%2Fparamiko-tutorial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hackersandslackers%2Fparamiko-tutorial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hackersandslackers%2Fparamiko-tutorial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hackersandslackers%2Fparamiko-tutorial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hackersandslackers","download_url":"https://codeload.github.com/hackersandslackers/paramiko-tutorial/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247256115,"owners_count":20909240,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["network-automation","paramiko","python","scp","ssh-client","tutorial"],"created_at":"2024-11-09T00:49:16.756Z","updated_at":"2025-04-04T22:08:48.935Z","avatar_url":"https://github.com/hackersandslackers.png","language":"Python","readme":"# Paramiko SSH \u0026 SCP Tutorial\n\n![Python](https://img.shields.io/badge/Python-v^3.9-blue.svg?logo=python\u0026longCache=true\u0026logoColor=white\u0026colorB=5e81ac\u0026style=flat-square\u0026colorA=4c566a)\n![Paramiko](https://img.shields.io/badge/Paramiko-v^2.11-blue.svg?longCache=true\u0026logo=python\u0026style=flat-square\u0026logoColor=white\u0026colorB=5e81ac\u0026colorA=4c566a)\n![SCP](https://img.shields.io/badge/SCP-v^0.14-blue.svg?longCache=true\u0026logo=python\u0026style=flat-square\u0026logoColor=white\u0026colorB=5e81ac\u0026colorA=4c566a)\n![GitHub Last Commit](https://img.shields.io/github/last-commit/google/skia.svg?style=flat-square\u0026colorA=4c566a\u0026colorB=a3be8c\u0026logo=GitHub)\n[![GitHub Issues](https://img.shields.io/github/issues/hackersandslackers/paramiko-tutorial.svg?style=flat-square\u0026colorA=4c566a\u0026logo=GitHub\u0026colorB=ebcb8b)](https://github.com/hackersandslackers/paramiko-tutorial/issues)\n[![GitHub Stars](https://img.shields.io/github/stars/hackersandslackers/paramiko-tutorial.svg?style=flat-square\u0026colorA=4c566a\u0026logo=GitHub\u0026colorB=ebcb8b)](https://github.com/hackersandslackers/paramiko-tutorial/stargazers)\n[![GitHub Forks](https://img.shields.io/github/forks/hackersandslackers/paramiko-tutorial.svg?style=flat-square\u0026colorA=4c566a\u0026logo=GitHub\u0026colorB=ebcb8b)](https://github.com/hackersandslackers/paramiko-tutorial/network)\n\n![Paramiko Tutorial](./.github/paramiko@2x.jpg)\n\nSource code for the accompanying tutorial found here: https://hackersandslackers.com/ssh-scp-in-python-with-paramiko/\n\n## Getting Started\n\n\n### Installation\n\n```shell\n$ git clone https://github.com/hackersandslackers/paramiko-tutorial.git\n$ cd paramiko-tutorial\n$ make install\n$ make run\n```\n\n### Configuration\n\nReplace the values in **.env.example** with your values and rename this file to **.env**:\n\n* `ENVIRONMENT`: Contextual environment the script is being on.\n* `SSH_REMOTE_HOST`: IP address (or URL) of remote host to SSH into.\n* `SSH_USERNAME`: Username for connecting to remote host.\n* `SSH_PASSWORD` _(optional)_: Password of user SSHing into remote host via basic auth.\n* `SSH_KEY_FILEPATH`: /path/to/local/sshkey\n* `SCP_DESTINATION_FOLDER` _(optional)_: Remote directory to serve as destination for file uploads.\n\n*Remember to never commit secrets saved in .env files to Github.*\n\n-----\n\n**Hackers and Slackers** tutorials are free of charge. If you found this tutorial helpful, a [small donation](https://www.buymeacoffee.com/hackersslackers) would be greatly appreciated to keep us in business. All proceeds go towards coffee, and all coffee goes towards more content.\n","funding_links":["https://www.buymeacoffee.com/hackersslackers"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhackersandslackers%2Fparamiko-tutorial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhackersandslackers%2Fparamiko-tutorial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhackersandslackers%2Fparamiko-tutorial/lists"}