View Single Post
  #2   (View Single Post)  
Old 16th February 2011
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

If you are able to connect on the local loop ... but not using your dyndns domain name, this could be for a lot of reasons.

That you are prompted for a password is good, it means that you can reach the externally facing address.

If /usr/sbin/sshd cannot open files in /etc/ssh/*, that is a good reason for failed authentication. Your client cannot confirm it is communicating with the correct host. You can get a lot more information on what is happening, or not happening, by looking at logs from sshd -- you'll may find information from /var/log/authlog, /var/log/daemon, and /var/log/messages very helpful.

What do YOU get when you issue the following command as root?

# ls /etc/ssh

Because the host keys should have been created by /etc/rc during your first boot of the OS.

There's always the possibility you're connecting to an sshd daemon on your router, or another machine on your network, rather than on your OBSD machine.
Reply With Quote