Hi,
Using Linux 5 . A change in the script which will take a input file which has servername,port. As telnet was not going into the next item in the file, i used curl instead of telnet. This works. However i am not able to get the output of the script write into the log file properly. I will have to see if i can get the output which only displays in the console be printed in the output.log file.
Input to the file is : serverlist.txt
Script is :trytelnet.sh -->
Execution is :
Moderator's Comments:
Please use CODE tags consistently as required by forum rules!
Last edited by RudiC; 07-09-2018 at 06:06 PM..
Reason: Added missing CODE 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
sss_ssh_knownhostsproxy
SSS_SSH_KNOWNHOSTSPR(1) SSSD Manual pages SSS_SSH_KNOWNHOSTSPR(1)NAME
sss_ssh_knownhostsproxy - get OpenSSH host keys
SYNOPSIS
sss_ssh_knownhostsproxy [options] HOST [PROXY_COMMAND]
DESCRIPTION
sss_ssh_knownhostsproxy acquires SSH host public keys for host HOST, stores them in a custom OpenSSH known_hosts file (see the
"SSH_KNOWN_HOSTS FILE FORMAT" section of sshd(8) for more information) /var/lib/sss/pubconf/known_hosts and estabilishes connection to the
host.
If PROXY_COMMAND is specified, it is used to create the connection to the host instead of opening a socket.
ssh(1) can be configured to use sss_ssh_knownhostsproxy for host key authentication by using the following directives for ssh(1)
configuration:
ProxyCommand /usr/bin/sss_ssh_knownhostsproxy -p %p %h
GlobalKnownHostsFile2 /var/lib/sss/pubconf/known_hosts
This is an experimental feature, please use http://fedorahosted.org/sssd to report any issues.
OPTIONS -p,--port PORT
Use port PORT to connect to the host. By default, port 22 is used.
-d,--domain DOMAIN
Search for host public keys in SSSD domain DOMAIN.
-h,--help
Display help message and exit.
SEE ALSO ssh(8), ssh_config(5), sss_ssh_authorizedkeys(1).
AUTHORS
The SSSD upstream - http://fedorahosted.org/sssd
SSSD 03/04/2013 SSS_SSH_KNOWNHOSTSPR(1)