On Monday, November 4, 2002, at 11:16 AM, [EMAIL PROTECTED] wrote:
They should be created automatically the first time you launch it via the StartupItem you can install with 'daemonic enable ssh' -- you can do that manually withFinally, I never got X11 forwarding to work with OS X's openssh daemon, so you may want to make sure that it is actually /sw/sbin/sshd that's running and nothing else. As a last diagnostic tool, you can start the daemon manually with 'sudo /sw/sbin/sshd -ddd' and watch out for debug messages on the server side.This appears to be a part of the problem:
[mymachine:~] hodelas% /sw/sbin/sshd -ddd
debug1: sshd version OpenSSH_3.5p1
Could not load host key: /sw/etc/ssh/ssh_host_key
Could not load host key: /sw/etc/ssh/ssh_host_rsa_key
Could not load host key: /sw/etc/ssh/ssh_host_dsa_key
Disabling protocol version 1. Could not load host key
Disabling protocol version 2. Could not load host key
sshd: no hostkeys available -- exiting.
These host key files were not installed by fink install openssh. Under 10.1 I was able to copy these files from /etc, but they don't seem to be working with 10.2 for some reason. Will do some hunting to see what;s up.
'sudo /Library/StartupItems/daemonic-ssh/daemonic-ssh start' if you have not rebooted yet.
Although I have had no problems using the keys copied from /etc over to /sw/etc/ssh (or maybe I copied them the other way round) with both OpenSSH 3.4 and 3.5. Saves you dealing with changed hostkeys and all the associated warnings, security alerts, alarm code red etc. but YMMV -- I have also heard from people who use /usr/sbin/sshd for X forwarding without problems, yet I never got it to work with any of our Macs.
Derek
-------------------------------------------------------
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users