看板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