linux查看sftp状态 linux下如何使用sftp命令?

linux下如何使用sftp命令?您好,方法如下:禁止SCP和SFTP命令系统:CentOS 5。X1。禁止SCP RPM-QA | grep openssh-*Yum删除openssh客户端-y,删

linux下如何使用sftp命令?

您好,方法如下:禁止SCP和SFTP命令系统:CentOS 5。X

1。禁止SCP RPM-QA | grep openssh-*Yum删除openssh客户端-y,删除openssh客户端,然后执行SCP,将报告以下错误:-bash:SCP:command not found

2。禁止SFTP VI/etc/SSH/sshduconfig subsystem SFTP/usr/libexec/openssh/SFTP server注释了这一行,如下:#subsystem SFTP/usr/libexec/openssh/SFTP server exit save,restart sshd:service sshd restart以上是禁止Linux系统中SCP和SFTP命令的方法。需要或感兴趣的用户可以尝试在自己的电脑上操作。