question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

3.1.1 - SFTP does not work

See original GitHub issue

I have tried using v3.1.1 as you suggested but I get error below, I can also see that your SFTP test run is failing in your readme - is this why my setup is failing? I have checked everything about 10 times now, watched tutorials, scrubbed through forums but everything looks to be right; yet it doesn’t work. Of course I also tried running it without --insecure, or any args for that matter - it produces the same result. I very much appreciate your work and any help you may provide.

Uploading files
  /usr/bin/git ftp push --force --auto-init --verbose --syncroot=./public/ --user=*** --passwd=*** --dry-run --insecure sftp://***
  Fri Mar 19 10:37:11 UTC 2021: git-ftp version 1.5.1 running on Linux d75af2b7f84d 5.4.0-1040-azure #42-Ubuntu SMP Fri Feb 5 15:39:06 UTC 2021 x86_64 GNU/Linux
  Fri Mar 19 10:37:11 UTC 2021: Forced mode enabled.
  Fri Mar 19 10:37:11 UTC 2021: Auto init if needed.
  Fri Mar 19 10:37:11 UTC 2021: Using syncroot ./public/ if exists.
  Fri Mar 19 10:37:11 UTC 2021: fatal: Unrecognised option: sftp://***
Error: The process '/usr/bin/git' failed with exit code 3

main.yml:

on: push
name: 🚀 Deploy website on push
jobs:
  FTP-Deploy-Action:
    name: 🎉 Deploy
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2.1.0
        with:
          fetch-depth: 2
      
      - name: 📂 Sync GitHub files to FTP
        uses: SamKirkland/FTP-Deploy-Action@3.1.1
        with:
          ftp-server: sftp://***
          ftp-username: ${{ secrets.FTP_USERNAME }}
          ftp-password: ${{ secrets.FTP_PASSWORD }}
          local-dir: ./public/
          git-ftp-args: --dry-run --insecure

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

4reactions
Vizityscommented, Jun 22, 2021

@williansmartins SFTP support was removed in the 4.0.0 release

4reactions
daniel-hegcommented, Apr 9, 2021

It was the --dry-run for me.

Running only with --insecure worked.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Solved: ISE 3.1 patch 3 backup failure - Cisco Community
I have a schedule job to back up the ISE configuration everyday to an external sFTP server, running on Ubuntu server 20.04.5 LTS...
Read more >
Troubleshoot SFTP - Axway Documentation Portal
Troubleshoot SFTP · Start Transfer CFT issues · Authentication issues · Check updates to the configuration (delay) · Perform a trace.
Read more >
ssh working, but not sftp.. - Google Groups
problem : i can ssh (from a windows ssh.com.3.1.0-235 to an OpenSSH.3.0.2p1-1 server), but whenever i try to open an sftp session using...
Read more >
Known Issues - SFTP Gateway Support · - Thorn Technologies
The problem is that WinSCP is unable to list the chroot directory if there is a subfolder that is backed by an SFTP...
Read more >
SFTP Listener 1.1 - SOAtest and Virtualize 9.10.4 with CTP 3.1.1
This listener does not support virtualizing SFTP command responses. The commands are processed by the underlying SFTP server, then converted ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found