SecureCrt 连接Redhat linux

简介:

1、Vmware虚机设置网络模式为桥接Bridge.保证linux中能ping通windows,windows中也能ping通linux.

 

2、修改sshd_config文件,命令为:vi /etc/ssh/sshd_config

   将#PasswordAuthentication no的注释去掉,如果为NO将其修改为YES

       将#PermitRootLogin yes

    # Port 22

          #Protocol 2,1 三行的注释去掉。 

3、验证SSH服务状态,命令为:/etc/init.d/sshd status

4、重新启动SSH服务,命令为:/etc/init.d/sshd restart

5、crt中设置SSH2连接。

 6、确保linux中防火墙关闭,使用# service iptables stop命令关闭防火墙。

 7、出现登录提示后,说明已经成功连接。


作者: 望月狼
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利.http://www.cnblogs.com/wangyuelang0526/p/3225553.html
相关文章
|
1天前
|
安全 Linux Shell
|
1天前
|
移动开发 监控 网络协议
linux如何查看websocket的连接
linux如何查看websocket的连接
|
1天前
|
Oracle Java 关系型数据库
【服务器】python通过JDBC连接到位于Linux远程服务器上的Oracle数据库
【服务器】python通过JDBC连接到位于Linux远程服务器上的Oracle数据库
14 6
|
1天前
|
Linux 网络安全
xmanager 4 连接SuSE linux server 11方法
xmanager 4 连接SuSE linux server 11方法
|
1天前
|
存储 Linux
Redhat Enterprise Linux磁带机简单操作
Redhat Enterprise Linux磁带机简单操作
12 2
|
1天前
|
安全 Linux 网络安全
【专栏】在 Linux 中,端口连接服务和应用,过多开放的端口可能带来安全隐患,教你一招找出所有开放的端口,然后直接干掉!
【4月更文挑战第28天】在 Linux 中,端口连接服务和应用,过多开放的端口可能带来安全隐患。要找出开放端口,可使用 `netstat -anp`、`lsof -i` 或 `nmap` 命令。关闭端口可通过停止相关服务、修改防火墙规则或禁用网络接口。注意不要随意关闭重要端口,操作前备份数据。保持端口安全对系统安全至关重要。
|
1天前
|
监控 Linux 网络安全
Linux服务器如何查询连接服务器的IP
【4月更文挑战第17天】Linux服务器如何查询连接服务器的IP
19 1
|
1天前
|
安全 Linux 网络安全
如何在 VM 虚拟机中安装 Red Hat Enterprise Linux 9.3 操作系统保姆级教程(附链接)
如何在 VM 虚拟机中安装 Red Hat Enterprise Linux 9.3 操作系统保姆级教程(附链接)
|
架构师 中间件 Linux
Red Hat Enterprise Linux 8/7/6/5/4 合集下载地址
Red Hat Enterprise Linux 8/7/6/5/4 合集下载地址
|
7月前
|
网络协议 关系型数据库 MySQL
Red Hat enterprise linux 5 -mysql安装步骤
Red Hat enterprise linux 5 -mysql安装步骤