最新消息:20210816 当前crifan.com域名已被污染,为防止失联,请关注(页面右下角的)公众号

【已解决】Mac中SecureCRT用SSH登录远程CentOS服务器

CentOS crifan 2591浏览 0评论

手上有个CentOS服务器。

去远程登录看看

点击Connect,看看能否连上

即可正常登陆:

Last login: Thu Feb 27 23:12:32 2020 from y.y.y.239
[root@lin-16core3 ~]# pwd
/root
[root@lin-16core3 ~]# uname -a
Linux lin-16core3.localdomain 3.10.0-123.el7.x86_64 #1 SMP Mon Jun 30 12:09:22 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
[root@lin-16core3 ~]#

再去看看硬件信息,参考之前自己的帖子:

【已解决】CentOS中查看CPU和内存等硬件配置信息 – 在路上

[root@lin-16core3 ~]# cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 61
model name      : Intel Core Processor (Broadwell)
stepping        : 2
microcode       : 0x1
cpu MHz         : 2399.988
cache size      : 4096 KB
physical id     : 0
siblings        : 1
core id         : 0
cpu cores       : 1
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl eagerfpu pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch arat xsaveopt fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm rdseed adx smap
bogomips        : 4799.97
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management:

processor       : 1

vendor_id       : GenuineIntel

cpu family      : 6

model           : 61

model name      : Intel Core Processor (Broadwell)

stepping        : 2

microcode       : 0x1

cpu MHz         : 2399.988

cache size      : 4096 KB

physical id     : 1

siblings        : 1

core id         : 0

cpu cores       : 1

apicid          : 1

initial apicid  : 1

fpu             : yes

fpu_exception   : yes

cpuid level     : 13

wp              : yes

flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl eagerfpu pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch arat xsaveopt fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm rdseed adx smap

bogomips        : 4799.97

clflush size    : 64

cache_alignment : 64

address sizes   : 40 bits physical, 48 bits virtual

power management:

processor       : 15

vendor_id       : GenuineIntel

cpu family      : 6

model           : 61

model name      : Intel Core Processor (Broadwell)

stepping        : 2

microcode       : 0x1

cpu MHz         : 2399.988

cache size      : 4096 KB

physical id     : 15

siblings        : 1

core id         : 0

cpu cores       : 1

apicid          : 15

initial apicid  : 15

fpu             : yes

fpu_exception   : yes

cpuid level     : 13

wp              : yes

flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl eagerfpu pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch arat xsaveopt fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm rdseed adx smap

bogomips        : 4799.97

clflush size    : 64

cache_alignment : 64

address sizes   : 40 bits physical, 48 bits virtual

power management:

是16核的。

[root@lin-16core3 ~]# cat /proc/cpuinfo | grep processor
processor       : 0
processor       : 1
processor       : 2
processor       : 3
processor       : 4
processor       : 5
processor       : 6
processor       : 7
processor       : 8
processor       : 9
processor       : 10
processor       : 11
processor       : 12
processor       : 13
processor       : 14
processor       : 15

和:

[root@lin-16core3 ~]# getconf LONG_BIT
64

和:

[root@lin-16core3 ~]# fdisk -l

Disk /dev/vda: 21.5 GB, 21474836480 bytes, 41943040 sectors

Units = sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk label type: dos

Disk identifier: 0x000951d5

   Device Boot      Start         End      Blocks   Id  System

/dev/vda1   *        2048    41943006    20970479+  83  Linux

Disk /dev/vdb: 67 MB, 67108864 bytes, 131072 sectors

Units = sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk label type: dos

Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System

磁盘大小:

Filesystem      Size  Used Avail Use% Mounted on
/dev/vda1        20G  3.9G   15G  21% /
devtmpfs         16G     0   16G   0% /dev
tmpfs            16G     0   16G   0% /dev/shm
tmpfs            16G  1.7G   15G  11% /run
tmpfs            16G     0   16G   0% /sys/fs/cgroup
tmpfs           3.2G     0  3.2G   0% /run/user/0

和:

[root@lin-16core3 ~]# dmidecode | grep "Maximum Capacity"
        Maximum Capacity: 32 GB

和:

[root@lin-16core3 ~]# dmidecode | grep "Number Of Devices"
        Number Of Devices: 2

和:

# fdisk -l | grep GB
Disk /dev/vda: 21.5 GB, 21474836480 bytes, 41943040 sectors

【总结】

此处可以通过:

cat /proc/cpuinfo | grep processor

看出:CPU是16核的

dmidecode | grep "Maximum Capacity"
dmidecode | grep "Number Of Devices"

看出:内存是32G的,内存插槽是2个

fdisk -l | grep GB

看出:硬盘是21.5G

当前系统版本:

# uname -a
Linux lin-16core3.localdomain 3.10.0-123.el7.x86_64 #1 SMP Mon Jun 30 12:09:22 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

Linux发行版类型和版本号:

# lsb_release -a
LSB Version:    :core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarch
Distributor ID: CentOS
Description:    CentOS Linux release 7.0.1406 (Core)
Release:        7.0.1406
Codename:       Core

转载请注明:在路上 » 【已解决】Mac中SecureCRT用SSH登录远程CentOS服务器

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
81 queries in 0.171 seconds, using 22.06MB memory