Operating System - HP-UX
1826331 Members
3958 Online
109692 Solutions
New Discussion

unable to login HP-UX and getting error when using scp protocol at WinSCP

 
Khairul_1
Frequent Advisor

unable to login HP-UX and getting error when using scp protocol at WinSCP

Hi All,

We can login HP-UX 11i v1 & v2 system from Windows PC using WinSCP3 with Protocol SFTP & SFTP (allow SCP fallback)successfully, but when we Login by using SCP protocol then we are getting following error :

Connection has been unexpectedly closed. Server sent command exit status 1.

Please help us with solution.

Thanks
Khairul
3 REPLIES 3
Steven Schweda
Honored Contributor

Re: unable to login HP-UX and getting error when using scp protocol at WinSCP

Can you do a simple "ssh" to the problem
host? If not, does "ssh -v problem_host"
tell you anything?
Steven E. Protter
Exalted Contributor

Re: unable to login HP-UX and getting error when using scp protocol at WinSCP

Shalom,

Most likely an authentication issue. It is also possible to configure openssh to not permit certain types of logins.

tail -f /var/adm/syslog/syslog.log

Try again. The error message will help you diagnose the problem.

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
IT_2007
Honored Contributor

Re: unable to login HP-UX and getting error when using scp protocol at WinSCP

you need to change shell to /bin/ksh from WinSCP3 screen --> Advanced Options --> SCP

and then change from "Default" to "Enter" for Shell to select /bin/ksh.