linux 之 sftp

1,关闭,启动ssh、sftp服务
[root@localhost init.d]# /etc/init.d/sshd stop
Stopping sshd:                                             [  OK  ]
[root@localhost init.d]# /etc/init.d/sshd stop
[root@localhost init.d]# /etc/init.d/sshd start
Starting sshd:                                             [  OK  ]
[root@localhost init.d]#

你可能感兴趣的:(linux)