Hot answers tagged

177

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.


57

There is no Telnet/Netcat client – they are two separate programs, and 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 Use -s for STARTTLS; you will need to ...


37

Type quit to exit telnet in windows.


19

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: ...


19

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


17

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 ...


17

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


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

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 ...


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.


13

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.


12

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


12

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].


12

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.


11

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.


10

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 ...


9

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.


9

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 ...


8

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 ...


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

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


7

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

It appears that on Win7 64 bit, telnet.exe is a 64 bit command. You can run it from 64 bit shell (or cmd prompt), but a 32 bit shell will attempt to load it from SysWOW64, and it won't be found there. I suspect that you are running a 32 bit command prompt (for example, from SysWOW64). If you run 64 bit command prompt, telnet should work. You can test ...


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

If you want to merely send one UDP packet with some specified data, as opposed to Satanicpuppy's answer which continuously sends random data, you can do: echo "foo" | nc -w1 -u 111.22.333.4 20000


6

The OP stated these commands worked: sys server load sys server access http 0 sys server save sys server disp The load and save commands should enclose any access command. Other formats for this command (based on the CLI version) sys server access [ftp|telnet|web] [access type] Set the server access type to be 0: ALL, 1: None, 2:LAN only, 3:WAN ...



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