8

CentOS 6.10修改SSH端口笔记

 3 years ago
source link: https://www.itpwd.com/328.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
CentOS 6.10修改SSH端口笔记_Linux笔记_IT密码
[root@localhost ~]# vim /etc/ssh/sshd_config 
#Port 22
Port 18022 #新增ssh端口
[root@localhost ~]# service sshd restart
[root@localhost ~]# 
[root@localhost ~]# vi /etc/sysconfig/iptables
-A INPUT -p tcp -m state --state NEW -m tcp --dport 22 -j ACCEPT
-A INPUT -p tcp -m state --state NEW -m tcp --dport 18022 -j ACCEPT #新增防火墙端口
[root@localhost ~]# service iptables restart



Recommend

  • 31
    • www.tuicool.com 5 years ago
    • Cache

    SSH 端口转发教程

    SSH 端口转发教程 对于开发者来说,ssh 是一个必备的工具,用来登录服务器。 但是,它还有一大用途,就是作为加密通信的中介,充当两台服务器之间的通信加密跳板。这个功能称为端口转发(port forwarding),又称 ssh...

  • 29
    • www.cnblogs.com 4 years ago
    • Cache

    ssh端口转发

    假设现在有两台服务器client1,client2,他们直接不能直接相互通信,但是他们均能连接上第三台服务器balance,我们可以在client1,client2和balance三台机器之间建立ssh隧道来让client1和client2实现通信。 ssh端口转发有三种实...

  • 13
    • beginor.github.io 4 years ago
    • Cache

    SSH 端口转发小结

    SSH 端口转发小结 Linux 的 SSH 服务不仅仅能够远程登录和管理,还可以在本地计算机和服务器之间建立 TCP 通道, 实现代理、内网穿透、暴露内网服务等功能,简单可靠。 动态端口转发 将向本地指定端口发送的请求通过 SSH...

  • 13
    • abcdxyzk.github.io 4 years ago
    • Cache

    SSH端口转发 及 SSH代理

    SSH端口转发 及 SSH代理 2015-04-09 23:06:00 SSH端口转发 假设A、B为内网机,C为可登录公网机。那么A连B过程为: 假设 A、B、C 的ssh端口分别为portA、portB、portC。 1. 远程转发-R, 远...

  • 8
    • www.lujun9972.win 3 years ago
    • Cache

    ssh端口转发说明

    ssh端口转发说明 SSH端口转发可以使两台机器之间通过SSH协议来通讯,这项能力可以让两个不支持SSL加密的应用之间的通讯也变得安全。 此外,ssh端口转发也常用于将位于内部网络无法路由的机器暴露给外部使用。 SSH端口转发主要有两种:本地...

  • 7

    虽然Linux本身自带的iptables可以实现端口转发功能,但其配置相对复杂。因此本文介绍另一个端口转发工具rinetd,其安装和配置都更为简单。 rinetd部署环境本文是基于Centos7系统部署rinetd端口转发工具。 rinetd安装到

  • 14
    • www.javatang.com 3 years ago
    • Cache

    CentOS 7修改SSH端口之后启动失败

    CentOS 7修改SSH端口之后启动失败 – 爪哇堂 JavaTangSkip to main content

  • 8
    • www.myfreax.com 2 years ago
    • Cache

    Linux SSH 端口修改

    ssh Linux SSH 端口修改 默认情况下,SSH监听端口22。更改默认SSH端口可降低自动攻击的风险,从而为服务器增加一层安全保护

  • 8
    • vpsxb.net 1 year ago
    • Cache

    CentOS 8修改ssh默认端口

    CentOS 8修改ssh默认端口 VPS小白 >

  • 3
    • benpaodewoniu.github.io 1 year ago
    • Cache

    aws | 修改 SSH 端口忘记打开防火墙

    aws | 修改 SSH 端口忘记打开防火墙 2024-03-29...

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK