Tag Info

Hot answers tagged

126

It should have printed something along the lines of: Escape character is '^]'. Since ^X is CtrlX, try Ctrl] for ^]. You should then enter the telnet console, where you can enter quit to leave telnet.


45

First, there is no Telnet/Netcat client – they are two separate programs. Second, there is no "the" – there exist at least 10 different Telnet clients and at least 6 different Netcat versions (original netcat, GNU netcat, OpenBSD netcat, nmap's ncat; forgot the rest) GnuTLS has a TLS client tool on Linux: gnutls-cli imap.gmail.com -p 993 ...


30

Type quit to exit telnet in windows.


19

/usr/bin/reset might also do the trick.


18

The Telnet client in Windows 7 is disabled by default, and needs to be enabled via Windows' Programs and Features: Control Panel --> Programs --> Turn Windows features on or off, in the dialog that pops up check-mark "Telnet Client". For more info see: Why isn't Telnet enabled by default in Windows 7? And at MS's site you can check out Telnet: ...


17

PuTTY is a free implementation of Telnet and SSH for Windows and Unix. Download the latest PuTTy for telnet.


16

TELNET communicates with the peer (telnet server) in clear text. This is a security hazard compared to say the SSH connect. To this end, the telnet client on windows is disabled by default. This often comes as a surprise and many sites describe the steps to get it working, you seem to have found them already :) For normal purposes, it would be a better ...


15

One way is to limit the number of processes , a user can run. Just login as root , and edit this file , to add users and configure , their limit. # vi /etc/security/limits.conf Add this line to the file john hard nproc 10 Now user john can create only 10 processes.


13

127.0.0.1 is the (IPv4) localhost you are used to. ::1 is the IPv6 localhost address. fe80::1%lo0 looks like a link-local IPv6 loopback address on the device lo0.


12

To stop a running fork bomb you might be able to use killall <name> to kill all processes of the bomb. However, since a fork bomb usually results in an incredibly high load on the system you might not be able to SSH into it or execute that. So a reboot might be necessary or at least much faster. If every user has his own account on the system you can ...


10

One word: Netcat Netcat is the go-to tool for this sort of thing. You can thrash whatever port you choose with udp packets with something like: nc -u host.example.com 53 << /dev/random (53 is your port number) Or you can send an actual file, or tell it to bind that port and listen as a service, or whatever you like.


9

CtrlSpace sends ASCII NUL. For the general case, System Preferences > Keyboard > Input Sources, scroll down the list and select Unicode Hex Input. You can then use CmdShiftSpace (and, if you disable Spotlight's use of it, CmdSpace) to switch between input modes or assign it a keyboard shortcut of its own (and presumably another to switch back) in ...


8

Not sure what layout you have, but for me in Finnish layout it is Ctrl + å.


8

Yes, although that would forfeit benefits of compression, and working with chunked GET response or Base64-encoded login/password in SMTP would be painful, so I wouldn't recommend actually using it except for testing purposes, use Perl or python if you want to do something on the web automatically. Also, if you want to make requests that are ...


7

Telnet can be used for (nearly) raw TCP connections, and you can use character-based protocols with it, but there are some differences: Therefore, a Telnet client application may also be used to establish an interactive raw TCP session, and it is commonly believed that such session which does not use the IAC (\377 character, or 255 in decimal) is ...


7

I believe telnet it is disabled by default - if the service is not installed you can add it through the add features screen. Probably depends what unix you mean. I would think modern systems would use ssh instead.


7

Is it necessary to use telnet? If not, you can use PsShutdown to shutdown a remote computer. Or, you can use PsExec and call the shutdown command. psshutdown -u <username> -t 0 -k psexec -d -u <username> shutdown -t 0 -s


7

No, the telnet client (I'm guessing you are asking about the Linux one) only supports one escape character, Ctrl] (^]). If you are just using telnet to make arbitrary TCP connections, consider using netcat or socat instead; these can be interrupted by simply pressing CtrlC.


7

If by "manually" you mean "instruct telnet to send SYN and ACK packets", then no. This is done by the operating system, which needs to keep track of all TCP parameters for a connection – sequence numbers, window size, etc. It would be possible for a program to use raw IP sockets and manage the TCP layer all by itself. But it's generally an incredibly ...


7

::1 is IPv6 equivalent of 127.0.0.1 fe80::1 is link-local IPv6 address (one per adapter).


7

Any business that wants to accept incoming email over the internet will need an SMTP server, so that facebook has one isn't unexpected. It is an incoming server, so won't accept facebook source addresses. It appears to be fairly standard, and wants standard headers: # telnet 66.220.155.11 25 Trying 66.220.155.11... Connected to 66.220.155.11. Escape ...


7

Use netcat (nc command) rather then "telnet", so cat request.txt | nc docs.python.org 80 Telnet is a quick and easy hack, but netcat is, apparently, the correct tool for the job.


7

I hope you are using windows 7. Telnet is disabled by default to enable it follow control panel> programs & features > In left bar select "turn windows features on or off > in list find "Telnet Client" tick it Click ok. Done!! you telnet should be working now.


6

I'm going to take a risk here and say.. Yes you can. In the same sense that you can telnet to a hostname. Some people are saying you can't 'cos one says "Telnet is a Layer 3 network protocol. " I don't think that's correct, for one thing, telnet is an application layer protocol, that's layer 7. IP or IPX or whatever else, is the layer 3 network layer ...


6

When you use Telnet, you're opening an almost raw TCP connection to the server. This means that you have to make HTTP requests like your browser does to get the information that you need. Try this: > telnet google.com 80 You should get an empty window with a blinking cursor at the top. Now type this in: GET / HTTP/1.1 and press Enter twice to send ...


6

There is no practical way to do this using a telnet client, as you would have to type all of the XML yourself, which is incredibly impractical. There are however several command-line XMPP clients available, as discussed in this stack overflow question. List of Jabber Console Clients centericq Fama IM GNU Freetalk mcabber If you are ...


6

Type Ctrl+] to enter the telnet menu, then enter quit. For more commands, see man telnet. Edit: Haven't noticed that you can't type Ctrl+], but I would be surprised if there isn't a way to type that with every keyboard. But you can change the escape character with the commandline option -e [char].


5

PuTTY can do all of the above, if you are talking about a direct serial connection (plug in cable, etc.) Install, then open putty and select "Serial". Check the port settings, then Open. Then, plug in cable and boot up device. EDIT: To connect two computers together via serial port requires a null modem cable. It's a serial cable that has the inputs and ...


5

Maybe. You may need to use openssl to provide security before the server makes a plain auth method available. First you need to check what AUTH mechanisms are available. You can do that by passing the AUTH command with no arguments, to the pop server: $ telnet pop-server.example.com 110 Trying 10.10.10.10... Connected to pop-server.example.com Escape ...



Only top voted, non community-wiki answers of a minimum length are eligible