Hi,
I do a telnet to a single server using command :telnet tibserver001 9640
The output i get is :
However i need to put all the servers in a single file and get the output to see if the server is connected or not.
The above does not seem to work. Is there a better way to script this ?
regards
Sam
Last edited by Don Cragun; 07-09-2018 at 03:31 PM..
Reason: Add missing ICODE tags.
Hello All,
Can somebody help me with this script. I have an output file with a list of servers ips and ports. I need to be able to run this script to list all the server ips in the outfile and find out if the port is open or not.
#!/bin/sh
IFS=#;for i in $(cat portTest);
do
# check... (2 Replies)
Hi all - i currently run a domain strifex.net. This domain has a dedicated IP address and in having that, should be able to run a ventrilo VoIP server from it. I uploaded all the needed files etc... and am able to connect to it, if and only if i enable DMZ to my local machine - then i am able to... (1 Reply)
Hi All,
I've been using this to verify if ports is open on a server. For example I would like to check port 5887, "telnet ip.of.server 5887" using on dos. If there's response on it then I can say it's open, if not then it's close.
Is that assumption accurate?
Thanks for any comments you... (4 Replies)
I have a ftp server on ssl talking on port 21, i would like to allow another port to acess the same server. I am not sure if its possible or not and if its how can i do that? (2 Replies)
Hi All,
I have a problem with auto telnet script, but I want to tell u something
a) I am only a member access on the server, so not able to access 'root' account
b) not able to install any software on server
3) On server, there is not install 'except'
I have to write a script, which is ran... (0 Replies)
Alright... this question comes from the fact that I'm trying to setup postfix to relay messages to Office 365 SMTP but its giving me connection refused... I read that if you have doubts if your port is open or not you should telnet to them so thats what I did.
This is a Red Hat 6.3 box.
My... (4 Replies)
I have a server with 6 Ethernet ports. 4 are the the motherboard based 1 GBE ports and 2 are 10 GBE ports on NICs.
I have set these all up with static IP addresses and use the standard /etc/nsswitch.files. My IP addresses are
net0 192.168.1.82
net1 192.168.2.82
and so on till
net5... (4 Replies)
I wish to grep for an entry in a file if it contains and does not start with #, Listen 443 or Listen 9443
Below is what helped me get Listen 443 but how can I tweak the below command to also include Listen 9443 port ?
Note: Listen 8443 or Listen 4438 should fail in the grep.
... (2 Replies)
Discussion started by: mohtashims
2 Replies
LEARN ABOUT DEBIAN
mldonkey_command
MLDONKEY_COMMAND(1) [FIXME: manual] MLDONKEY_COMMAND(1)NAME
mldonkey_command - a wrapper to send command to a mlnet server.
SYNOPSIS
mldonkey_command [-P port] [-h host] [-u user] [-p password] [-q] [-s] [-v] {"mlnet command"...}
DESCRIPTION
This manual page documents briefly the mldonkey_command command.
This manual page was written for the Debian GNU/Linux distribution because the original program is Debian GNU/Linux specific.
This program allow you to send command to a mlnet instance. The idea is to provide a simple script to do batch job with mlnet
OPTIONS -P
Port of the telnet mldonkey server. By default 4000
-h
Host of the telnet mldonkey server. By default localhost
-u
Username to use while connecting. By default admin
-p
Password to use while connecting. If none is specified, ask it on stdin
-q
Run without displaying command result
-s
Use stdin to enter command
-v
Display login information
"mlnet commands"
Any commands you can type in a telnet session connected to mlnet. Try "mldonkey_command longhelp" to see a complete listing.
LICENSE
This manual page was originally written by Sylvain Le Gall gildor@debian.org for the Debian GNU/Linux system (but may be used by others).
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Lesser General Public License, Version 2.1
or any later version published by the Free Software Foundation; considering as source code all the file that enable the production of this
manpage.
SEE ALSO
mlnet (1)
AUTHORS
Sylvain Le Gall <gildor@debian.org>
Author.
Mehdi Dogguy <dogguy@pps.jussieu.fr>
Author.
COPYRIGHT
Copyright (C) 2003, 2004, 2005, 2006 Sylvain Le Gall
Copyright (C) 2009 Mehdi Dogguy
[FIXME: source] Mar 14, 2009 MLDONKEY_COMMAND(1)