HaikuPorts
  • Login
  • Preferences
  • Help/Guide
  • Wiki
  • Timeline
  • Roadmap
  • View Tickets
  • Search
  • Port Log
  • Blog

Context Navigation

  • ← Previous Ticket
  • Next Ticket →

Ticket #227 (closed enhancement: fixed)

Opened 6 years ago

Last modified 5 years ago

check into moving/renaming .ssh folder from home/.ssh to home/config/settings/ssh

Reported by: scottmc Owned by: scottmc
Priority: normal Milestone: Haiku R1 Alpha2
Component: net-misc/openssh Version:
Severity: normal Keywords:
Cc:

Description

This was done for subversion in Haiku R1A1, look into what it would take to make this change and if it will break anything.

Attachments

grep-sysconfdir.txt​ (16.7 KB) - added by scottmc 5 years ago.
output of grep -nri 'sysconfdir' *

Download all attachments as: .zip

Change History

comment:1 Changed 5 years ago by diver

ping.

comment:2 follow-up: ↓ 4 Changed 5 years ago by scottmc

fixed in r661. I need to test the optionalpackage out once that is done it will be added into Haiku.

comment:3 in reply to: ↑ description Changed 5 years ago by andreasf

Replying to scottmc:

look into what it would take to make this change and if it will break anything.

It breaks compatibility for people like me who populate their image with an RSA keypair, e.g., for accessing code repositories. But that should be minor, I even expected it to live in the proper place first.

comment:4 in reply to: ↑ 2 ; follow-up: ↓ 5 Changed 5 years ago by andreasf

Replying to scottmc:

fixed in r661.

Hm, you're hardcoding it into the prefix. Wouldn't the proper fix be to determine the directory at runtime, by patching the OpenSSH source? :)

comment:5 in reply to: ↑ 4 Changed 5 years ago by bonefish

Replying to andreasf:

Replying to scottmc:

fixed in r661.

Hm, you're hardcoding it into the prefix. Wouldn't the proper fix be to determine the directory at runtime, by patching the OpenSSH source? :)

Indeed. Using "finddir" at build time isn't much better than using the literal path.

comment:6 Changed 5 years ago by scottmc

I'll see about fixing this in the source code.

Changed 5 years ago by scottmc

  • attachment grep-sysconfdir.txt​ added

output of grep -nri 'sysconfdir' *

comment:7 follow-up: ↓ 8 Changed 5 years ago by scottmc

added an attachment showing the output of grep -nri 'sysconfdir' *, which appears to be only used during build time. So hunting a solution down for this may not be as easy as I thought. I'll leave the ticket open until a run-time find_directory solution can be added.
With the r661 build time solution I put it in /boot/home/config/openssh, should it be /boot/home/config/ssh or is openssh ok?

comment:8 in reply to: ↑ 7 Changed 5 years ago by bonefish

Replying to scottmc:

With the r661 build time solution I put it in /boot/home/config/openssh, should it be /boot/home/config/ssh or is openssh ok?

I would go with "ssh" as the contents is not really OpenSSH specific.

comment:9 Changed 5 years ago by scottmc

Ok, so that didn't work out as I thought it would, so time to take a step back and ask someone who knows the openssh code better and might know if this is easily done or not.

comment:10 follow-up: ↓ 11 Changed 5 years ago by andreasf

Keys appear to be taken from settings/ssh now, but adding servers to the known_hosts does not seem to work.

comment:11 in reply to: ↑ 10 ; follow-up: ↓ 13 Changed 5 years ago by mmadia

Replying to andreasf:

Keys appear to be taken from settings/ssh now, but adding servers to the known_hosts does not seem to work.

experiencing this as well.

comment:12 Changed 5 years ago by mmadia

  • Milestone changed from Haiku Optional Packages to Haiku R1 Alpha2

comment:13 in reply to: ↑ 11 Changed 5 years ago by augiedoggie

Replying to mmadia:

Replying to andreasf:

Keys appear to be taken from settings/ssh now, but adding servers to the known_hosts does not seem to work.

experiencing this as well.

I was seeing this as well. Testing it right now on r36381 it seems the problem has gone away.

comment:14 Changed 5 years ago by scottmc

  • Resolution set to fixed
  • Status changed from new to closed

closing this ticket as the directories have been changed. The known_hosts issue is being tracking on Haiku's trac  ticket 5787

Note: See TracTickets for help on using tickets.

Download in other formats:

  • Comma-delimited Text
  • Tab-delimited Text
  • RSS Feed

Trac Powered

Powered by Trac 0.13dev-r10686
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/