04-09-2018
Just a word of caution about nmap in that it can be badly used too easily and excessive or injudicious use may be seen as a hacking attempt by either the target host(s) or networks and automatic defences may be causing you to get blocked or may trigger blocking future connections if you are too aggressive in your probing.
Is it the very long timeout that you are worried about? I agree that you should try the option -o ConnectTimeout=5 where 5 is a configurable number of seconds to wait for the connection to open. Don't make it too short or you may always fail to connect.
I hope that this helps,
Robin
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I am trying to write a script, which queries a db to get the names of processes, stores it in a file and then checks if that process is running on a remote server. However I am not getting it right, could anyone help me out.
#!/bin/sh
echo "select Address from Device where Cust =... (5 Replies)
Discussion started by: amitsayshii
5 Replies
2. Solaris
Hi,
I have username/password for a remote server. I would like to have list of filenames and their size in a particular directory of remote server.
Now Problem is - I can not use rsh command as I can not modify rhost file of remote server.
Thanks in advance.
Sanjay (1 Reply)
Discussion started by: sanjay1979
1 Replies
3. UNIX for Advanced & Expert Users
Hi,
When i run the code in solaris unix machine, the file from remote server is getting downloaded. but when i use the same code in IBM AIX remote machine, it is not running. It is saying "Erro during scp transfer." Below is the code.
Please give some resolution.
SCPClient client = new... (1 Reply)
Discussion started by: gravi2020
1 Replies
4. Shell Programming and Scripting
Hi ,
How to check whether web server is running from remote machine
How to check whether web server is running on web server itself
Can any one help me soon (1 Reply)
Discussion started by: satheeshkr_cse
1 Replies
5. Shell Programming and Scripting
Hi,
i have a shellscript, where in i need to connect to different server start these three jobs and exit from the server and start the same three jobs on local server.
ssh user@remotehost 'bash -s' << EOF
${GETT_HOME}/bin/start1 &
sleep 10
${GETT_HOME}/bin/start2 &
sleep 10... (1 Reply)
Discussion started by: swapnabhargav
1 Replies
6. Shell Programming and Scripting
Hi,
Is there any specific command to use to check only say Running jobs via autorep or similar command for Autosys? (0 Replies)
Discussion started by: sidnow
0 Replies
7. Shell Programming and Scripting
I am using the below command to scp the file to destination server ($server).
The ssh keys have been created between the source and destination servers. Still I am getting password authentication after executing the below scp command:
scp $Local_dir/$file_pattern* $username@$server:/$ftp_dir/... (1 Reply)
Discussion started by: Ganesh L
1 Replies
8. Shell Programming and Scripting
I am having an issue in running a nohup command in a remote linux box from a linux box. Here are the details.
Linux Machine 1: I have a script which starts a services and dumps the output into a log file.
nohup sh weblogic.sh >> /home/log.out &
I have placed the entire command in a... (2 Replies)
Discussion started by: accessbalaji
2 Replies
9. Shell Programming and Scripting
Geeks,
Could you please help me out in my script and identify the missing piece. I need to check/get the exit status of a remote command executed on remote host through script and send out an email when process/processes is/are not running on any/all server(s).
Here's the complete... (5 Replies)
Discussion started by: lovesaikrishna
5 Replies
10. UNIX for Beginners Questions & Answers
Hello Guys,
I need some help to find out if processes are running on remote server or not. I could do 'ssh' to do that but due to some security reasons, I need to avoid the ssh & get result from remote server.
Could you please suggest some that can be done without ssh or similar sort of... (8 Replies)
Discussion started by: UnknownGuy
8 Replies