jailkit-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Jailkit-dev] [bug #64738] Add ssh section for outgoing connections


From: N247S
Subject: [Jailkit-dev] [bug #64738] Add ssh section for outgoing connections
Date: Mon, 2 Oct 2023 14:51:46 -0400 (EDT)

URL:
  <https://savannah.nongnu.org/bugs/?64738>

                 Summary: Add ssh section for outgoing connections
                   Group: Jailkit
               Submitter: n247s
               Submitted: Mon 02 Oct 2023 06:51:44 PM UTC
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Mon 02 Oct 2023 06:51:44 PM UTC By: N247S <n247s>
I think this should deserve a separate section as setting-up outgoing
ssh-connections might not be desired in every case.

I was missing a decent ssh setup for outgoing connections (is part of what is
required if 'git' is used with a ssh-connections rather than a
https-connection to a remote repository).

I used the following commands:
```
jk_copy -v -j /jail/dir ssh-add
jk_copy -v -j /jail/dir ssh-agent
jk_copy -v -j /jail/dir ssh-keysign
jk_copy -v -j /jail/dir ssh-keyscan
jk_copy -v -j /jail/dir ssh-keygen
mkdir /jail/dir/tmp
chmod 1777 /jail/dir
```

The last 2 commands are required for the ssh-agent. (this is the default setup
as recommended, as long as the owner is still the 'root' user, otherwise a
'chown' commmand should be added).

Not sure how to translate this to a 'jk_init.ini' section, but maybe the above
information provides enough to add it as a preset.







    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/bugs/?64738>

_______________________________________________
Message sent via Savannah
https://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]