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
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
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
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
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
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
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
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
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
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
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
pscp(1) PuTTY tool suite pscp(1)
NAME
pscp - command-line SCP (secure copy) / SFTP client
SYNOPSIS
pscp [options] [user@]host:source target
pscp [options] source [source...] [user@]host:target
pscp [options] -ls [user@]host:filespec
DESCRIPTION
pscp is a command-line client for the SSH-based SCP (secure copy) and SFTP (secure file transfer protocol) protocols.
OPTIONS
The command-line options supported by pscp are:
-V Show version information and exit.
-pgpfp Display the fingerprints of the PuTTY PGP Master Keys and exit, to aid in verifying new files released by the PuTTY team.
-ls Remote directory listing.
-p Preserve file attributes.
-q Quiet, don't show statistics.
-r Copy directories recursively.
-unsafe
Allow server-side wildcards (DANGEROUS).
-v Show verbose messages.
-load session
Load settings from saved session.
-P port
Connect to port port.
-l user
Set remote username to user.
-batch Disable interactive prompts.
-pw password
Set remote password to password. CAUTION: this will likely make the password visible to other users of the local machine (via com-
mands such as `w').
-1 Force use of SSH protocol version 1.
-2 Force use of SSH protocol version 2.
-C Enable SSH compression.
-i path
Private key file for authentication.
-scp Force use of SCP protocol.
-sftp Force use of SFTP protocol.
MORE INFORMATION
For more information on pscp it's probably best to go and look at the manual on the PuTTY web page:
http://www.chiark.greenend.org.uk/~sgtatham/putty/
BUGS
This man page isn't terribly complete. See the above web link for better documentation.
PuTTY tool suite 2004-03-24 pscp(1)