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

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?

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

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.

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

This is very difficult to diagnose without administrative access, so you should ask the people who are the administrators of that system.