GithubHelp home page GithubHelp logo

Comments (9)

frenck avatar frenck commented on May 20, 2024 2

This is an upstream coder/code-server#208

For a workaround in the comment of the upstream issue:

run git config --global credential.helper cache and manually do a git pull/clone/etc (from the CLI) where you'll have to enter your password. Once you do that, git operations in the GUI should work.

To be honest, please use a public/private key pair instead of username/passwords... 😉

from addon-vscode.

sverleysen avatar sverleysen commented on May 20, 2024 1

The .ssh folder (where your keys should go), persists across restarts.

What .ssh folder are you referring to? I have the SSH add-on too, so I tried adding my key in my user's .ssh folder, but VScode showed no change. I know very little about docker.

I tried googling around for how to setup an SSH key between this add-on and GitHub, and I wind up at this thread :)

I found my .ssh folder in the hassio root /addons/data/xxxx_vscode/.ssh

from addon-vscode.

raulvasquez avatar raulvasquez commented on May 20, 2024

To be honest, please use a public/private key pair instead of username/passwords... 😉

I have hass.io installed on my ubuntu server with docker.

How do you get the keys to persist? They are removed when the container is restarted. I tried symlinking the hosts keys folder to my homeassistant config folder, but they didn't work. Appeared to be permission related.

from addon-vscode.

frenck avatar frenck commented on May 20, 2024

@raulvasquez The .ssh folder (where your keys should go), persists across restarts.

from addon-vscode.

rogersmj avatar rogersmj commented on May 20, 2024

The .ssh folder (where your keys should go), persists across restarts.

What .ssh folder are you referring to? I have the SSH add-on too, so I tried adding my key in my user's .ssh folder, but VScode showed no change. I know very little about docker.

I tried googling around for how to setup an SSH key between this add-on and GitHub, and I wind up at this thread :)

from addon-vscode.

sverleysen avatar sverleysen commented on May 20, 2024

I also have this issue. I created a key in the .ssh folder, added the key into my github account. But how do I say to vscode to use this key instead of the username/password?

from addon-vscode.

rockinglama avatar rockinglama commented on May 20, 2024

I also have this issue. I created a key in the .ssh folder, added the key into my github account. But how do I say to vscode to use this key instead of the username/password?

it should use the key by default but you have to accept the github hostkey
open a shell in your vscode container and do a ssh [email protected] and accept the host key fingerprint

from addon-vscode.

frenck avatar frenck commented on May 20, 2024

I'm closing this issue.

While it is still present, there is nothing the add-on can do about it.
At this point, it is just cluttering up the overview of issues on the project.

I hope it will be resolved Upstream, however, it is recommended to use private/public keypairs.

from addon-vscode.

addons-assistant avatar addons-assistant commented on May 20, 2024

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

from addon-vscode.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.