Operating System - HP-UX
1752681 Members
5734 Online
108789 Solutions
New Discussion юеВ

Re: desable scp without desable ssh

 
SOLVED
Go to solution
benseghir_1
Advisor

desable scp without desable ssh

please can i desable scp without desable ssh

how can i do this

thanks in advance
5 REPLIES 5
RAC_1
Honored Contributor
Solution

Re: desable scp without desable ssh

rename scp executable. Do not know of any other way to do it.

Anil
There is no substitute to HARDWORK
Rick Garland
Honored Contributor

Re: desable scp without desable ssh

Rename and/or move it somewhere where it is not in PATH
Steven E. Protter
Exalted Contributor

Re: desable scp without desable ssh

Rename or remove. Changing the path will not work because the binary for ssh is in the same location as the binary for scp.

In hpux

whence scp

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
Bolek Mynarski
Frequent Advisor

Re: desable scp without desable ssh

If you still want to be able to use it (root, for example), change perms: 0500. This way, only root will be able to execute it.
It'snever too late to learn new things...
benseghir_1
Advisor

Re: desable scp without desable ssh


Dear all

thanks a lot for all your propositions ,

there are very usefull.