Skip to content

How do make junest programs use the SSH command of the host? #361

Open
@NightMachinery

Description

@NightMachinery

I have installed emacs using junest. When I want to push my git repos, if I don't install:

pacman -Syy --noconfirm openssh

I'll get this error:

error: cannot run ssh: No such file or directory
fatal: unable to fork

When installing OpenSSH using the pacman command above, I get lots of errors, but it seems the installation succeeds anyway:

:: Running post-transaction hooks...
(1/4) Reloading system manager configuration...
Failed to check for chroot() environment: Permission denied
  Skipped: Current root is not booted.
(2/4) Reloading user manager configuration...
Failed to check for chroot() environment: Permission denied
  Skipped: Current root is not booted.
(3/4) Creating temporary files...
/usr/lib/tmpfiles.d/dbus.conf:13: Failed to resolve user 'dbus': No such process
/usr/lib/tmpfiles.d/shadow.conf:1: Failed to resolve group 'groups': No such process
Failed to parse ACL "d:group::r-x,d:group:adm:r-x,d:group:wheel:r-x,group::r-x,group:adm:r-x,group:wheel:r-x", ignoring: No such file or directory
Failed to parse ACL "d:group:adm:r-x,d:group:wheel:r-x,group:adm:r-x,group:wheel:r-x", ignoring: No such file or directory
Failed to parse ACL "group:adm:r--,group:wheel:r--", ignoring: No such file or directory
Failed to parse ACL "d:group::r-x,d:group:adm:r-x,d:group:wheel:r-x,group::r-x,group:adm:r-x,group:wheel:r-x", ignoring: No such file or directory
Failed to parse ACL "d:group:adm:r-x,d:group:wheel:r-x,group:adm:r-x,group:wheel:r-x", ignoring: No such file or directory
Failed to parse ACL "group:adm:r--,group:wheel:r--", ignoring: No such file or directory
error: command failed to execute correctly
(4/4) Arming ConditionNeedsUpdate...

But the junest SSH cannot use my public keys in ~/.ssh, so it cannot access my Github repos. How do I solve this problem? I see two solutions:

  1. Somehow make emacs use the host SSH command.
  2. Copy my private/public keys somewhere that the junest-installed SSH can find them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions