Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] Creating new gist using SSH #404

Open
samagana opened this issue Dec 18, 2024 · 0 comments
Open

[Feature request] Creating new gist using SSH #404

samagana opened this issue Dec 18, 2024 · 0 comments

Comments

@samagana
Copy link

We are looking to use Opengist as a self hosted solution for sharing gists within our organization as an alternative to the phabricator paste (link) which has been deprecated. Phabricator paste did provide a single command line interface arc paste through which folks could create a paste.

With opengist, I am unable to create a new gist through ssh (which currently seems to be the only documented way to interact with opengist through CLI). Although, I am able to clone existing gists with ssh (which also seems to be broken if I pair my Opengist deployment with Postgresql - #403).

Below is the error I am encountering when trying to push using ssh to path ssh://<opengist_url>:2222/init.git

Opengist: invalid gist path
debug1: channel 0: free: client-session, nchannels 1
Transferred: sent 3184, received 1820 bytes, in 0.0 seconds
Bytes per second: sent 1643156.4, received 939241.4
debug1: Exit status 0
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Trying to create new gists using http (as documented here) is working all good

git remote add origin http://<opengist_url>:6157/init
git push -u origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant