Sponsored Content
Top Forums Shell Programming and Scripting ssh/scp - can you specify timeout? Post 302154956 by porter on Wednesday 2nd of January 2008 03:05:18 PM
Old 01-02-2008
Quote:
Originally Posted by frustrated1
If servera is down - the scp never times out ... it just hangs eternally..
Really? Forever?

Is the machine on the same subnet?

Is there a firewall suppressing ICMP messages?
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

SSH and SCP

The following ksh script is trying to get a file's cksum then, scp it over to a remote machine - get the cksum there and then compare the two cksums to make sure they match. I am having problems setting a variable on the remote host where it can be read locally. Is this even possible - reading a... (1 Reply)
Discussion started by: berrean
1 Replies

2. BSD

SCP and ssh

I can't get ssh ans scp to work between to host on my network. I am prompted for the password and it isn't accepting the password and I know the password is correct because I am using the root password. What do I need to do to get ssh working between the two host and scp. I can putty into the... (2 Replies)
Discussion started by: rbizzell
2 Replies

3. UNIX for Advanced & Expert Users

SCP Timeout?

Hello, I was wondering is there a way for SCP to shorten the timeout to fail when it attempts to connect a host that is down. Seems like it takes about a minute or so for scp to timeout. This is on a AIX 5.3 box. I saw someone suggest use -o ConnectTimeout but the scp I use doesn't have that... (1 Reply)
Discussion started by: benefactr
1 Replies

4. Shell Programming and Scripting

set timeout for ssh prompt

Hi all, I want to set a timeout say 10 sec to shh prompt i.e. if no password is enetered for 10 sec prompt should again come to shell. How can this be achieved ?? I am using Linux RHEL 5 and Solaris 10. Pls help. Thanks in adv. VIKAS (3 Replies)
Discussion started by: vikas027
3 Replies

5. UNIX for Dummies Questions & Answers

SCP Connection Timeout

Hello UNIX users, Thanks for helping me in my earlier post. Now, I am facing a timeout issue when ever I am transferring a zipped file from my server to client's server. If the zipped file size is below 3 MB, it goes fine. Anything above that fails. Below is the part of screenshot from... (1 Reply)
Discussion started by: st3636
1 Replies

6. Shell Programming and Scripting

Timeout to abolish ssh connection command it takes too long

Hi, I am running a ssh connection test in a script, how can I add a timeout to abolish the process if it takes too long? ssh -i ~/.ssh/ssl_key useraccount@computer1 Thank you. - j (1 Reply)
Discussion started by: hce
1 Replies

7. AIX

Set timeout value for ssh session to HMC?

Friends, Could anyone let me know - how to set the timeout value for ssh session to HMC? My HMC version is -- V7R7.4.0. I'm sure the version doesn't have anything to do with it. Thanks, -- Souvik (2 Replies)
Discussion started by: thisissouvik
2 Replies

8. Shell Programming and Scripting

Handling ssh permission denied or timeout

Hello all, been writing a little inventory script (hpux 11.23, ksh Version 11/16/88) which takes our hostname from our inventory db and tests them with ssh connection. I need to be able to differentiate a timeout (host not reachable on main net link could try adm prod back links) and a... (2 Replies)
Discussion started by: maverick72
2 Replies

9. Red Hat

How to solve TCP connection timeout (not in ssh)?

HI We have some Red Hat Linux Sevres which is having TCP connection timeout, not SSH connection, as an example oracle connection connected from TOD. SSH i managed to add keepalive and it's working fine (1 Reply)
Discussion started by: bentech4u
1 Replies

10. AIX

AIX ssh timeout

I have to make a command to work when connecting to AIX 7.1 (used by an internal software). I have a linux server L where the following command is runned ssh -t <aix-server-ip> ls For a <non-aix-server-ip> the command runs successfully. For AIX the terminal just gets blocked. ssh connection... (5 Replies)
Discussion started by: ufo
5 Replies
condor_power(1) 					      General Commands Manual						   condor_power(1)

Name
       condor_power send - packet intended to wake a machine from a low power state

Synopsis
       condor_power [-h]

       condor_power[-d] [-m MACaddress] [-s subnet] [ClassAdFile]

Description
       condor_powersends  one UDP Wake on LAN (WOL) packet to a machine specified either by command line arguments or by the contents of a machine
       ClassAd. The machine ClassAd may be in a file, where the file name specified by the optional argument ClassAdFileis given  on  the  command
       line. With no command line arguments to specify the machine, and no file specified, condor_powerquietly presumes that standard input is the
       file source which will specify the machine ClassAd that includes the public IP address and subnet of the machine.

       condor_powerneeds a complete specification of the machine to be successful. If a MAC address is provided on the command line, but no subnet
       is  given,  then  the  default value for the subnet is used. If a subnet is provided on the command line, but no MAC address is given, then
       condor_powerfalls back to taking its information in the form of the machine ClassAd as provided in a file or on standard input.	Note  that
       this case implies that the command line specification of the subnet is ignored.

Options
       -h

	  Print usage information and exit.

       -d

	  Enable debugging messages.

       -m MACaddress

	  Specify the MAC address in the standard format of six groups of two hexadecimal digits separated by colons.

       -s subnet

	  Specify  the subnet in the standard form of an IP address. Without this option, the default subnet used will be 255.255.255.255, causing
	  a broadcast.

Exit Status
       condor_powerwill exit with a status value of 0 (zero) upon success, and it will exit with the value 1 (one) upon failure.

Author
       Condor Team, University of Wisconsin-Madison

Copyright
       Copyright (C) 1990-2012 Condor Team, Computer Sciences Department, University of  Wisconsin-Madison,  Madison,  WI.  All  Rights  Reserved.
       Licensed under the Apache License, Version 2.0.

       See the Condor Version 7.8.2 Manualor http://www.condorproject.org/licensefor additional notices. condor-admin@cs.wisc.edu

								  September 2012						   condor_power(1)
All times are GMT -4. The time now is 01:31 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy