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:
  #1  
Old April 9th, 2003, 12:07 AM
mystik_web's Avatar
mystik_web mystik_web is offline
No one Important
Dev Shed Novice (500 - 999 posts)
 
Join Date: Aug 2000
Location: Australia
Posts: 524 mystik_web User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 12 h 38 m 24 sec
Reputation Power: 9
Send a message via ICQ to mystik_web
Running telnet

Platform OpenBSD 3.2 stable

How do I set up and configure telenet access to my machine?

both plain telnet and ssh? any good guides out there?

Reply With Quote
  #2  
Old April 22nd, 2003, 10:50 PM
rfc791's Avatar
rfc791 rfc791 is offline
unix hermit
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Location: http://www.rfc791.org
Posts: 18 rfc791 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
telnet runs usually from your /etc/inetd.conf.

Inetd is the internet superserver, it's a daemon which runs and listens on all the ports you configure it to, and when someone connects, it runs the appropriate server program and connects the socket to it. There should be a line in /etc/inetd.conf that mentions telnet that comes commented out in openBSD, you should be able to uncomment that line then send a HUP signal to inetd, and telnet should open up.


# vi /etc/inetd.conf

...

# ps xa | grep inetd
115 ?? Is 0:00.46 /usr/sbin/inetd -wW
# kill -HUP 115
#


The Secure Shell daemon, on the other hand, needs to be running constantly so it can regenerate those nifty little crypto keys that make it so secure. To enable sshd, you need to have a line like the following in your /etc/rc.conf:

sshd="YES"

And you'll need to reboot for /etc/rc.conf to be noticed. The
first time you reboot after making this change, your machine might take a while to generate its keys; this will only happen once. On my 40MHz sparcstation, it took half an hour I think. Probably on modern-day i386 hardware it won't take quite that long.

The line to put in /etc/rc.conf may be different in OpenBSD. Read rc.conf(5) [man -5 rc.conf]. I use FreeBSD and NetBSD, which are very similar to Open. Used to use Open once, but one day a remote root vulnerability was found in the ftp daemon. Guess which BSD flavor fixed it last? OpenBSD. Their excuse: The ftp daemon is not enabled by default, therefore OpenBSD is secure. Funny, NOTHING is enabled by default.

Ah, but it's been since 2.8 since I tried it, so ........

Last edited by rfc791 : April 22nd, 2003 at 10:55 PM.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsBSD Help > Running telnet


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 3 hosted by Hostway
Stay green...Green IT