看板FreeBSD
标 题Re: [问题] ssh 连的上 但 sftp 连不上
发信站呼啦贝尔 BBS (Fri Dec 5 16:47:51 2008)
转信站ptt!news.ntu!ctu-gate!ctu-peer!news.nctu!news.csie.ncyu!news.cs.nthu!n
※ 引述《[email protected] (我爱吃凉面)》之铭言:
> 版本 FreeBSD 7.1R
> ssh 连的上,但是 login 很慢
> 然後我用 FileZilla sftp 连线却连不上
> /var/log/message 有这个错误讯息
> Dec 5 03:37:12 www sshd[7009]: error: PAM: authentication error for \
> root from 192.168.1.101
> 请问是什麽原因
> 谢谢
在/etc/ssh/sshd_config里面有这两行
# Change to yes to enable built-in password authentication.
#PasswordAuthentication no
改成
PasswordAuthentication yes
就可以了:P
--
※ Origin: 呼啦贝尔 <hulabear.twbbs.org>
※ From : ec08.csie.ntu.edu.tw