winscp主機(jī)超過(guò)15秒無(wú)通信 系統(tǒng)之家Linux如何關(guān)閉scp和sftp命令怎么辦?
系統(tǒng)之家Linux如何關(guān)閉scp和sftp命令怎么辦?您好,方法如下:禁止SCP和SFTP命令系統(tǒng):CentOS 5。X1。禁止SCP RPM-QA | grep openssh-*Yum刪除open
系統(tǒng)之家Linux如何關(guān)閉scp和sftp命令怎么辦?
您好,方法如下:禁止SCP和SFTP命令系統(tǒng):CentOS 5。X
1。禁止SCP RPM-QA | grep openssh-*Yum刪除openssh客戶端-y,刪除openssh客戶端,然后執(zhí)行SCP,將報(bào)告以下錯(cuò)誤:-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系統(tǒng)中SCP和SFTP命令的方法。需要或感興趣的用戶可以嘗試在自己的電腦上操作。