telnet Questions

7

Solved

I'm running telnet command on a host for a given port (which is open), it returns 0 (success). For trying telnet manually, I type the following command, then I press control+bracket i.e. ^], then...
Salto asked 5/1, 2017 at 1:45

2

I'm writing a Python script that connects to a Linux terminal over Telnet, runs a number of commands and parses the output, then based on the output runs more commands, etc. This was quite easy to...
Friedrick asked 29/10, 2012 at 12:23

6

Solved

I'm trying to work with this library for telnet connections. I have called the function correctly and it executes the code below but fails giving the following error: System.Net.Sockets.SocketExce...
Andy asked 30/5, 2014 at 18:58

5

Solved

I want to use telnet to google mail server on linux. I want to send mail using SMTP. But it is not able to do so. I am using this command. telnet alt4.gmail-smtp-in.l.google.com 25 But it says ...
Staffman asked 7/11, 2009 at 7:55

4

I have an application where I accept a socket connection from a telnet client and put up a simple, keyboard driven character GUI. The telnet client, at least on Linux, defaults into line-at-a-time...
Thermogenesis asked 7/11, 2008 at 19:14

4

hi i wanted to send mail via smtp protocol to one of my gmail's accounts... i tried but finally it occurred and error : telnet> open alt4.gmail-smtp-in.l.google.com 25 Trying 74.125.131.27... ...
Sodium asked 2/4, 2013 at 18:46

9

Solved

How can I get all the keys set in my memcached instance(s)? I tried googling, but didn't find much except that PHP supports a getAllKeys method, which means it is actually possible to do this some...
Theorem asked 24/10, 2013 at 7:56

2

Solved

I have been playing around with Node's REPL. I thought it would be pretty cool to make it available via a Socket, connect to it via Telnet/puTTY/whatever, and debug my server on-the-fly. I used th...
Hectorhecuba asked 27/12, 2011 at 22:18

18

I'm looking for a quick and simple method for properly testing if a given TCP port is open on a remote server, from inside a Shell script. I've managed to do it with the telnet command, and it wor...
Fullgrown asked 7/2, 2011 at 15:19

3

What I Want: After a successful connection, I want curl to exit successfully. I am running this command inside a container, so I want the curl command to exit successfully so that the container wil...
Casmey asked 28/9, 2020 at 16:32

2

Solved

On my Mac terminal, I am trying to telnet into my smtp.gmail.com through port 587. On Google Apps, (which is set to manage a Dreamhost domain), I have relay configured, as follows: "Allowed sende...
Annelid asked 19/9, 2015 at 3:10

2

Solved

I am required to test at least 130 ip addresses and ports. I am hoping to write a bash script such that it reads the ip address and ports from an input file. I have the following while read line ...
Sulphurbottom asked 2/5, 2014 at 6:13

10

The use of echo-e "\ 029" does not work either. But if use strg + alt gr + ] directly in a terminal session -> it works. I have to ask my question more concretely: I connect an RF generator (AGILE...
Gonad asked 27/7, 2012 at 4:57

5

Solved

I have an embedded system, on which I do telnet and then I run an application in background: ./app_name & Now if I close my terminal and do telnet from other terminal and if I check then I c...
Loganiaceous asked 25/9, 2015 at 11:0

15

Solved

I have come across this PHP code to check email address using SMTP without sending an email. Has anyone tried anything similar or does it work for you? Can you tell if an email customer / user ent...
Holtz asked 19/2, 2009 at 14:20

1

Solved

I'm trying to connect the server using telnet, but when I enter telnet localhost 8000. It shows the error of telnet not found. I wrote my code in C and ran it on macOS terminal. Am I supposed...
Defalcate asked 3/2, 2022 at 18:6

2

Solved

I have been trying to create an expect script to automatically login to my device through telnet If there are no multiple possibilities for the expect command , the script works fine, logs in to ...
Zenithal asked 17/10, 2011 at 5:28

2

Solved

I have a bash script that creates a file and I would like to send an email at the end via telnet. However sometimes it will execute and sometimes it won't. The command at the end is cat tempfile...
Shantae asked 11/10, 2013 at 18:59

13

Solved

I am working on automating some telnet related tasks, using Bash scripts. Once automated, there will be no interaction of the user with telnet (that is, the script will be totally automated). The s...
Kauslick asked 10/8, 2011 at 15:10

2

Solved

I am reading a Pcap file with Scapy. How can I recognize if, in this pcap file, there is a packet that uses the Telnet protocol? I see that Scapy can write 'telnet' into dport/sport only if 1 of th...
Hodgson asked 5/5, 2021 at 15:57

2

I have already set up my config in env for my mail server MAIL_DRIVER=smtp MAIL_HOST=mailtrap.io MAIL_PORT=25 MAIL_USERNAME=xxxxxxxx MAIL_PASSWORD=xxxxxxxx MAIL_ENCRYPTION=null It works fine in...
Modena asked 19/2, 2016 at 17:51

7

Solved

I already know there are ssh modules for Python, that's not for what I'm looking for. What I want to have is an python script to do the following: > connect to an [ input by user ] SSH host > con...
Courbevoie asked 4/2, 2011 at 10:12

2

Hi I am developing an app using android emulator. I need to register a UDP socket at some port X that can be accessible from local network. Since Android emulator is NAT'd so I need port forwarding...
Mobley asked 24/4, 2013 at 15:44

3

Solved

I try to use the command telnet in Git Bash, but it shows this error: bash:telnet: command not found My operating system is Windows 10. Any idea is appreciated.
Quintuplicate asked 2/7, 2016 at 1:13

5

Solved

I was playing around with python 3.1 when I came to a problem. I want to connect to a telnet server. Here is my code: import sys import telnetlib tn = telnetlib.Telnet("10.0.0.138") tn.read_unt...
Mastectomy asked 25/12, 2010 at 0:16

© 2022 - 2024 — McMap. All rights reserved.