On Thursday 07 April 2011 17:19:24 Alan Mackenzie wrote:
> Hi, Gentoo!
> 
> I would like a telnet client installed on my gentoo amd64 system.  When I
> try
>         emerge telnet
> , I get told that telnet doesn't exist.
> 
> What am I doing wrong?  Is there a telnet client on gentoo?

As others said there's more than one option, not forgetting netcat:

nc -t address <port>

However, you don't need to install anything if you don't want to, because 
busybox contains a telnet client and daemon.

Just create a symlink from your /usr/local/bin/telnet to /bin/busybox:

# ln -s /bin/busybox /usr/local/bin/telnet

$ ls -la /usr/local/bin/telnet
lrwxrwxrwx 1 root root 12 Jan 30 12:24 /usr/local/bin/telnet -> /bin/busybox

$ telnet
BusyBox v1.17.4 (2010-12-26 22:07:56 GMT) multi-call binary.

Usage: telnet [-a] [-l USER] HOST [PORT]

Connect to telnet server

Options:
        -a      Automatic login with $USER variable
        -l USER Automatic login as USER

Or just run:

$ busybox telnet
-- 
Regards,
Mick

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to