All Projects → hackersandslackers → Paramiko Tutorial

hackersandslackers / Paramiko Tutorial

Licence: mit
📡🐍SSH & SCP in Python with Paramiko

Programming Languages

python
139335 projects - #7 most used programming language
python3
1442 projects

Projects that are alternatives of or similar to Paramiko Tutorial

Sshkit.ex
An Elixir toolkit for performing tasks on one or more servers, built on top of Erlang’s SSH application.
Stars: ✭ 108 (+66.15%)
Mutual labels:  automation, scp, ssh
Deployr
A simple golang application to automate the deployment of software releases.
Stars: ✭ 282 (+333.85%)
Mutual labels:  automation, scp, ssh
Aws Gate
Better AWS SSM Session manager CLI client
Stars: ✭ 294 (+352.31%)
Mutual labels:  scp, ssh
Exscript
A Python module making Telnet and SSH easy
Stars: ✭ 337 (+418.46%)
Mutual labels:  automation, ssh
Sshpiper
The missing reverse proxy for ssh scp
Stars: ✭ 489 (+652.31%)
Mutual labels:  scp, ssh
ssh2.nim
Async SSH, SCP and SFTP client for Nim, using libssh2 wrapper [WIP]
Stars: ✭ 17 (-73.85%)
Mutual labels:  ssh, scp
Sync
syncs your local folder with remote folder using scp
Stars: ✭ 293 (+350.77%)
Mutual labels:  scp, ssh
Cowrie
Cowrie SSH/Telnet Honeypot https://cowrie.readthedocs.io
Stars: ✭ 3,810 (+5761.54%)
Mutual labels:  scp, ssh
Felix
A Friendly SSH Jumper Bastion Fortress Server
Stars: ✭ 542 (+733.85%)
Mutual labels:  scp, ssh
Vssh
Go Library to Execute Commands Over SSH at Scale
Stars: ✭ 707 (+987.69%)
Mutual labels:  automation, ssh
Webterminal
ssh rdp vnc telnet sftp bastion/jump web putty xshell terminal jumpserver audit realtime monitor rz/sz 堡垒机 云桌面 linux devops sftp websocket file management rz/sz otp 自动化运维 审计 录像 文件管理 sftp上传 实时监控 录像回放 网页版rz/sz上传下载/动态口令 django
Stars: ✭ 1,124 (+1629.23%)
Mutual labels:  automation, ssh
ssh-am
SSH ACCOUNT MANAGEMENT
Stars: ✭ 15 (-76.92%)
Mutual labels:  ssh, scp
Assh
💻 make your ssh client smarter
Stars: ✭ 2,340 (+3500%)
Mutual labels:  automation, ssh
Wordmove
Multi-stage command line deploy/mirroring and task runner for Wordpress
Stars: ✭ 1,791 (+2655.38%)
Mutual labels:  automation, ssh
Winscp
WinSCP is a popular free SFTP and FTP client for Windows, a powerful file manager that will improve your productivity. It supports also Amazon S3, FTPS, SCP and WebDAV protocols. Power users can automate WinSCP using .NET assembly.
Stars: ✭ 794 (+1121.54%)
Mutual labels:  scp, ssh
Ssh Mitm
ssh mitm server for security audits supporting public key authentication, session hijacking and file manipulation
Stars: ✭ 335 (+415.38%)
Mutual labels:  scp, ssh
Sshj
ssh, scp and sftp for java
Stars: ✭ 2,016 (+3001.54%)
Mutual labels:  scp, ssh
Passh
sshpass is broken by design
Stars: ✭ 65 (+0%)
Mutual labels:  automation, ssh
Goexpect
Expect for Go
Stars: ✭ 538 (+727.69%)
Mutual labels:  automation, ssh
Libssh2
the SSH library
Stars: ✭ 743 (+1043.08%)
Mutual labels:  scp, ssh

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/

Installation

Installation via requirements.txt:

$ git clone https://github.com/hackersandslackers/paramiko-tutorial.git
$ cd paramiko-tutorial
$ python3 -m venv myenv
$ source myenv/bin/activate
$ pip3 install -r requirements.txt
$ python3 main.py

Installation via Pipenv:

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

Installation via Poetry:

$ git clone https://github.com/hackersandslackers/paramiko-tutorial.git
$ cd paramiko-tutorial
$ poetry shell
$ poetry update
$ poetry run

Usage

Replace the values in .env.example with your values and rename this file to .env:

  • 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.

Remember to never commit secrets saved in .env files to Github.


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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].