Sponsored Content
Full Discussion: SCP Connection Timeout
Top Forums UNIX for Dummies Questions & Answers SCP Connection Timeout Post 302539211 by jim mcnamara on Friday 15th of July 2011 04:57:28 PM
Old 07-15-2011
From adminschoice.com:
Quote:
This occurs either when the destination host is down or when
problems in the network cause lost transmission.

First check the operation of the host system, for example by
using ping(1M) and ftp (1), then repair or reboot as necessary.
If that doesn’t solve the problem, check the network cabling and
connections.

No connection was established in a specified time. A connect or
send request failed because the destination host did not properly
respond after a reasonable interval. (The timeout period is
dependent on the communication protocol.)
It usually means you never sent all the data to start with, or no data at all.

The problem is on the ubuntu side probably.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

ssh/scp - can you specify timeout?

I am scp'ing a file from a server (servera) to my server (serverb) If servera is down - the scp never times out ... it just hangs eternally.. It is possible to specify a timeout in my script - so if scp fails/hang for more than 60 seconds I assume its failed ? I am aware there is some... (3 Replies)
Discussion started by: frustrated1
3 Replies

2. HP-UX

SCP transfer failed, lost connection

Hello, We try to do an SCP of a Sybase dump file of 4Go between two production HP-UX servers. Each time the transfer stopn at 299Mo and we have the message "connection lost". The destination FS has largefiles option activated. Could you help ? (7 Replies)
Discussion started by: ohemeg
7 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. UNIX for Dummies Questions & Answers

Decreasing SSL connection timeout

hi people, i need help about timeout duration of ssl while connecting to another server in network. this is what i try bash-3.00# time ssh root@10.10.10.10 "date" ssh: connect to host 10.10.10.10 port 22: Connection timed out real 3m10.215s user 0m0.007s sys 0m0.011sthere is no... (2 Replies)
Discussion started by: sdkbjk
2 Replies

5. UNIX and Linux Applications

sendmail connection timeout

Hi I am trying to configure sendmail for logwatch and another script i have . However when i try to send a test mail i am getting the following error. Logwatch is not sending any emails out nor is denyhost. I just want it to send emails out . Can anyone help me ? i have looked through... (1 Reply)
Discussion started by: um08
1 Replies

6. UNIX for Advanced & Expert Users

keep an open connection with scp or another similar program

Does anyone know a way to keep the connection open with scp? I really don't like having to type my password in every time I want to transfer a file. Or is there another similar program that will keep my connection open? (6 Replies)
Discussion started by: cokedude
6 Replies

7. Solaris

weblogic connection timeout error

i am facing an issue that the server give a connection timeout after 60 sec for any request more than that number . i tried to increase the TCP INTERVAL TIMEOUT from the default 60000 ms to more higher number. the server seems to work fine and didn't give me the massage of the timeout but the... (0 Replies)
Discussion started by: core99
0 Replies

8. 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

9. Shell Programming and Scripting

Validating scp connection

Hi Team, I have 2 servers Server-A & Server-B. Is there any way to test scp connection between Server-A & Server-B without transferring file? Basically i want to test the availability of scp connection.. Thanks in advance... (6 Replies)
Discussion started by: Girish19
6 Replies

10. 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
icmp(n) 							 Tnm Tcl Extension							   icmp(n)

__________________________________________________________________________________________________________________________________________________

NAME
icmp - Send ICMP messages to hosts on the Internet. _________________________________________________________________ DESCRIPTION
The icmp command allows to send Internet Control Messages (ICMP) (RFC 792, RFC 1122) to a list of hosts on the Internet. ICMP messages can be used to check whether hosts are reachable. The icmp command can also be used to trace routes to Internet hosts by sending UDP datagrams to unused UDP ports and interpreting the ICMP responses (Van Jacobsen and Steve Deering algorithm). ICMP COMMAND
The icmp command always accepts a list of target hosts. ICMP messages are send to the targets in a round-robin fashion which allows to check entire IP address ranges or a list of core routers efficiently. The user of the icmp command should be careful not to flood a network with ICMP requests. icmp [options] Invoking the icmp command with options but without any command arguments allows to retrieve and change the default values. See the description of supported options below. Default values are bound to a Tcl interpreter which allows to have multiple Tcl interpreter with different defaults. icmp [options] echo hosts The icmp echo command can be used to test the reachability of IP devices by sending ICMP echo requests to the hosts. The command returns a list of host / round trip time pairs. The round trip time is returned in milliseconds. A negative round trip time indi- cates that a host did not respond in the timeout interval. icmp [options] mask hosts The icmp mask command sends ICMP mask requests and returns a list of host / netmask pairs. The mask will be set to 0.0.0.0 if a host does not respond to ICMP mask requests. icmp [options] timestamp hosts The icmp timestamp command retrieves timestamps using the ICMP timestamp request. This command returns an estimate of the time dif- ference between local time and the time on the hosts given in hosts. The command returns a list of host / time offset pairs. The time offset is returned in milliseconds. An empty time offset indicates that a host did not respond in the timeout interval. icmp [options] ttl num hosts The icmp ttl command, which may not be supported on every operating system, sends a UDP packet to an unused port number with the time to live field of the IP header set to num. This command returns a list of host / round trip time pairs, where the host is the IP device being num hops away. The round trip time is returned in milliseconds. A negative round trip time indicates that a host did not respond in the timeout interval. icmp [options] trace num hosts The icmp trace command works similar to the icmp ttl command but it always returns the destination address even when the responding host chooses another interface with a different IP address to send the reply. This can be used to trace a route to a host since the command returns the host that discards the packet if it does not reach the destination. ICMP OPTIONS
The following options control how ICMP requests are send and how the icmp command deals with lost ICMP packets. -timeout time The -timeout option defines the time the icmp command will wait for a response. The time is defined in seconds with a default of 5 seconds. -retries number The -retries option defines how many times a request is retransmitted during the timeout interval. The default number of retries is 2. -delay time The -delay option defines the minimum delay between two outgoing ICMP packets. The delay time is defined in milliseconds with a default delay of 0 milliseconds. Delays are useful to reduce the load on intermediate devices like gateways or bridges. -size number The -size option allows to control the size of ICMP packets. The number defines the size of ICMP packets in bytes with a default size of 64 bytes. Sizes smaller than 64 bytes are silently rounded to 64 bytes. BUGS
The icmp command requires the setuid root program ntping(8) because sending icmp packets requires access to raw sockets on most operating systems. SEE ALSO
scotty(1), ntping(8), Tnm(n), Tcl(n) AUTHORS
Juergen Schoenwaelder <schoenw@cs.utwente.nl> Tnm icmp(n)
All times are GMT -4. The time now is 09:18 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy