Make SFTP uploading "easy-peasy lizard squeezy".
Project description
Installation
$ sudo apt-get update && sudo apt-get install -y python3 python3-pip $ sudo pip3 isntall thegekko
Quick Start
Add files or directories you don’t want to upload.
$ gekko camo venv/ Checking for venv/... Exist. /home/me/gekkotest/.gekkoign saved.
Set up SFTP connection.
$ gekko grip root@myserver.com:/root/gekkotest-remote -s MyServer Host: myserver.com SSH Port: 22 User: root Upload Directory: /root/gekkotest-remote Remark: MyServer Connection Saved.
Set up SFTP connection using a rsa key and specify the ssh port.
$ gekko grip root@myserver.com:/root/gekkotest-remote -s MyServer -p 1080 -k ~/.ssh/id_rsa Host: myserver.com SSH Port: 1080 User: root Upload Directory: /root/gekkotest-remote Remark: MyServer Private key: /home/ice/.ssh/id_rsa
Check for changes.
$ gekko sense MyServer -p P@ssw0rd Connecting to myserver.com... Connected. Checking for /root/gekkotest-remote... Exist. Changes will be taken: * /root/gekkotest-remote/app.py + /root/gekkotest-remote/assets/logo.png Disconnecting... Done.
Upload using password.
$ gekko run MyServer -p P@ssw0rd Connecting to myserver.com... Connected. Make directory at /root/gekkotest-remote... Skipped. Change directory to /root/gekkotest-remote... Done. Ignored: .gekkoign Uploading: app/main/views.py... Done. Uploading: app/templates/index.html... Done. Skipped: app/templates/old.html Ignored: venv/lib/python3.5/site.py ...... Ignored: venv/pip-selfcheck.json Skipped: oldone.txt Uploading: requirements.txt... Done. Uploading: manager.py... Done. Disconnecting... Done. Operation successfully completed.
Commands
camouflage (camo) : Define a file or a directory which will be ignored when uploading. This will generate ‘.gekkoign’ file.
grip (gp) : Create a host which files will be uploaded to. You can also save the host or remove it.
list (ls) : Show all the connections.
remove (rm) : Remove a connecion.
sense (ss) : Check for the changes which will taken in uploading.
run (rn) : Start the upload sequence.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
theGekko-0.1.3.tar.gz
(7.4 kB
view hashes)
Built Distribution
Close
Hashes for theGekko-0.1.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4491f7bedd2e33b8bb46cf49614f6e69592f0b40fc697a0fc34f7c774f884379 |
|
MD5 | 808e50cef2382aca633322634cd6554a |
|
BLAKE2b-256 | 67ef97a933e44ea12e8c7ff37896eeefaabe16d269ba45b7ac6bcc4e94ee886d |