Sponsored Content
Top Forums Shell Programming and Scripting Couldn't read packet: Connection reset by peer send: spawn id exp4 not open while executing Post 303027585 by Corona688 on Wednesday 19th of December 2018 04:30:23 PM
Old 12-19-2018
It's telling you that it couldn't connect to REMOTESERVER, because the connection timed out. Unless you got the hostname wrong or something, not something you can correct on your end.

Why are you using a brute-forcing tool to inject plaintext passwords into sftp when you can save yourself a lot of complication and trouble and use keys?
This User Gave Thanks to Corona688 For This Post:
 

10 More Discussions You Might Find Interesting

1. IP Networking

connection reset by peer

: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)
Discussion started by: eyalush
5 Replies

2. Shell Programming and Scripting

ssh - connection reset by peer

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

3. Shell Programming and Scripting

Connection reset by peer

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

4. IP Networking

connection reset by peer on freebsd

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

5. UNIX for Advanced & Expert Users

Connection reset by peer..closing connection

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

6. UNIX for Dummies Questions & Answers

fatal: Read from socket failed: Connection reset by peer

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

7. UNIX for Advanced & Expert Users

Fatal: Read from socket failed: Connection reset by peer [preauth]

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

8. UNIX for Dummies Questions & Answers

Sftp - Couldn't read packet: Connection reset by peer

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

9. Shell Programming and Scripting

Expect script error : send: spawn id exp4 not open

Hi, I am executing a expect script in while loop for doing telnet on list of servers stored in file as below : expect script : #!/usr/bin/expect -f set timeout 20 set ip set port if { == 0} { send_user "Usage: scriptname ip port\n" exit 1 } #exp_internal 1 log_user 0 spawn... (3 Replies)
Discussion started by: omkar.jadhav
3 Replies

10. Red Hat

Can't SSH - Connection reset by Peer

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
Qpsmtpd::Connection(3pm)				User Contributed Perl Documentation				  Qpsmtpd::Connection(3pm)

NAME
Qpsmtpd::Connection - A single SMTP connection SYNOPSIS
my $rdns = $qp->connection->remote_host; my $ip = $qp->connection->remote_ip; DESCRIPTION
This class contains details about an individual SMTP connection. A connection lasts the lifetime of a TCP connection to the SMTP server. See also Qpsmtpd::Transaction which is a class containing details about an individual SMTP transaction. A transaction lasts from "MAIL FROM" to the end of the "DATA" marker, or a "RSET" command, whichever comes first, whereas a connection lasts until the client disconnects. API
These API docs assume you already have a connection object. See the source code if you need to construct one. You can access the connection object via the "Qpsmtpd" object's "$qp->connection" method. new ( ) Instantiates a new Qpsmtpd::Connection object. start ( %args ) Initializes the connection object with %args attribute data. remote_host( ) The remote host connecting to the server as looked up via reverse dns. remote_ip( ) The remote IP address of the connecting host. remote_port( ) The remote port. remote_info( ) If your server does an ident lookup on the remote host, this is the identity of the remote client. local_ip( ) The local ip. local_port( ) The local port. hello( ) Either "helo" or "ehlo" depending on how the remote client greeted your server. NOTE: This field is empty during the helo or ehlo hooks, it is only set after a successful return from those hooks. hello_host( ) The host name specified in the "HELO" or "EHLO" command. NOTE: This field is empty during the helo or ehlo hooks, it is only set after a successful return from those hooks. notes($key [, $value]) Get or set a note on the connection. This is a piece of data that you wish to attach to the connection and read somewhere else. For example you can use this to pass data between plugins. clone([%args]) Returns a copy of the Qpsmtpd::Connection object. The optional args parameter may contain: no_reset (1|0) If true, do not reset the original connection object, the author has to care about that: only the cloned connection object is reset at the end of the connection relay_client( ) True if the client is allowed to relay messages. perl v5.14.2 2009-04-02 Qpsmtpd::Connection(3pm)
All times are GMT -4. The time now is 10:32 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy