Giter Site home page Giter Site logo

Comments (5)

dlech avatar dlech commented on September 6, 2024

Did you correctly set the SSH_AUTH_SOCK environment variable before using ssh?

from keeagent.

a101755 avatar a101755 commented on September 6, 2024

Hi,
i think that may be the failure.
printenv | grep SSH
shows nothing.
I will look for How to set SSH_AUTH_SOCK and post it here.

Sincerely yours
a101755

from keeagent.

a101755 avatar a101755 commented on September 6, 2024

another indication, that SSH_AUTH_SOCK is not present, is the following answer:
ssh-add -l
Could not open a connection to your authentication agent.

from keeagent.

a101755 avatar a101755 commented on September 6, 2024

It is definitivly something wrong in my environment with ssh and ssh-agent and the environment variable SSH_AUTH_SOCK.

Why this?
If i start Ubuntu-Linux, additional a shell in my graphical desktop and type in this shell

ps ax | grep ssh
1031 ? Ss 0:00 sshd: /usr/sbin/sshd -D [listener] 0 of 10-100 startups
2363 ? Ss 0:00 /usr/bin/ssh-agent -s
3510 pts/0 S+ 0:00 grep --color=auto ssh

further
env | grep SSH has no output.

After typing
eval ssh-agent // manual start of the ssh-agent

and
env | grep SSH // the output is
SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhjbGUf/agent.3868
SSH_AGENT_PID=3869

At last i start KeePass2 in the "background" with following &
keepass2 &
[1] 3910

The final step is
ssh @xxx.xxx.xxx.xxx with the mandatory configuration ssh-keygen, ssh-copy-id and so on...
all works fine_

The open task is to configure ssh in that way, so SSH_AUTH_SOCK is set system-wide. The variable above is only visible in the shell.

But this is another story.

So i will close this issue with many thanks to David.
His hint was crucial!!

from keeagent.

a101755 avatar a101755 commented on September 6, 2024

Please look at this thread. Environment variable SSH_AUTH_SOCK isn't set. I hope someone can help me.

from keeagent.

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.