securecrt如何连接:FreeBSD 5.4 安装后无法用SecureCRT连接

  前提:

  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

  这时需要修改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登录保存、重启sshdinetd[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

Tags:  securecrt6.1.3 securecrt注册码 securecrt securecrt如何连接

延伸阅读

最新评论

发表评论