ESSAY / NOTE

securecrt连接虚拟机ubuntu

第一步安装secureCRT和secureFX: 安装链接:https://download.csdn.net/download/qq_40008325/11036734 其次,进入到Ubuntu下,先查看Ubuntu虚拟机的IP配置,通过ifconfig命令查看,可以看到Ubuntu下的IP地址信息。 而后,测试SSH Ubuntu上ssh localhost secureCRT连接ubuntu虚拟机 例如:ssh [email protected]或者 ssh [email protected] 出现了:::ssh: connect to host localhost port 22: Connection refused  说明你的机器没装SSH,接着装吧 打开Ubuntu的终端,输入:sudo apt-get install openssh-server 新建一个链接: secureCRT连接ubuntu虚拟机 说明:上面的主机名填自己的ip和用户名。 如果提示 The server has disconnected with an error. Server message reads: A protocol error occurred. Change of username or service not allowed: (root,ssh-connection) -> (Ubuntu64,ssh-connection) 执行 这是因为SecureCRT设置中的用户名和你登录时候输入的用户名不相符,在这里改一下就可以: 选项 -> 会话选项 -> 连接 -> SSH2 -> 用户名 修改后登录正常,这样可以禁用服务器的ROOT登录了(为了安全)。 默认是root,改成你的用户名。   原文 https://www.likecs.com/show-203629790.html