07-11-2005
connection reset by peer
well, you are right
when we run the rsh with our program its open a several sockets...
but all of then are like the example that I send, I made a mistake with the paste socket but still is the same results.
Is there another idea that you can think about ?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I use ssh to work on the server (OS X 10.4.x) remotely from home (Debian / OS X 10.5.3). If I leave my machine idle, I get disconnected after a couple of minutes. I get the following error message:
Read from remote host "server name": Connection reset by peer
Connection to "server name" closed.... (2 Replies)
Discussion started by: osxhawk
2 Replies
2. Shell Programming and Scripting
hi
i am connecting to a remote server using sftp protocol.
i am using the command like "sftp USER01@122.10.12.45"
then i got the error "Couldn't read packet: Connection reset by peer"
please help its very urgent (5 Replies)
Discussion started by: Satyak
5 Replies
3. IP Networking
hi all.
am running postgresql in a vm on debian server.
i have some client programs connecting to the db.
when i check the logs of postgresql i see "connection reset by peer"
can someone help me with this issue...
thanks. (1 Reply)
Discussion started by: coolatt
1 Replies
4. UNIX for Advanced & Expert Users
Hello
I'm facing the above problem while doing a performance run. I've a script which I'm launching from my windows desktop using mozilla. The script will invoke backend action on a Solaris host which in turn feeds the records to a driver located on a linux box(Cent OS).
What's happening is... (1 Reply)
Discussion started by: subramanyab
1 Replies
5. UNIX for Dummies Questions & Answers
I get this error when I log in through console:
"fatal: Read from socket failed: Connection reset by peer".
Can you tell me what this is and why it happens, and how to stop it? Thank you. (1 Reply)
Discussion started by: iamnew2solaris
1 Replies
6. UNIX for Dummies Questions & Answers
I have created a script to cat the contents of a log file and pipe it to head and tail so I can get specific lines.
When I do this I sometimes randomly get the error
"cat: write error: Connection reset by peer". It is completely sporatic and sometimes it doesnt happen and sometimes it does... (4 Replies)
Discussion started by: atelford
4 Replies
7. UNIX for Dummies Questions & Answers
Hi ,
when i run ,
tkt=/u01/ctrlfile/tkt.tmp
grep "TICKET NBR" $cdrFile | head -$count | tail -1 > $tkt
i got error
grep: writing output: Connection reset by peer
but some time its working withour error its working fine but some time i got this error
any help please (5 Replies)
Discussion started by: OTNA
5 Replies
8. UNIX for Advanced & Expert Users
Hello,
I have recently updated my AIX machine from version 6.1.7.5 to 6.1.9.1 and i noticed that the errpt of the server is full of ssh messages like the one below:
sshdprocess_id>]: fatal: Read from socket failed: Connection reset by peer
Does anyone knows if this a known bug of the ssh... (15 Replies)
Discussion started by: omonoiatis9
15 Replies
9. UNIX for Dummies Questions & Answers
Hello to all,
i have a problem when trying to estabilish a sftp connection.
i setup a sftp server (i used feeFTPd) and i'm now trying to connect from two different machines.
from the first one everything is fine:
$ sftp -vvv user@xxx.xxx.xxx.xxx
Connecting to xxx.xxx.xxx.xxx...... (9 Replies)
Discussion started by: dc26
9 Replies
10. Red Hat
Hi Guys,
I can't SSH to a remote system - connection reset by peer..any ideas ?
-The Source is Linux, the Remote is Windows
-The remote has OpenSSH running on Port 22 - Telnet confirms port is open
-User1 has a RSA2 Key (2048) key, which is capture in the 1010101-pub.key specified by the... (1 Reply)
Discussion started by: stevie_velvet
1 Replies
LEARN ABOUT FREEBSD
sockstat
SOCKSTAT(1) BSD General Commands Manual SOCKSTAT(1)
NAME
sockstat -- list open sockets
SYNOPSIS
sockstat [-46cLlu] [-j jid] [-p ports] [-P protocols]
DESCRIPTION
The sockstat command lists open Internet or UNIX domain sockets.
The following options are available:
-4 Show AF_INET (IPv4) sockets.
-6 Show AF_INET6 (IPv6) sockets.
-c Show connected sockets.
-j jid Show only sockets belonging to the specified jail ID.
-L Only show Internet sockets if the local or foreign addresses are not in the loopback network prefix 127.0.0.0/8, or do not con-
tain the IPv6 loopback address ::1.
-l Show listening sockets.
-p ports Only show Internet sockets if either the local or foreign port number is on the specified list. The ports argument is a comma-
separated list of port numbers and ranges specified as first and last port separated by a dash.
-P protocols
Only show sockets of the specified protocols. The protocols argument is a comma-separated list of protocol names, as they are
defined in protocols(5).
-u Show AF_LOCAL (UNIX) sockets.
If neither -4, -6 or -u is specified, sockstat will list sockets in all three domains.
If neither -c or -l is specified, sockstat will list both listening and connected sockets.
The information listed for each socket is:
USER The user who owns the socket.
COMMAND The command which holds the socket.
PID The process ID of the command which holds the socket.
FD The file descriptor number of the socket.
PROTO The transport protocol associated with the socket for Internet sockets, or the type of socket (stream or datagram) for UNIX
sockets.
LOCAL ADDRESS For Internet sockets, this is the address the local end of the socket is bound to (see getsockname(2)). For bound UNIX
sockets, it is the socket's filename. For other UNIX sockets, it is a right arrow followed by the endpoint's filename, or
``??'' if the endpoint could not be determined.
FOREIGN ADDRESS (Internet sockets only) The address the foreign end of the socket is bound to (see getpeername(2)).
If a socket is associated with more than one file descriptor, it is shown multiple times. If a socket is not associated with any file
descriptor, the first four columns have no meaning.
SEE ALSO
fstat(1), netstat(1), procstat(1), inet(4), inet6(4), protocols(5)
HISTORY
The sockstat command appeared in FreeBSD 3.1.
AUTHORS
The sockstat command and this manual page were written by Dag-Erling Smorgrav <des@FreeBSD.org>.
BSD
May 16, 2012 BSD