Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

libedit for sftp

Open
#2,326 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
c
Domain
cli

Research direction

Start with the Windows sftp build entry point and investigate how the upstream --with-libedit option is supported. Research libedit integration and whether the existing sftp command-line behavior can provide editing and tab completion. Done means the Windows sftp binary builds with libedit and provides the requested interactive completion behavior.

Written by the indexing model from the issue text.

Description

Area-SFTP Investigate Issue-Enhancement
Summary of the new feature / enhancement

As mentioned multiple times since 2016, sftp binary shipped with Windows is still barely usable, tab completion is not hard to implement, and upstream openssh says clearly in their documentation:

--with-libedit Enable libedit support for sftp.

But in the 2016 issue (#261) where this issue had been first raised, one contributor didn't even know if

sftp autocomplete work in the Unix version of OpenSSH?

And a collaborator said auto-completion is "provided by terminal" and closed the issue! Can you please at least do some research if you have no clue how things work?

auto complete functionality is provided by the terminals (like cygwin) and not by the sftp.
sftp protocol doesn't deal with auto complete. please use terminals that support the auto complete (like cygwin).

Not to mention sftp's auto-completion has nothing to do with "terminal", no command line editing ever had anything to do with terminal at all! I'm shocked how he can be a collaborator of this repo with such limited knowledge about openssh and unix in general.

Proposed technical implementation details (optional)
--with-libedit

when building this project

Dominant language
No language data
Stars
8.3k
Forks
822
Avg merge
12m
Merged PRs (30d)
1

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from PowerShell/Win32-OpenSSH

All issues in PowerShell/Win32-OpenSSH

Similar issues

More CLI issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.