"Connection reset by peer" is a message from TCP in the TCP/IP stack.
It indicates a network problem, for example a misconfigured fire wall.
I don't see why you get this - perhaps because you did not post the whole relevant part of your script.
But I see a possible "Broken pipe" in connection with | head because "head" closes its input stream, sending a SIGPIPE to the feeding process.
This is not serious; you can ignore the "Broken pipe".
In this case you can avoid the pipes by using a one-in-all awk command:
Last edited by MadeInGermany; 06-20-2013 at 05:28 AM..
Reason: bug fix, not NR
This User Gave Thanks to MadeInGermany For This Post:
:confused: HI,
We have 2 servers ( win 2003 + sun 5.8 ) and we run a rsh from the NT to the UNIX.
The program runs a shell script on the UNIX and waits for the answer in the EOF.
How ever, after period of appx 2 min there is a reply "Recv failed:Connection reset by peer".
while the... (5 Replies)
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)
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)
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)
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)
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)
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)
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)
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)
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 DEBIAN
shishi_tkt_hw_authent_p
shishi_tkt_hw_authent_p(3) shishi shishi_tkt_hw_authent_p(3)NAME
shishi_tkt_hw_authent_p - API function
SYNOPSIS
#include <shishi.h>
int shishi_tkt_hw_authent_p(Shishi_tkt * tkt);
ARGUMENTS
Shishi_tkt * tkt
input variable with ticket info.
DESCRIPTION
Determine if ticket is authenticated using a hardware token.
The PRE-AUTHENT and HW-AUTHENT flags provide additional information about the initial authentication, regardless of whether the current
ticket was issued directly (in which case INITIAL will also be set) or issued on the basis of a ticket-granting ticket (in which case the
INITIAL flag is clear, but the PRE-AUTHENT and HW-AUTHENT flags are carried forward from the ticket-granting ticket).
RETURN VALUE
Returns non-0 iff hw-authent flag is set in ticket.
REPORTING BUGS
Report bugs to <bug-shishi@gnu.org>.
COPYRIGHT
Copyright (C) 2002-2010 Simon Josefsson.
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
SEE ALSO
The full documentation for shishi is maintained as a Texinfo manual. If the info and shishi programs are properly installed at your site,
the command
info shishi
should give you access to the complete manual.
shishi 1.0.1 shishi_tkt_hw_authent_p(3)