System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

SFTP connection problem to other remote server

SFTP connection problem to other remote server

Hi,

I am not able to connect the client remote host server through SFTP earlier i was able to connect. We have exchanged the public key.

 

$ sftp -v host@test.com

Connecting to host@test.com...

OpenSSH_4.1, OpenSSL 0.9.7e 25 Oct 2004

HP-UX Secure Shell-A.04.00.000, HP-UX Secure Shell version

debug1: Reading configuration data /opt/ssh/etc/ssh_config

debug1: Connecting to host@test.com[20.10.23.3] port 22.

debug1: Connection established.

debug1: identity file /home/ftpscca/.ssh/id_rsa type -1

debug1: identity file /home/ftpscca/.ssh/id_dsa type 2

ssh_exchange_identification: Connection closed by remote host

Connection closed

$

 

Just want to know that the problem is not from my end but the problem is on client remote host.

 

Thanks,

Narendra

3 REPLIES
Hakki Aydin Ucar
Honored Contributor

Re: SFTP connection problem to other remote server

in the first place ,it made me think like remote site sftp service disabled.

did you test with another remote access utility like telnet, recommend this for test purpose;

# telnet host@test.com 25

 

what is the response ??

Steven Schweda
Honored Contributor

Re: SFTP connection problem to other remote server

> in the first place ,it made me think like remote site sftp service disabled.

 

   What did?  This?:

 

> debug1: Connection established.

 

> Just want to know that the problem is not from my end but the problem is on client remote host.

 

   Terminology:  Your system is the SFTP client.  The remote system is
the SFTP server.  To avoid confusion, you should probably say "customer"
instead of "client" when talking about a remote system owned by someone
else.  (Or just say "remote".)

  Try it with some other server?

 

> ssh_exchange_identification: Connection closed by remote host

> Connection closed

   I'd guess that the problem is on the server, but looking at the
system log file(s) on the server would be more reliable than my guesses.

Steven Schweda
Honored Contributor

Re: SFTP connection problem to other remote server

> # telnet host@test.com 25

 

   "host@test.com" with Telnet?  Really?  (And even for SSH, "host@",
not "user@"?)


> $ sftp -v host@test.com

   And, of course, hiding the details my be useful, but it can also hide
the cause of the problem.  For all we non-psychics know, you should be
doing something more like:

      sftp -v user@host.test.com

 

> [...] earlier i was able to connect. We have exchanged the public key.


   If you say so.  (But I'd rather see the evidence than trust you.)