Record of some of the computer tech I deal with so that it's documented at least somewhere.

Monday, 16 March 2009

sshd on MacMini / OSX 10.4.11

On the machine I got control of there were no ssh keys

nothing unusual going on, keys are in /etc instead of /etc/ssh

ssh-keygen -t rsa1 -q -f /etc/ssh_host_key
ssh-keygen -t rsa -q -f /etc/ssh_host_rsa_key
ssh-keygen -t dsa -q -f /etc/ssh_host_dsa_key

/usr/sbin/sshd

getting it to startup on boot - Preferences - Network - Remote Access [x]

I suspect that it would have generated the proper keys if I'd done that first !

No comments: