Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[gentoo-user] newbie: cant seem to emerge telnet - any ideas?

142 views
Skip to first unread message

Kingsley

unread,
Dec 26, 2003, 8:00:13 PM12/26/03
to
# emerge -k telnet
Calculating dependencies
emerge: there are no masked or unmasked ebuilds to satisfy "telnet".

!!! Error calculating dependencies. Please correct.

I don't get it ?
Is telnet not called 'telnet' in the package ?

thanks,
-kt


--
Kingsley Turner,
(mailto: king...@maddogsbreakfast.com.au)
http://MadDogsBreakfast.com - Travel Tales: The good, bad, and down-right ugly


--
gento...@gentoo.org mailing list

Manuel Pérez López

unread,
Dec 26, 2003, 8:10:08 PM12/26/03
to
Here you are:
* net-misc/netkit-telnetd
Latest version available: 0.17-r3
Latest version installed: 0.17-r3
Size of downloaded files: 130 kB
Homepage: ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/
Description: Standard Linux telnet client and server


El Sábado, 27 de Diciembre de 2003 01:57, Kingsley escribió:
> # emerge -k telnet
> Calculating dependencies
> emerge: there are no masked or unmasked ebuilds to satisfy "telnet".
>
> !!! Error calculating dependencies. Please correct.
>
>
>
> I don't get it ?
> Is telnet not called 'telnet' in the package ?
>
> thanks,
> -kt

--

-------
Cordiales saludos
Manuel Pérez López
manuel.pe...@hispalinux.es
http://www.ieduca.net/


--
gento...@gentoo.org mailing list

Aaron Walker

unread,
Dec 26, 2003, 8:20:07 PM12/26/03
to
Kingsley wrote:
> # emerge -k telnet
> Calculating dependencies
> emerge: there are no masked or unmasked ebuilds to satisfy "telnet".
>
> !!! Error calculating dependencies. Please correct.
>
>
>
> I don't get it ?
> Is telnet not called 'telnet' in the package ?
>
> thanks,
> -kt
>
>

emerge netkit-telnetd

--
/usr/bin/fortune says:
It is easier for a camel to pass through the eye of a needle if it is
lightly greased.
-- Kehlog Albran, "The Profit"


--
gento...@gentoo.org mailing list

Marc Redmann

unread,
Dec 26, 2003, 10:10:09 PM12/26/03
to
> Here you are:
> * net-misc/netkit-telnetd
> Latest version available: 0.17-r3
> Latest version installed: 0.17-r3
> Size of downloaded files: 130 kB
> Homepage: ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/
> Description: Standard Linux telnet client and server

There is also another ebuild which can satisfy your needs.

net-misc/telnet-bsd

brgds, Marc

--
gento...@gentoo.org mailing list

Brett I. Holcomb

unread,
Dec 26, 2003, 10:30:11 PM12/26/03
to
Or use openssh instead of telnet. It does everything telnet does and is more
secure.

Norbert Kamenicky

unread,
Dec 27, 2003, 10:20:08 AM12/27/03
to
Brett I. Holcomb wrote:

>Or use openssh instead of telnet. It does everything telnet does and is more
>secure.
>
>
>

U must know something I do not ...
how can u substitute " telnet localhost smtp "
using ssh to check if mailserver is alive ?

noro


--
gento...@gentoo.org mailing list

Brett I. Holcomb

unread,
Dec 27, 2003, 11:30:16 AM12/27/03
to
I would assume ssh localhost smtp and see what you get back.

Norbert Kamenicky

unread,
Dec 27, 2003, 12:10:17 PM12/27/03
to
Please check it before u send it here ...
is it meant to be a joke ?

noro


Brett I. Holcomb wrote:

--
gento...@gentoo.org mailing list

Brett I. Holcomb

unread,
Dec 27, 2003, 12:40:05 PM12/27/03
to
No, it's not meant to be a joke - I'm trying to help you. I don't run smtp
so I can't duplicate the exact thing you're trying to do. However, I have
used ssh as a substitute for telnet when I had to connect to other services.
As a matter of fact I did run ssh localhost smtp before I sent the last
message. It asked to authenticate, then obviously, since I don't run smtp it
didn't find it.

Look, you can do what you want. My whole point was that in case you didn't
know it you might want to check out ssh. You didn't tell us what you were
trying to do. Unfortunately, many people use telnet for a lot of reasons and
don't realize how insecure it is - I know I didn't and when I finally took
the time and learned ssh it's all I use now. But you may already know it all.

As I said - I was only trying to help.

Norbert Kamenicky

unread,
Dec 27, 2003, 1:10:17 PM12/27/03
to
I was really thinking u know something I do not, because
u said exactly: "It (ssh) does everything telnet does."

Since it's a long time I last read ssh manual and I use
telnet as very helpfull diagnostic tool for checking
different net services (pop3,imap, smtp ..., but NOT for
running remote shell) I was interesting how is it possible.

If u do not run smtp server on your local machine, please
do not hesitate to change "localhost" with any other smtp
server, there is plenty of them on the inet, afaik.

So there are only two possibilities:
1. u are wrong
2. I am unfamiliar with ssh

I am afraid 1. is true, but would be glad if not.

noro

Brett I. Holcomb wrote:

--
gento...@gentoo.org mailing list

Ciaran McCreesh

unread,
Dec 27, 2003, 1:30:10 PM12/27/03
to
On Sat, 27 Dec 2003 16:08:12 +0100 Norbert Kamenicky <no...@xmedia.sk>
wrote:

| U must know something I do not ...
| how can u substitute " telnet localhost smtp "
| using ssh to check if mailserver is alive ?

Use nmap. That's what it's there for.

--
Ciaran McCreesh
Mail: ciaranm at gentoo.org
Web: http://dev.gentoo.org/~ciaranm

Spider

unread,
Dec 27, 2003, 1:50:08 PM12/27/03
to
begin quote

On Sat, 27 Dec 2003 18:12:17 +0000
Ciaran McCreesh <cia...@gentoo.org> wrote:

> On Sat, 27 Dec 2003 16:08:12 +0100 Norbert Kamenicky <no...@xmedia.sk>
> wrote:
> | U must know something I do not ...
> | how can u substitute " telnet localhost smtp "
> | using ssh to check if mailserver is alive ?
>
> Use nmap. That's what it's there for.
>

Nah, nmap only does port wise scan, not interactive work. I'd suggest
"netcat" (nc) instead of telnet.. ;)


//Spider

--
begin .signature
This is a .signature virus! Please copy me into your .signature!
See Microsoft KB Article Q265230 for more information.
end

Norbert Kamenicky

unread,
Dec 27, 2003, 2:20:10 PM12/27/03
to
Ciaran McCreesh wrote:

>On Sat, 27 Dec 2003 16:08:12 +0100 Norbert Kamenicky <no...@xmedia.sk>
>wrote:
>| U must know something I do not ...
>| how can u substitute " telnet localhost smtp "
>| using ssh to check if mailserver is alive ?
>
>Use nmap. That's what it's there for.
>
>
>

U are <OT>, I just opponed Brett I. Holcomb, who wrote :
"It (ssh) does everything telnet does ..."

But anyway, if nmap says port is open, it doesn't mean
service is running properly ... so it's unvaluable.

So for checking remote services telnet is still fine !

PS.
I wrote a short java prog which can check it as well ...


--
gento...@gentoo.org mailing list

SN

unread,
Dec 27, 2003, 5:00:22 PM12/27/03
to

----- Original Message -----
From: "Brett I. Holcomb" <bretth...@charter.net>
To: <gento...@lists.gentoo.org>
Sent: Saturday, December 27, 2003 6:34 PM
Subject: Re: [gentoo-user] Re: [normal] Re: [gentoo-user] newbie: cant seem
to emerge telnet - any ideas?


> No, it's not meant to be a joke - I'm trying to help you. I don't run
smtp
> so I can't duplicate the exact thing you're trying to do. However, I have
> used ssh as a substitute for telnet when I had to connect to other
services.
> As a matter of fact I did run ssh localhost smtp before I sent the last
> message. It asked to authenticate, then obviously, since I don't run smtp
it
> didn't find it.
>
> Look, you can do what you want. My whole point was that in case you
didn't
> know it you might want to check out ssh. You didn't tell us what you were
> trying to do. Unfortunately, many people use telnet for a lot of reasons
and
> don't realize how insecure it is - I know I didn't and when I finally took
> the time and learned ssh it's all I use now. But you may already know it
all.

How can someone give advice on security issues if he doesn't even know what
a 'telnet mailserver 25' can do????
That is basic networking knowledge. If you want to debug a mailserver telnet
is the best tool out there logon to a mail server.


I quote from some earlier post of yours:


"""I would assume ssh localhost smtp and see what you get back."""

I hate it if people try to sound smart if they come up with:

"Unfortunately, many people use telnet for a lot of reasons and
don't realize how insecure it is"

First time I emerge telnet I kind of was pissed that you cannot emerge
telnet daemon and telnet client as single packages, because I don't know how
much sense it makes to install telnet server on a linux box, but I'd rate
telnet client as a must have tool on any linux box.


>
> As I said - I was only trying to help.
>
> On Saturday 27 December 2003 12:05, you wrote:
> > Please check it before u send it here ...
> > is it meant to be a joke ?
> >
> > noro
> >
> > Brett I. Holcomb wrote:
> > >I would assume ssh localhost smtp and see what you get back.
> > >
> > >On Saturday 27 December 2003 10:08, you wrote:
> > >>Brett I. Holcomb wrote:
> > >>>Or use openssh instead of telnet. It does everything telnet does and
is
> > >>>more secure.
> > >>
> > >>U must know something I do not ...
> > >>how can u substitute " telnet localhost smtp "
> > >>using ssh to check if mailserver is alive ?
> > >>
> > >>noro
> > >
> > >--
> > >gento...@gentoo.org mailing list
>
> --
> gento...@gentoo.org mailing list
>
>
>

--
gento...@gentoo.org mailing list

Brett I. Holcomb

unread,
Dec 27, 2003, 5:10:12 PM12/27/03
to
I don't run smtp. However, I have used it to check a service. I did ssh -p
xxxxx username@remote. For this service I got a connected message indicating
the service was listening.

Yes, ssh was designed as a secure way to connect and is recommended over
telnet.

Brett I. Holcomb

unread,
Dec 27, 2003, 7:00:22 PM12/27/03
to
Well, excuse me! I'm sorry I tried to help with what knowledge I had.
First, your original message just wanted to merge telnet - that got answered.
I also gave you the same (good) advice I've gotten and seen given many times
- in fact I'm surprised someone else didn't give it to you too as has been
done before on this list. It's not being or sounding smart - it is simple
good advice. Telnet is insecure - period. Ssh was developed to be a secure
alternative. Not knowing your level of competence I passed on what has been
good advice to me and many others who have appreciated it.

Finally, I don't have to know about mailservers. I know enough to know that
telnet and ssh can be used to see if a service is active. That appeared to
be what you wanted.

As I said, you can take the advice or leave it. If telnet will work for you
and you can live with it's insecurities then use it.

On Saturday 27 December 2003 16:38, you wrote:

Norbert Kamenicky

unread,
Dec 27, 2003, 8:50:09 PM12/27/03
to
Guy, it's very nice of u, that u like to help, but
u really do not understand telnet, ssh and
network services ... at all !!!
(This is the third answer by which u
confirm it ... like a donkey.)

Please stop to write about your feelings and repeat
what somebody wrote without understanding it.
Otherwise u risc that nobody will take u serious.

noro

Brett I. Holcomb wrote:

--
gento...@gentoo.org mailing list

Scott Jackson

unread,
Dec 27, 2003, 11:20:06 PM12/27/03
to
OKAY.
Enough flames already. y'all are flooding my mailbox and you can't even speak correct english.
ANSWERS:
1) no, "ssh foo.bar smtp" won't work, because the point of "telnet foo.bar smtp" is to nicely fool the mailserver into thinking you're not telnet. (not that we want to prevent that anyway, so "fool" is a loose term)

2) Norbert, first of all, your question was answered in the FIRST REPLY.
second of all, just use the nmap portscanner if you don't have telnet.
"emerge nmap"
(then as root)
"xnmap"
scan your desired machine, it's a good way to check to see what's alive.

now stop flooding my mailbox or I'll force Godman's Law to be incited.

Cheers,
Scott Jackson <sco...@ajackson.org>

PS: Godman's Law: Whenever Nazis, Hitler, or Stalin is mentioned in a discussion, the offending party loses and the discussion ends.

--
gento...@gentoo.org mailing list

Ciaran McCreesh

unread,
Dec 27, 2003, 11:30:10 PM12/27/03
to
On Sat, 27 Dec 2003 21:56:46 +0000 Scott Jackson <sco...@ajackson.org>
wrote:

| now stop flooding my mailbox or I'll force Godman's Law to be incited.

Ah dear. Looks like I'll just have to flame you. For screwing up. Three
times! In one sentence!

William Kenworthy

unread,
Dec 28, 2003, 5:00:21 AM12/28/03
to
ssh does not seem to do everything telnet does. For instance, I run an
imap server, and "ssh -p 143 hostname" will not return the same as
"telnet hostname 143"

ssh is not the be all and end all that some people think it is. Telnet
is probably as safe a program as ssh ***EXCEPT*** it sends all data,
including passwords in plain text. Thats the only unsafe part. Telnet
is a technicians friend in fault finding and general equipment
configuration. There are a lot of machines out there (and I am not just
talking routers, computers etc, but all sorts of machinery) that have a
telnet interface, or can respond to a telnet connection in some way for
fault finding.

Now as well as telnet, you will want to never use ftp, imap, pop3, ...
as they also send everything in plain text. You would be amazed at how
many people carry on about telnet, but dont think twice about other
programs in common use with similar problems.

Now I dont run a telnet daemon (and none is installed) on any of my
machines, but a telnet client is almost the first program installed once
running on its own steam - and very useful it is too - you can even use
to troubleshoot ssh tunnels!

BillK


On Sun, 2003-12-28 at 01:57, Norbert Kamenicky wrote:
> I was really thinking u know something I do not, because
> u said exactly: "It (ssh) does everything telnet does."
>

--
gento...@gentoo.org mailing list

Andrej Kacian

unread,
Jan 9, 2004, 9:30:13 AM1/9/04
to
On Sat, 27 Dec 2003 18:11:12 -0500
"Brett I. Holcomb" <bretth...@charter.net> wrote:

> Finally, I don't have to know about mailservers. I know enough to know that
> telnet and ssh can be used to see if a service is active. That appeared to
> be what you wanted.

That's like using http://mailserver:25 in a web browser to see if the
mailserver is listening. :)

--
/~\ The ASCII Andrej "Ticho" Kacian <andrej at kacian dot sk>
\ / Ribbon Campaign GnuPG public key ID: 7CD93FE2 (pgp.mit.edu)
X Against HTML Key fingerprint:
/ \ Email! E87D 9DEF 2A23 6FFB 7AD9 542F 4253 3A46 7CD9 3FE2

0 new messages