Post

linux(CentOS7)基础知识

linux 基础知识

启动选择

Red Hat 安装

安装之后远程登入

  • 查看是否启动
1
2
3
4
[root@Cc ~]# ps -ef |grep sshd
root      1377     1  0 Mar20 ?        00:00:00 /usr/sbin/sshd -D
root     21020  1377  0 20:49 ?        00:00:00 sshd: root@pts/1
root     21310 21022  0 21:02 pts/1    00:00:00 grep --color=auto sshd
  • 查看 sshd 端口多少
1
2
[root@Cc ~]# netstat -ntlp |grep sshd
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      1377/sshd
  • ssh 远程登入

    • 服务终端命令登陆

      1
      2
      3
      4
      5
      6
      
      [root@Lgr ~]# ssh root@lichaocheng.top
      root@lichaocheng.top's password:
      Last login: Mon Mar 23 21:04:51 2020 from 58.60.57.2
      
      Welcome to Alibaba Cloud Elastic Compute Service !
      [root@Cc ~]#
      
    • 可以使用工具

      • xshell
      • FinalShell
      • Tabby

linux 图像界面

This post is licensed under CC BY 4.0 by the author.