Ticket #532 (closed defect: worksforme)

Opened 15 years ago

Last modified 15 years ago

SSHBase slightly broken in OSX

Reported by: [email protected] Owned by: desai
Priority: minor Milestone:
Component: bcfg2-server Version: 0.9.x
Keywords: Cc:


OSX keeps it's ssh configs in /etc not /etc/ssh/. SSHBase seems to handle this just fine for the keys, but it doesn't seem to do it correctly for /etc/ssh_known_hosts. It never seems to install a file. Here's what I have in the bundle:

  <Group name='macosx'>
    <!-- Handled by Cfg -->
    <ConfigFile name='/etc/ssh_config'/>
    <ConfigFile name='/etc/sshd_config'/>
    <!-- Handled by SSHBase -->
    <ConfigFile name='/etc/ssh_host_dsa_key'/>
    <ConfigFile name='/etc/'/>
    <ConfigFile name='/etc/ssh_host_rsa_key'/>
    <ConfigFile name='/etc/'/>
    <ConfigFile name='/etc/ssh_host_key'/>
    <ConfigFile name='/etc/'/>
    <ConfigFile name='/etc/ssh_known_hosts'/>
    <Service name='com.openssh.sshd'/>


Change History

comment:1 Changed 15 years ago by desai

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

You can do this using altsrc; this species a different name for binding. For example:

<Group name='macosx'>
  <ConfigFile name='/etc/ssh_host_dsa_key' altsrc='/etc/ssh/ssh_host_dsa_key'/>

Will do the trick.

WARNING! You need to establish a session before you can create or edit tickets. Otherwise the ticket will get treated as spam.


Add a comment

Modify Ticket

Change Properties
<Author field>
as closed
The resolution will be deleted. Next status will be 'reopened'

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.