Connection reset by peer | Unix Linux Forums | Shell Programming and Scripting

  Go Back    


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

Connection reset by peer

Shell Programming and Scripting


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 07-10-2008
Satyak Satyak is offline
Registered User
 
Join Date: Feb 2008
Last Activity: 12 May 2014, 4:28 AM EDT
Posts: 104
Thanks: 0
Thanked 0 Times in 0 Posts
Java 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
Sponsored Links
    #2  
Old 07-10-2008
Annihilannic Annihilannic is offline Forum Advisor  
 
Join Date: May 2008
Last Activity: 28 October 2009, 7:03 PM EDT
Location: Sydney, Australia
Posts: 1,009
Thanks: 0
Thanked 2 Times in 2 Posts
Sounds like a problem at the remote end. Do you have admnistrative access to the remote server? If not, you may need to get the server owner to investigate.

Can you connect to it by other means, e.g. ssh USER01@122.10.12.45?
Sponsored Links
    #3  
Old 07-10-2008
Satyak Satyak is offline
Registered User
 
Join Date: Feb 2008
Last Activity: 12 May 2014, 4:28 AM EDT
Posts: 104
Thanks: 0
Thanked 0 Times in 0 Posts
Java Connection reset by peer

hi i tried the way u mentioned also, but it is asking for the password.

i have admin access for the remote server can u plz suggest and can u explain what might be the reason for this
    #4  
Old 07-10-2008
Annihilannic Annihilannic is offline Forum Advisor  
 
Join Date: May 2008
Last Activity: 28 October 2009, 7:03 PM EDT
Location: Sydney, Australia
Posts: 1,009
Thanks: 0
Thanked 2 Times in 2 Posts
Does sftp -vvv USER01@122.10.12.45 give you any more clues?

Try running an sshd in debug mode on the remote server (ie.g. /usr/sbin/sshd -d -p1234, and then connect to it from the local server using sftp -oPort=1234 USER01@122.10.12.45 and check the debugging output from sshd for reasons why the connection is being closed.

Also check the system logs for errors.
Sponsored Links
    #5  
Old 07-10-2008
Satyak Satyak is offline
Registered User
 
Join Date: Feb 2008
Last Activity: 12 May 2014, 4:28 AM EDT
Posts: 104
Thanks: 0
Thanked 0 Times in 0 Posts
Java hi Annihilannic (Connection reset by peer )

hi i tried to do the things mentione by u
but thsy revoked my admin access, so can u plz explain what might be the problem
Sponsored Links
    #6  
Old 07-14-2008
Annihilannic Annihilannic is offline Forum Advisor  
 
Join Date: May 2008
Last Activity: 28 October 2009, 7:03 PM EDT
Location: Sydney, Australia
Posts: 1,009
Thanks: 0
Thanked 2 Times in 2 Posts
This is very difficult to diagnose without administrative access, so you should ask the people who are the administrators of that system.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
cat: write error: Connection reset by peer atelford UNIX for Dummies Questions & Answers 4 03-30-2011 06:28 AM
Connection reset by peer..closing connection subramanyab UNIX for Advanced & Expert Users 1 09-08-2009 09:49 AM
connection reset by peer on freebsd coolatt IP Networking 1 06-25-2009 10:28 AM
ssh - connection reset by peer osxhawk Shell Programming and Scripting 2 06-05-2008 02:18 PM
connection reset by peer eyalush IP Networking 5 11-03-2005 08:45 AM



All times are GMT -4. The time now is 08:01 AM.