Re: installing ssh after freebsd has been installed?
Thanks, Bill and Matthew, your suggestions did the trick. g. On Sep 6, 2006, at 2:41 PM, Bill Moran wrote: In response to g <[EMAIL PROTECTED]>: how do is install ssh once i've installed freebsd 6.1? i used sysinstall. check ssh in the networking section. ok'ed my and exited my way back to the system prompt. as root i typed /usr/sbin/sshd i get from the system: Could not load host key: /etc/ssh/ssh_host/dsa_key Disabling protocol version 2. Could not load host key sshd: no hostkeys available -- exiting. do i need to reinstall the os, 6.1, in-order for it to setup ssh and create those files, ssh_host_ ...? Use the /etc/rc.d/sshd script to start/stop sshd. It will detect the above condition and take care of it. Assuming you've set up your config files properly, you could also reboot the system. -- Bill Moran Collaborative Fusion Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions- [EMAIL PROTECTED]" g. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: installing ssh after freebsd has been installed?
In response to g <[EMAIL PROTECTED]>: > how do is install ssh once i've installed freebsd 6.1? > > i used sysinstall. check ssh in the networking section. ok'ed my > and exited my way back to the system prompt. > > as root i typed /usr/sbin/sshd > > i get from the system: > > Could not load host key: /etc/ssh/ssh_host/dsa_key > Disabling protocol version 2. Could not load host key > sshd: no hostkeys available -- exiting. > > do i need to reinstall the os, 6.1, in-order for it to setup ssh and > create those files, ssh_host_ ...? Use the /etc/rc.d/sshd script to start/stop sshd. It will detect the above condition and take care of it. Assuming you've set up your config files properly, you could also reboot the system. -- Bill Moran Collaborative Fusion Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: installing ssh after freebsd has been installed?
g wrote: > how do is install ssh once i've installed freebsd 6.1? > > i used sysinstall. check ssh in the networking section. ok'ed my and > exited my way back to the system prompt. > > as root i typed /usr/sbin/sshd > > i get from the system: > > Could not load host key: /etc/ssh/ssh_host/dsa_key > Disabling protocol version 2. Could not load host key > sshd: no hostkeys available -- exiting. > > do i need to reinstall the os, 6.1, in-order for it to setup ssh and > create those files, ssh_host_ ...? > The system startup script for sshd will create any necessary key files if they are missing. Try the following: # killall sshd # /etc/rc.d/sshd start Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature