Grex Garage Conference

Item 23: Telnetd removal from OpenBSD >= 3.8 and grex.

Entered by cross on Mon Dec 19 14:13:52 2005:

49 new of 57 responses total.


#9 of 57 by twenex on Wed Dec 21 11:16:16 2005:

PuTTY might be available in a UNIX compatibility package for MacOS too.


#10 of 57 by remmers on Wed Dec 21 13:22:14 2005:

OS X comes with ssh.  Why would you need PuTTY?

I agree with Bruce's #4, last paragraph.  Re the suggestion in #5 for
browser-embedded SSH - I think that's a cool idea.  There's some
interesting work on using JavaScript and XMLHTTPRequest for that, which
might be a better way to go than Java applets.  See for example
http://anyterm.org/ .


#11 of 57 by twenex on Wed Dec 21 13:23:51 2005:

Oh, it does? some people like GUIs too much.


#12 of 57 by remmers on Wed Dec 21 15:13:48 2005:

Yes, but Darwin is a superb example of Intelligent Design.

<remmers ducks>


#13 of 57 by twenex on Wed Dec 21 15:56:02 2005:

Oh, no. You've done it now, John...


#14 of 57 by tod on Tue Dec 27 21:26:42 2005:

Browser embedded SSH defeats the purpose of SSH key exchange.  Why not
continue using older telnet source rather than shoving "Security Goals" down
the throat of users that may not care that much?
Perhaps requiring SSH of members(i.e. outbound telnet) could meet the security
goals without infringing on the vast array of users?


#15 of 57 by nharmon on Tue Dec 27 22:32:35 2005:

Well, if the users do not agree with the security goals, why don't we
change the goals, and not simply ignore them. :)


#16 of 57 by bhoward on Wed Dec 28 00:51:04 2005:

Todd, how does browser embedded SSH defeat the purpose of SSH key
exchange?


#17 of 57 by cross on Wed Dec 28 01:30:49 2005:

Presumably, the user who logins in via browser embedded SSH is transient
in nature, and not likely to login from the same computer that often.  Then,
they can't tell if the host key changes easily.

The SSH model allows one to test the validity of a host key because it
presumes the keys change rarely and are widely published.  The embedded
browser model does away with some of those assumptions.


#18 of 57 by tod on Wed Dec 28 16:09:04 2005:

In addition to what Dan said, applet based SSH would leave behind information
such as hostname, public host key, username, and possibly even password
(assuming someone before you had loaded the applet on the machine with the
"record" function enabled.)

I'm still not sure how the majority of the userbase would benefit from being
denied telnet unless future versions of Windows(which the majority of Grexers
use) include SSH.


#19 of 57 by gull on Wed Dec 28 20:30:08 2005:

The problems listed in resp:18 are inherent with using a public computer.
They're not particular to SSH; it just doesn't solve them. He's right, though,
that you lose SSH's resistance to "man in the middle" attacks this way. About
all it protects you from, then, is packet sniffing.


#20 of 57 by bhoward on Thu Dec 29 06:14:04 2005:

Couldn't we package up a special release of this browser ssh client
to be downloadable from grex with grex's public host key preloaded
into it to address the man-in-the-middle problem?


#21 of 57 by tod on Thu Dec 29 06:57:50 2005:

re #19
The problem is browser based SSH vs. host based telnet client has a miniscule
security enhancement but higher hinderance on the userbase.


#22 of 57 by cross on Thu Dec 29 15:18:34 2005:

Well, I think that protecting against packet sniffing has a big advantage,
but the point of this whole thread is getting rid of telnet in favor of SSH
only.  The fact of the matter is, despite the foot stamping of the OpenBSD
crowd, it's just not going to happen any time soon (not, as Todd points out,
until there are widely available SSH clients bundled with the major OS
vendors).  So how does one support telnetd on an operating system that's
made it clear has no intention of doing it itself going forward?  That's
what's at issue.

Personally, I'm rather sad to see them remove telnetd.  Maybe I can see
them removing the non-encrypted, non-Kerberized versions, but it's a bummer
to me to see those go away.


#23 of 57 by gull on Thu Dec 29 19:36:06 2005:

Does the FreeBSD port of telnetd compile on OpenBSD? I doubt FreeBSD will be
eliminating it any time soon.


#24 of 57 by bhoward on Fri Dec 30 05:02:59 2005:

We grabbed the telnetd from 3.7 and recompiled that for 3.8 when we
did the upgrade.  Until we decide to retire telnet access, I suggest
sticking with that for the time being.


#25 of 57 by steve on Tue Jan 3 05:51:43 2006:

   The issue isn't if telnetd will work with future versions of 
OpenBSD or not.  There are others doing what we did, so I'm not
too concerned about being able to run it.  The real question is
how do we best do this.  I think giving several months notice
about a telnet phase out is the way to go, along with a web 
page here explainging how to get ssh clients for Windows/MacOS.


#26 of 57 by cross on Tue Jan 3 15:40:43 2006:

That sounds reasonable.


#27 of 57 by remmers on Wed Jan 4 16:47:09 2006:

Re #25:  Mac OS X comes with an ssh client.


#28 of 57 by bhoward on Thu Jan 12 09:22:13 2006:

I get a lot of "helper" write sessions and just got a relevant one
today.  Person logged in, wanted to be able to sign in with ssh but
didn't have a clue about unix/linux -- did not know what a shell
is, how to edit a file, make a directory but he did know about
putty...apparently was using it with other systems though how, I
don't know.

We will need to have clear instructions on how to locate and/or
generate your public key under putty and have a dead simple way for
them to cut-n-paste it to something that will properly configure
their .ssh/authorized* files.

Based on my conversation just now, this is something we will need
to transition very carefully and slowly.  I would not want to scare
away non-technical users or those lacking exposure to unix.  The
first of those two groups are often the ones that make the best
conferencing participants!


#29 of 57 by cross on Thu Jan 12 15:16:15 2006:

Why not just start with passwords under PuTTY?


#30 of 57 by gull on Sat Jan 14 02:28:07 2006:

I agree with resp:29. I wouldn't expect users to start using public key
authentication right off the bat. Most people don't need that level of
security, and most SSH clients lack a point-and-click way to do it.


#31 of 57 by eteepell on Sat Jan 6 00:22:47 2007:

I'm of the opinion to keep the telnetd going until major OS's ship with SSH
in the base system. I like the idea of security but not at the expense of
causing troubles for newbies. In my circumstance I am often on grex at work,
which uses Windows, and which has a corporate policy of not allowing
installation of software of company computers (see my point?), a web based
solution, like a java ssh would be nice, then theres the pesky surfcontrol


#32 of 57 by maus on Sun Jan 7 00:50:11 2007:

Can you execute a third-party command if it does not require
installation? If so, look into putty. You can have full ssh capabilities
with 2 files without having to install anything. As another alternative,
I think you can download MindTerm for free if you just want it for
personal use. You can then simply execute "java -jar mindterm.zip
cyberspace.org". 


#33 of 57 by denise on Tue Jan 23 23:24:57 2007:

Maybe a bit late in the discussion, I do hope telnet stays for awhile for us
non-techies on board. Though I've heard of ssh here, I have absolutely no idea
what that [or putty] is.  So an easy, non-techie based option for being on
grex would be cool.  :-)


#34 of 57 by nharmon on Wed Jan 24 01:12:35 2007:

Denise, I would say that using PuTTY is actually less "techie" than
using Windows telnet to access Grex.

Download a copy of PuTTY and give it a try.


#35 of 57 by cross on Wed Jan 24 16:03:55 2007:

I agree with nharmon; PuTTY is actually easier to use than Windows telnet.
Grab a copy from here: http://www.putty.nl/latest/x86/putty-0.58-installer.
exe
and give it a whirl....


#36 of 57 by denise on Wed Jan 24 22:54:54 2007:

What IS putty? Or does it explain what it is on the web site?  I guess its
just something that I haven't ever been exposed to [but am willing to try and
learn].


#37 of 57 by cross on Wed Jan 24 23:57:47 2007:

In a nutshell, PuTTY is a "terminal program" that allows you to connect to
remote systems (like grex) over the Internet.  It provides a superset of the
functionality of Windows telnet, which you might currently be using to connect
to grex.


#38 of 57 by denise on Thu Jan 25 03:33:20 2007:

Ok, thanks. I'll definitely check it out sometime in the next day or two when
I have a bit more time.  :-)


#39 of 57 by remmers on Thu Jan 25 17:30:23 2007:

In circumstances where I've been forced to use Windows, I used PuTTY a
lot for connecting to systems with a terminal interface.  Definitely
recommended.

One downside was non-standard copy-paste behavior (borrowed from X
Windows, if I recall correctly) that could have unfortunate consequences
if you weren't aware of it.  I don't recall the exact details - it's
been a few years - and maybe it's been fixed.


#40 of 57 by nharmon on Thu Jan 25 17:42:42 2007:

Anything you highlight in PuTTY is copied onto the clipboard and right
clicking will paste everything in the clipboard.


#41 of 57 by remmers on Thu Jan 25 17:56:14 2007:

Oh, right.  Still not fixed, eh?  

Accidental copies followed by accidental pastes into a command line
interface can have unfortunate consequences.  Regardless what you think
of Windows, applications for it *should* follow standard user interface
behavior.


#42 of 57 by nharmon on Thu Jan 25 18:40:24 2007:

Fixed implies it is broken, John. I kinda like that behavior. :-)


#43 of 57 by cross on Thu Jan 25 19:21:29 2007:

Yeah, that's one thing about PuTTY that I do NOT like.


#44 of 57 by twenex on Thu Jan 25 20:14:08 2007:

I love it.

What I hate about PuTTY is that it's only necessary on Windows!


#45 of 57 by remmers on Thu Jan 25 23:29:10 2007:

I don't mind the behavior either, but then I'm an X Window veteran,
where it's standard.  But if you're going to make a product that's
friendly to the poor folks who are stuck on Windows, you shouldn't have
unpleasant little traps waiting for them.  I guess a user preference for
X Window behavior or standard Windows behavior, with the latter being
the default, would be ok.


#46 of 57 by cross on Thu Jan 25 23:47:10 2007:

I agree with remmers here.


#47 of 57 by nharmon on Fri Jan 26 01:03:58 2007:

It appears that my version of PuTTY allows you to turn this feature off.

Window --> Selection --> (Options controlling copy and paste)


#48 of 57 by gull on Sat Jan 27 22:12:23 2007:

I kind of prefer the Windows behavior, and I configure my X systems to follow
it.


#49 of 57 by gull on Sat Jan 27 22:13:10 2007:

It also occurrs to me that maybe it should be referred to as "Mac behavior,"
since it originated there and Windows copied it. ;)


#50 of 57 by cross on Sun Jan 28 00:02:14 2007:

I think the Principle of Least Surprise would dictate that PuTTY would use
the Windows behavior by default under Windows.  When in Rome, and all that....


#51 of 57 by twenex on Sun Jan 28 08:59:34 2007:

OTOH, maybe the developers figure that the majority of people who use PuTTY
will be familiar with X11 anyway, and thus TPOLS dictates that X11 behaviour
by default is necessary?


#52 of 57 by cross on Sun Jan 28 09:16:28 2007:

That's entirely possible, too.  I wonder what the rationale is....


#53 of 57 by remmers on Mon Jan 29 12:56:07 2007:

Re #51: That assumption may have been valid when PuTTY was new, but I'm 
doubtful that it's still valid.


#54 of 57 by maus on Mon Jan 29 14:29:47 2007:

resp:53 For those of us who have been using PuTTY for years, the X11 
way of doing it is ingrained in our brains, If they changed it to a 
Windows behaviour, it would break the kinesthetic processes for long-
time users. I think that it might benefit from a large-print warning on 
the webpage and a smaller-print explanantion of how to make it more 
Windowsish (Windowsy? Windowsesque?). 


#55 of 57 by remmers on Mon Jan 29 15:48:24 2007:

Oh, I have no objection to the X-like behavior remaining but don't think 
it should be the default.


#56 of 57 by cross on Mon Jan 29 15:58:10 2007:

I tend to agree with Remmers on this.  As long as the Windows behavior is
available, however, I don't particularly care about the default.


#57 of 57 by twenex on Mon Jan 29 18:15:03 2007:

Re: #53. Why's that? Most Windows users I know would consider typing commands
into a text window, at best neolithic, and at worst bonkers.


There are no more items selected.

You have several choices: