Gordon Davisson | 11 Jun 08:05 2006
Picon

Re: /etc/sshd_config

On Jun 9, 2006, at 1:52 PM, Donkergroen bvba wrote:

> So what purpose does ListenAddress have ?
> It seems to be none !

Listening for ssh connections is controlled by whatever program is  
doing the listening.  Under OS X v10.1 & 10.2, this was sshd itself,  
so the settings in /etc/sshd_config were followed.  In v10.3,  
responsibility for listening was handed over to xinetd, and the  
listener settings were controlled by /etc/xinetd.d/ssh (although most  
other properties of the ssh service were still controlled by /etc/ 
sshd_config).  In v10.4, launchd has taken over for xinetd, so the  
relevant settings are in /System/Library/LaunchDaemons/ssh.plist.  I  
don't see any problem with editing this file to add a SockNodeName  
property to its listener, although the usual caveats about editing  
system files (make a backup, expect it to get clobbered random by  
system updates) apply.  The resulting file should look a lot like this:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http:// 
www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>Label</key>
	<string>com.openssh.sshd</string>
	<key>Program</key>
	<string>/usr/libexec/sshd-keygen-wrapper</string>
	<key>ProgramArguments</key>
	<array>
		<string>/usr/sbin/sshd</string>
(Continue reading)

Donkergroen bvba | 11 Jun 16:18 2006
Picon

Re: /etc/sshd_config

That did it, thanks.
Is there a file where I can do the same for file sharing ?

On 11 Jun 2006, at 08:05, Gordon Davisson wrote:

> On Jun 9, 2006, at 1:52 PM, Donkergroen bvba wrote:
>
>> So what purpose does ListenAddress have ?
>> It seems to be none !
>
> Listening for ssh connections is controlled by whatever program is  
> doing the listening.  Under OS X v10.1 & 10.2, this was sshd  
> itself, so the settings in /etc/sshd_config were followed.  In  
> v10.3, responsibility for listening was handed over to xinetd, and  
> the listener settings were controlled by /etc/xinetd.d/ssh  
> (although most other properties of the ssh service were still  
> controlled by /etc/sshd_config).  In v10.4, launchd has taken over  
> for xinetd, so the relevant settings are in /System/Library/ 
> LaunchDaemons/ssh.plist.  I don't see any problem with editing this  
> file to add a SockNodeName property to its listener, although the  
> usual caveats about editing system files (make a backup, expect it  
> to get clobbered random by system updates) apply.  The resulting  
> file should look a lot like this:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"  
> "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
> <plist version="1.0">
> <dict>
> 	<key>Label</key>
(Continue reading)


Gmane