Ish: ssh-agent needs UNIX domain sockets

Created on 27 Dec 2018  路  7Comments  路  Source: ish-app/ish

#聽ssh-agent聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽
unix_listener:聽cannot聽bind聽to聽path聽/tmp/ssh-66GGxWn5a3Ib/agent.4:聽No聽such聽file聽or聽directory

This is the root account, so there shouldn鈥檛 be permission problems.

Binding to somewhere in the home directory doesn鈥檛 help either:

#聽ssh-agent聽-a聽~/.agent.$$聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽
unix_listener:聽cannot聽bind聽to聽path聽/root/.agent.3:聽No聽such聽file聽or聽directory
help wanted

Most helpful comment

Unix domain sockets should be working now.

All 7 comments

Unix domain sockets are not implemented.

Oh, that explains it. Any plan to support Unix domain sockets? Of the top of my head, gpg-agent, emacsclient, etc. could benefit too.

The main difficulty is doing it in a filesystem-agnostic way. The challenge there is similar to the challenge in fcntl() locks (https://github.com/tbodt/ish/issues/217#issuecomment-450234983). (in other words, someone please do this for me)

Makes sense. Unfortunately I have zero iOS development experience...

@tbodt Wouldn鈥檛 you want to use Dropbear rather than OpenSSL/ssh since it鈥檚 specifically for BusyBox?

https://matt.ucc.asn.au/dropbear/dropbear.html

OpenSSH client already works fine (AFAICT). This issue is about ssh-agent, and the underlying issue is lack of support for Unix domain sockets. It seems Dropbear doesn't even have an agent.

Unix domain sockets should be working now.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

wsjyhaozi picture wsjyhaozi  路  4Comments

saman1111111 picture saman1111111  路  4Comments

goerz picture goerz  路  5Comments

fernandotcl picture fernandotcl  路  4Comments

ghanan94 picture ghanan94  路  6Comments