Operating System - HP-UX
1834926 Members
2496 Online
110071 Solutions
New Discussion

Re: sftp ssh_exchange_identification question?

 
Mike_Ca Li
Regular Advisor

sftp ssh_exchange_identification question?

I installed SSH for HPUX 11.11 from depot file. What would be the cause of error below? Thks.
>sftp sftp.company.com
Connecting to sftp.company.com...
ssh_exchange_identification: Connection closed by remote host
Connection closed

I can resolve and ping sftp.company.com
6 REPLIES 6
Mel Burslan
Honored Contributor

Re: sftp ssh_exchange_identification question?

are you able to connect to the server using ssh over a terminal session ?
did you try using scp instead of sftp ? if yes, what was the result ?
________________________________
UNIX because I majored in cryptology...
Mike_Ca Li
Regular Advisor

Re: sftp ssh_exchange_identification question?

The secure ftp server is for another company which I cannot try scp with.
I can sftp to the secure ftp server using other sftp clients (mainly windows based) no problem. Any other inputs? Thks.
Rishikesh
New Member

Re: sftp ssh_exchange_identification question?

This is due to /etc/hosts.allow
Make an entry for ur server.
Sridhar Bhaskarla
Honored Contributor

Re: sftp ssh_exchange_identification question?

Hi,

There are couple of things to check.

1. Ensure that reverse lookup for your system works on sftp.company.com. Try adding your name to /etc/hosts on that system.

2. See if sftp.company.com is implementing tcp_wrappers. If so, make sure your host is not denied by checking it's /etc/hosts.allow and /etc/hosts.deny.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Steven E. Protter
Exalted Contributor

Re: sftp ssh_exchange_identification question?

could be openssh isn't set up on the other end.

could be a firewall between you and there is blocking.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Sยภเl Kย๓คг
Respected Contributor

Re: sftp ssh_exchange_identification question?

1.Ensure to put entry in /etc/hosts file
for sftp.company.com
2.Check in /etc/hosts.allow

Since you r able to do it from windows clients thereshouldn't be any problem of firewall.
regards
SK
Your imagination is the preview of your life's coming attractions