Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dannydamsky/filezilla-cli-connect-fzcon
Helper script to automatically connect to site entries stored in FileZilla using SSH and SFTP.
https://github.com/dannydamsky/filezilla-cli-connect-fzcon
bash bash-script bash-scripting bashrc filezilla zsh zsh-completions zshell zshrc
Last synced: about 2 months ago
JSON representation
Helper script to automatically connect to site entries stored in FileZilla using SSH and SFTP.
- Host: GitHub
- URL: https://github.com/dannydamsky/filezilla-cli-connect-fzcon
- Owner: dannydamsky
- Created: 2020-04-14T22:35:02.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-09-28T22:01:33.000Z (over 4 years ago)
- Last Synced: 2024-11-16T22:34:53.643Z (about 2 months ago)
- Topics: bash, bash-script, bash-scripting, bashrc, filezilla, zsh, zsh-completions, zshell, zshrc
- Language: Shell
- Size: 26.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# FileZilla CLI Connect (fzcon)
Helper script to automatically connect to site entries stored in FileZilla using SSH and SFTP.# Dependencies
- SSH Client (Such as OpenSSL)
- sshpass
- column
- base64
- FileZilla# Arguments
1. Entry name (snake_case)
2. Connection Type (default is SSH, options include: --sftp, --tunnel)
3. Tunnel Port, only used if the second argument is --tunnel, default is 8888.Not passing any arguments to the utility will make the utility print out the available
options.# Installation
Put the fzcon script in /usr/local/bin, make sure it has execute privileges.# ZSH Auto-Complete
Add this block to $HOME/.zshrc:
_fzcon_autocomplete() {
reply=($(fzcon | cut -f1 -d ' ' | sed '1d'));
}compctl -K _fzcon_autocomplete fzcon;
# Developer
Danny Damsky# Licence
Copyright (c) 2020 Danny DamskyRedistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. Neither the name of the author nor the names of its contributors may
be used to endorse or promote products derived from this softwareTHIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.