|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
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
|
|||
|
|||
|
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? |
|
#2
|
|||
|
|||
|
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. |
|
#3
|
|||
|
|||
|
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..
|
|
#4
|
||||
|
||||
|
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 |
|
#5
|
|||
|
|||
|
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. |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > BSD Help > Using ssh with OpenBSD 3.4 |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|