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 March 17th, 2004, 02:07 PM
SyRenity SyRenity is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 3 SyRenity User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Using ssh with OpenBSD 3.4

Hi.
I've recently installed a new box with OpenBSD 3.4. Now, the localhost ssh logon works, but a remote logon from a Windows machine via Putty, doesn't. The telnet and other services works correctly. Any ideas?

Reply With Quote
  #2  
Old March 17th, 2004, 02:37 PM
M.Hirsch M.Hirsch is offline
Contributing User
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: Oct 2000
Location: Back in the real world.
Posts: 5,969 M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 22 h 39 m 55 sec
Reputation Power: 184
AFAIK OpenBSD doesn't allow any remote connections in the default configuration. You have to explicitly enable them (which you probably did for telnet and "the other services").

Now, how to do that? To be honest, I don't know (Hello, Scorps?).

I guess one or more of these will help:
IF...
...it is not listening on the network interface
-> edit /etc/ssh/sshd_config
...it is run via inetd+tcp wrappers
-> edit /etc/hosts.allow
...OpenBSD enables the packed filter and denies everything by default
-> well, ... err, ... hmmm, ... consult the manual about ipfilter.

Another idea is that it possibly doesn't allow SSH1, you have to tell putty to use SSH2 then or enable SSH1 in /etc/ssh/sshd_config.

hth,
M.
__________________
--
Manuel Hirsch - Linux, FreeBSD, programming, administration articles, tutorials and more.

Last edited by M.Hirsch : March 17th, 2004 at 02:39 PM.

Reply With Quote
  #3  
Old March 17th, 2004, 04:35 PM
SyRenity SyRenity is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 3 SyRenity User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thanks, I'll check it soon. Unfortunately, it's currently unreachable via Telnet, probably hanged, as usual. And it's not the first time. A most secure OS ever, hangs every day... Hmm, maybe I should switch to FreeBSD..

Reply With Quote
  #4  
Old March 19th, 2004, 12:42 AM
Scorpions4ever's Avatar
Scorpions4ever Scorpions4ever is offline
Banned ;)
Dev Shed God 5th Plane (7000 - 7499 posts)
 
Join Date: Nov 2001
Location: Glendale, Los Angeles County, California, USA
Posts: 7,432 Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 4 Weeks 1 Day 22 h 29 m 51 sec
Reputation Power: 784
Actually, OpenBSD does run sshd by default install (NetBSD has it turned off). It also runs inetd by default, but all the services in inetd.conf are turned off in the default install.

I was going to ask you to check the IP address on the NIC, but if you can telnet to it using the same IP address, then this is not the case. BTW, does putty print some sort of error message or what? It might be helpful to know this information.
__________________
Up the Irons
What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home.
"Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest
Down with Sharon Osbourne

Puzzle of the Month solved by sizeablegrin, etienne141 and L7Sqr, superior C/C++ programmers of the month

Reply With Quote
  #5  
Old March 22nd, 2004, 05:07 PM
SyRenity SyRenity is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 3 SyRenity User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Hi.
Well, I was going to tell you the error, but miracaly, it works. Putty suggests to store the keys, and then connects. Weird stuff, maybe somehow related to this hardware problem. I've changed the whole PC, leaving only the disk, with the NIC of the same brand. Now the hangs are gone, and it connects well. Maybe the NIC was damaged, maybe something else. Well, back to shutting down and closing telnet daemon Thanks anyway.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsBSD Help > Using ssh with OpenBSD 3.4


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