SunQuest
           BSD Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsBSD Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old June 27th, 2003, 02:31 AM
jaclark jaclark is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Location: California
Posts: 1 jaclark User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
sshd configuration problems on OpenBSD 3.3

Hello,

I am new to OpenBSD and am in the process of configuring a box for the first time. So far so good except for some troubles with sshd.

Currently, sshd works fine when I login locally such as 'ssh jim@localhost'. However, using SSH Secure shell from my windows box (ip=192.168.69.20), nothing seems to happen except for where it says 'Connecting to 192.168.69.21'. In other words, it never returns any output in the terminal window such as a password prompt so that I can log in.

Checking netstat on the OpenBSD box, I see that the incoming ssh connection is 'ESTABLISHED'. After the 120 seconds timeout period specified in sshd_config, on my BSD screen a message is displayed:

Jun 26 23:50:59 bsdtestbox sshd[1650]: fatal: Timeout before authentication for 192.168.69.20

Checking netstat again after the on-screen message, the connection has not gone away and is still 'ESTABLISHED' until I close the actual window on the Windows machine.

In SSH Secure Shell, I have switched the authentication method to be both Public Key and Password with the same results. I have not set up a hosts.allow or hosts.deny file and I can fetch http files on the box from my Windows machine.

My sshd_config file looks like:

Port 22
Protocol 2,1
HostKey /etc/ssh/ssh_host_key
HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_dsa_key
KeyRegenerationInterval 3600
ServerKeyBits 768
SyslogFacility AUTH
LogLevel INFO
LoginGraceTime 120
PermitRootLogin yes
RSAAuthentication yes
PubkeyAuthentication yes
AuthorizedKeysFile .ssh/authorized_keys
RhostsAuthentication no
IgnoreRhosts yes
X11Forwarding no
PrintMotd yes
KeepAlive yes
Subsystem sftp /usr/libexec/sftp-server

Any pointers on what I should do from here would be greatly appreciated.

-Jim

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsBSD Help > sshd configuration problems on OpenBSD 3.3


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway