Operating System - HP-UX
1753523 Members
9250 Online
108795 Solutions
New Discussion юеВ

Re: ssh sftp scp on the server does not work

 
SOLVED
Go to solution
Venky...
Advisor

Re: ssh sftp scp on the server does not work

I think that has been done intentionally so that no one use the rlogin or rcp.
Matti_Kurkela
Honored Contributor

Re: ssh sftp scp on the server does not work

My guess is this:

First, someone has replaced rlogin and rcp with links to ssh/scp. As you said, the intention has probably been to make the users (and any existing scripts) use SSH. So far, no problem.

After that, the system has been patched, and the patch has included new versions of rlogin and rcp. When installing the patch, the swinstall/swagent has simply tried to overwrite the old files. But because they had been replaced with links, the patch installation procedure has followed the links and overwritten your ssh and scp binaries instead.

Lesson learned: when modifying standard system binaries, always think about what will happen when new patches are installed.

MK
MK
Venky...
Advisor

Re: ssh sftp scp on the server does not work

Hi MK,

Brilliant was your analysis..
yes.. lesson learnt, will note down for the future.


Thanks a lot
Regards,
Venky
Venky...
Advisor

Re: ssh sftp scp on the server does not work

I am closing off the thread..
had great time working with all you guys..

Thanks once again to each and everyone.
Venky...
Advisor

Re: ssh sftp scp on the server does not work

need to check for the binaries which have been linked to other files when installing a patch.