rapier1 / hpn-ssh

HPN-SSH based on OpenSSH
https://psc.edu/hpn-ssh-home
Other
302 stars 41 forks source link

Adding HPN-SSH to openssh 8.4p1-5+deb11u1 (Debian Bullseye) #45

Closed mpounsett closed 10 months ago

mpounsett commented 1 year ago

I'm having a hard time getting the patches to apply cleanly for Debian. I have tried starting with the hpn-8_4_P1 tag from this repo and adding the standard suite of Debian patches to it, and have also tried taking the Debian source package and adding the Kitchen Sink patch to that. Both result in patch conflicts and fail to compile.

It looks like the Debian packages distributed from SourceForge are out of date (the latest is Buster).

Is there a set of instructions somewhere I can follow in order to get this to build, or do I need to wait for a Bullseye package (or Bookworm, which is due out any minute now)?

fscheiner commented 1 year ago

For the GCT we maintain a version of OpenSSH that includes both GSI authentication (in addition to the standard SSH authentication) and HPN (v15.2 at the moment). As there is no GSI-OpenSSH in the official repositories for Debian GNU/Linux 11, I created a version that is based on the Debian version of OpenSSH that includes GSI and HPN (v15.1).

How to use it is detailed in https://github.com/gridcf/gct/issues/170#issuecomment-1212018544.

HTH

EDIT: corrected used HPN versions.

rapier1 commented 1 year ago

So I don't run debian but use Ubuntu instead. I'll spin up a VM and see what I can find out. You specifically want to use hpn-8_4? Is there any reason to not use a more recent version? In any case, I'm going to be working on getting a Debian specific package built and figure out someplace to host a PPA for it. Ubuntu has launchpad to do this, I don't know of, and haven't been able to find, anything similar for Debian.

rapier1 commented 1 year ago

Also, apologies for the long delay in replying. I've been slammed with work trying to fix some memory issues in recent versions of hpn-ssh.

rapier1 commented 1 year ago

Ah, I see what the problem is - the patches in the debian series really don't apply very well. So my suggestion is to grab gsissh like @fscheiner suggested if you want to stay on 8.4. If you want to get a more recent version I'll be looking at moving the Ubuntu package for 9.3 over to Ubuntu.

mpounsett commented 1 year ago

I'm not married to 8.4 .. I just picked it because it's the current version on Debian Buster. I figured the Buster source package + the Kitchen Sink patch would be the easiest route to getting it working. I'm happy to run a more recent version if you're already packaging that.

rapier1 commented 1 year ago

I just put up a package for Bullseye at https://sourceforge.net/projects/hpnssh/files/

Could you give that a try? It's the most recent version of HPN-SSH (17v13) based on OpenSSH 9.3.

I have to get a better system in place for Debian.

Chris

On 4/13/23 3:24 PM, Matthew Pounsett wrote:

I'm not married to 8.4 .. I just picked it because it's the current version on Debian Buster. I figured the Buster source package + the Kitchen Sink patch would be the easiest route to getting it working. I'm happy to run a more recent version if you're already packaging that.

— Reply to this email directly, view it on GitHub https://github.com/rapier1/openssh-portable/issues/45#issuecomment-1507498278, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKL66A47ENM4MP62CRNFHTXBBHITANCNFSM6AAAAAAWV6VDQA. You are receiving this because you commented.Message ID: @.***>

mpounsett commented 1 year ago

Thanks Chris. I won't be able to look at that before the weekend, but I'll check it out next week.