前提:
1、sshd已经启动 //可以用/etc/rc.d/sshd restart 来尝试是否可以重启服务
2、端口处于LISTEN状态
3、远程使用telnet Host_IP_Address 22 有回显 //SSH-2.0-OpenSSH_3.8.1p1 FreeBSD-20040419
使用SecureCRT连接时提示:unable to authenticate using any of the configured authentication methods
【FreeBSD 5.4 安装后无法用SecureCRT连接】这时需要修改sshd_config配置文件
ee /etc/ssh/sshd_config
找到
# Change to yes to enable built-in passWord authentication.
#PasswordAuthentication no //去掉前面'#'符号
改成
PasswordAuthentication yes添加
PermitRootLogin yes //为了可以使用root直接登录,从安全上不建议这么使用 。建议创建一个用户添加到wheel组中,使用su登录 。保存、重启sshd 。inetd[387]: ssh/tcp: bind: Address already in use.
检查是否在/etc/inetd.conf 中打开了
ssh stream tcp nowait root /usr/sbin/sshd sshd -i -4
改成
#ssh stream tcp nowait root /usr/sbin/sshd sshd -i -4
保存、重启 。/etc/inetd restart
- apple pay如何使用?Apple Pay安装使用方法
- win11安装教程 Win11安装教程
- 不支持tpm2.0怎么安装win11
- windows11怎么安装安卓应用 windows 11怎么安装安卓应用
- 节约资源 在Vista中安装网络共享打印机
- AutoCAD2014如何安装 安装教程分享
- AutoCAD2007如何安装 CAD2007安装及激活方法分享
- 使用U盘也能安装Windows Vista
- Windows XP和Vista双系统安装方法
- 使用U盘安装Windows Vista-新!
