Scoop: Discussion about recent OpenSSH issues

Created on 20 Jul 2018  路  6Comments  路  Source: lukesampson/scoop

Wanted to discuss the issues OpenSSH is causing lately.

  • Connection issues with repo.msys2.org: #2388
  • Mismatching checksums for various files: #2412 #2375 #2373 #2372 #2371 #2366 #2353 #2414
  • Extractions not working: #2386

Possible solutions:

  1. leave the manifest like it is now? openssh.json
  2. use another download source than repo.msys2.org
  3. swap it with the git-with-openssh manifest silently
    a. version property shows GIT version instead of OpenSSH
    b. auto update works
  4. change it to an fixed version of git-with-openssh (Example: rivy/openssh)
    a. version property shows OpenSSH version
    b. no auto update
  5. change it to win32-openssh silently
    a. it's still in beta
  6. change it to a meta package that installs git-with-openssh via depends property?
  7. change it to an empty meta package that does nothing
    a. will most likely kill all automated processes
    json { "homepage": "https://git-for-windows.github.io/", "url": "https://git-for-windows.github.io/", "license": "GPL-2.0", "version": "7.7p1", "suggest": { "Git with OpenSSH": [ "git-with-openssh" ], "Portable OpenSSH": [ "win32-openssh" ] }, "notes": "This is a placeholder! Please install 'git-with-openssh' or 'win32-openssh' instead!" }
help wanted

Most helpful comment

If I can add my 0.02PLN:
_change it to win32-openssh silently_

The fact that it's still in beta should not matter, I believe it's mature enough to be used.

All 6 comments

I implemented item 6. above in a proof-of-concept in #2431 . Both install and uninstall work, but we should really kick the tires before merging it in.

If I can add my 0.02PLN:
_change it to win32-openssh silently_

The fact that it's still in beta should not matter, I believe it's mature enough to be used.

Changing openssh to win32-openssh is my suggestion. It does not matter that it's still in beta, because Windows 10 RS4 has included it as a built-in tool. This is a good enough reason.

I added an rsync-via-git.json to #2431 to show how we can easily install other apps inside the git app's directory. Initial testing is encouraging.

There is also the PuTTY way, using plink and Pageant:

  1. $Env:GIT_SSH=~\scoop\apps\putty\current\plink.exe
  2. Import the key to PuTTY's Pageant
  3. Clone repo and set [email protected]:<username>/<repo>.git

But another problem is, win32-openssh isn't a good choice for those users who don't have elevated permission, since it is implemented as an OS service, restricted users cannot install its services.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ShivanshuKantPrasad picture ShivanshuKantPrasad  路  3Comments

vpratfr picture vpratfr  路  3Comments

borekb picture borekb  路  3Comments

muhlpachr picture muhlpachr  路  3Comments

quantuumsnot picture quantuumsnot  路  3Comments