存档

文章标签 ‘winscp’

只用SSH传文件,不能SSH命令行登陆

2010年2月27日 没有评论

linux上增加一个用户,如何让他只能用winscp传文件,而不能用ssh客户端登入呢?

usermod -s /usr/libexec/openssh/sftp-server username

也可以直接改/etc/passwd

分类: √文章精选 标签: ,