AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-18131

Elitmiar's questions

Martin Hope
Elitmiar
Asked: 2014-10-16 10:53:59 +0800 CST

无法将主机解析为非 root 用户

  • 0

我最近设置了一个运行 Centos 6.5 和 Web 主机管理器的 VPS 服务器。我当前的问题是我无法通过 nslookup 或在命令行上 ping 解析主机名。但是当我使用 root 登录时,我可以 ping 并执行 nslookups 等

当以非 root 用户身份登录时,我执行以下命令但没有得到任何结果:

user@server [~]# ping google.com
ping: unknown host google.com

user@server [~]# nslookup google.com 
;; connection timed out; trying next origin

user@server [~]# ping 74.125.230.226
ping: icmp open socket: Operation not permitted

user@server [~]# nslookup 74.125.230.226
;; connection timed out; trying next origin
;; connection timed out; no servers could be reached

然而,当我以 root 身份登录时,上述所有命令都按预期工作:

root@server [~]# ping google.com
PING google.com (74.125.230.224) 56(84) bytes of data.
64 bytes from lhr08s06-in-f0.1e100.net (74.125.230.224): icmp_seq=1 ttl=52 time=198 ms
64 bytes from lhr08s06-in-f0.1e100.net (74.125.230.224): icmp_seq=2 ttl=52 time=196 ms
64 bytes from lhr08s06-in-f0.1e100.net (74.125.230.224): icmp_seq=3 ttl=52 time=196 ms
64 bytes from lhr08s06-in-f0.1e100.net (74.125.230.224): icmp_seq=4 ttl=52 time=196 ms
64 bytes from lhr08s06-in-f0.1e100.net (74.125.230.224): icmp_seq=5 ttl=52 time=198 ms

nslookup google.com
Server:         196.7.7.7
Address:        196.7.7.7#53

Non-authoritative answer:
Name:   google.com
Address: 74.125.230.233
Name:   google.com
Address: 74.125.230.238
Name:   google.com
Address: 74.125.230.227
Name:   google.com
Address: 74.125.230.229
Name:   google.com
Address: 74.125.230.225
Name:   google.com
Address: 74.125.230.228
Name:   google.com
Address: 74.125.230.232
Name:   google.com
Address: 74.125.230.224
Name:   google.com
Address: 74.125.230.226
Name:   google.com
Address: 74.125.230.231
Name:   google.com
Address: 74.125.230.230

我可以使用非 root 用户读取文件 /etc/resolv.conf 和 /etc/nsswitch.conf,

我使用 suExec 运行 Apache,mod security,se linux 设置为 permissive。

从网站运行某些命令时,我收到如下消息:

curl/fopen php 给出以下消息

* , referer: http://www.domain
Hostname was NOT found in DNS cache, referer: http://www.domain
getaddrinfo(3) failed 

我对设置服务器很陌生,对于我的生活,我无法弄清楚问题是什么。

更新:

的内容/etc/resolv.conf

nameserver 196.7.7.7
nameserver 196.7.8.9

IPTABLES 输出 - iptables -nvL -t filter

Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination
 1546  201K cP-Firewall-1-INPUT  all  --  *      *       0.0.0.0/0            0.0.0.0/0
 1533  200K acctboth   all  --  *      *       0.0.0.0/0            0.0.0.0/0
  561 94135 ACCEPT     all  --  *      *       0.0.0.0/0            0.0.0.0/0           state RELATED,ESTABLISHED
    2   120 ACCEPT     all  --  lo     *       0.0.0.0/0            0.0.0.0/0
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           multiport dports 1:1023,2082:2083,3306,2086:2087,2095:2096,30000:32760
  689 59006 ACCEPT     udp  --  *      *       0.0.0.0/0            0.0.0.0/0           multiport dports 1:1023
    0     0 ACCEPT     tcp  --  *      *       41.76.213.0/24       0.0.0.0/0           multiport dports 5666
    0     0 ACCEPT     tcp  --  *      *       41.86.112.0/24       0.0.0.0/0           multiport dports 5666
    0     0 ACCEPT     tcp  --  *      *       197.242.159.6        0.0.0.0/0           multiport dports 1167
    0     0 ACCEPT     tcp  --  *      *       197.242.150.150      0.0.0.0/0           multiport dports 1167
    0     0 ACCEPT     tcp  --  *      *       196.33.227.219       0.0.0.0/0           multiport dports 1167
    0     0 ACCEPT     tcp  --  *      *       197.242.144.0/21     0.0.0.0/0           multiport dports 9999
    0     0 ACCEPT     tcp  --  *      *       196.33.227.0/24      0.0.0.0/0           multiport dports 9999
    0     0 ACCEPT     icmp --  *      *       0.0.0.0/0            0.0.0.0/0
  278 46670 DROP       all  --  *      *       0.0.0.0/0            0.0.0.0/0           ADDRTYPE match dst-type BROADCAST
    0     0 LOG        tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           state NEW tcp flags:0x17/0x02 limit: avg 3/hour burst 5 LOG flags 8 level 4 prefix `in-new:'
    2    72 LOG       !tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           state NEW limit: avg 3/hour burst 5 LOG flags 8 level 4 prefix `in-new:'
    3   116 REJECT     all  --  *      *       0.0.0.0/0            0.0.0.0/0           reject-with icmp-port-unreachable

Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination
    0     0 cP-Firewall-1-INPUT  all  --  *      *       0.0.0.0/0            0.0.0.0/0
    0     0 REJECT     all  --  *      *       0.0.0.0/0            0.0.0.0/0           reject-with icmp-host-prohibited

Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination
  588  112K acctboth   all  --  *      *       0.0.0.0/0            0.0.0.0/0
  569  111K ACCEPT     all  --  *      *       0.0.0.0/0            0.0.0.0/0           state RELATED,ESTABLISHED
    7   604 ACCEPT     all  --  *      *       0.0.0.0/0            0.0.0.0/0           owner UID match 0
    0     0 ACCEPT     all  --  *      *       0.0.0.0/0            0.0.0.0/0           owner GID match 12
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           tcp spt:20
    3   180 ACCEPT     all  --  *      lo      0.0.0.0/0            0.0.0.0/0
    9   640 out-bad    all  --  *      *       0.0.0.0/0            0.0.0.0/0
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           multiport dports 110,143,995,80,443,21
    0     0 ACCEPT     all  --  *      *       0.0.0.0/0            197.242.155.155
    0     0 ACCEPT     all  --  *      *       0.0.0.0/0            197.242.144.144
    0     0 LOG        tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           state NEW tcp flags:0x17/0x02 LOG flags 8 level 4 prefix `out-new:'
    8   568 LOG       !tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           state NEW LOG flags 8 level 4 prefix `out-new:'
    9   640 REJECT     all  --  *      *       0.0.0.0/0            0.0.0.0/0           reject-with icmp-port-unreachable

Chain acctboth (2 references)
 pkts bytes target     prot opt in     out     source               destination

Chain cP-Firewall-1-INPUT (2 references)
 pkts bytes target     prot opt in     out     source               destination
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           state NEW tcp dpt:993
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           state NEW tcp dpt:2078
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           state NEW tcp dpt:53
    1    60 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           state NEW tcp dpt:21
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           state NEW tcp dpt:2082
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           state NEW tcp dpt:443
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           state NEW tcp dpt:2077
    9   492 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           state NEW tcp dpt:80
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           state NEW tcp dpt:26
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           state NEW tcp dpt:8080
    1    60 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           state NEW tcp dpt:143
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           state NEW tcp dpt:22
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           state NEW tcp dpt:995
    1    52 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           state NEW tcp dpt:110
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           state NEW tcp dpt:25
    1    60 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           state NEW tcp dpt:2086
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           state NEW tcp dpt:2087
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           state NEW tcp dpt:2095
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           state NEW tcp dpt:465
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           state NEW tcp dpt:2096
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           state NEW tcp dpt:3306
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           state NEW tcp dpt:2083
    0     0 ACCEPT     udp  --  *      *       0.0.0.0/0            0.0.0.0/0           state NEW udp dpt:53

Chain out-bad (1 references)
 pkts bytes target     prot opt in     out     source               destination
linux
  • 2 个回答
  • 2954 Views
Martin Hope
Elitmiar
Asked: 2012-07-30 23:30:33 +0800 CST

使用 .bashrc 自动挂载 SAMBA 共享

  • 1

是否可以使用 .bashrc 文件在启动时挂载 Samba 网络共享

在我的 fstab 中,我得到了//192.168.1.104/ant /media/ant cifs gid=users,file_mode=0664,dir_mode=0775,auto,username=***,password=*** 0 0,但这仅在编辑 fstab 文件并运行 mount -a 时才起作用,所以我想如果我使用 .bashrc 文件它可能会起作用?

samba
  • 3 个回答
  • 2089 Views
Martin Hope
Elitmiar
Asked: 2012-07-25 12:24:36 +0800 CST

在 Fedora Core 15 中自动挂载 samba windows 共享

  • 6

我有一台运行 centos 6.2 的服务器,带有 samba 共享。

我想要实现的是让 samba 共享自动安装在我运行 Fedora 15 的 PC 上。

在/etc/fstab我有

//192.168.1.104/ant     /media/ant              cifs    gid=users,file_mode=0664,dir_mode=0775,auto,username=***,password=***  0 0

当我保存并运行时,上面的工作完美mount -a,现在问题出现在我重新启动我的 Fedora PC 时,然后在服务器运行时驱动器没有安装。我可以运行mount -a但是这不会挂载 samba 共享,当我打开/etc/fstab然后mount -a它再次挂载

有没有办法让这个共享在启动时自动挂载?还是我错过了什么?

linux fstab
  • 5 个回答
  • 4519 Views
Martin Hope
Elitmiar
Asked: 2010-04-14 03:12:57 +0800 CST

处理电子邮件退回

  • 1

我有一个拥有大约 60 000 个注册用户的网站,现在服务器向这些用户发送电子邮件,例如生日邮件等。现在的问题是我收到很多退回邮件。有没有办法管理这些退回邮件,不再存在的电子邮件地址来捕获它们。我正在运行 Centos。

email-server
  • 4 个回答
  • 610 Views
Martin Hope
Elitmiar
Asked: 2010-03-27 04:48:45 +0800 CST

无法 FTP 到服务器

  • 1

我需要从一台服务器 FTP 到另一台服务器

如果我使用 Krusader 使用本地 PC 进行 FTP,我可以通过 FTP 进入服务器

但是如果我通过 ssh 连接到一台服务器并尝试使用相同的 ftp 凭据通过 FTP 连接到服务器,我会收到消息 [正在解析主机地址...]

我知道这个地址是正确的,因为我可以从服务器 ping 它

我使用以下命令

lftp 'open -u username,password server'

如果我使用相同的命令来 ftp 到不同的服务器,它就可以工作。

任何帮助建议将不胜感激。

linux centos
  • 3 个回答
  • 392 Views
Martin Hope
Elitmiar
Asked: 2010-03-26 06:22:20 +0800 CST

无法使用 lftp 连接到服务器

  • 1

我有一个要使用以下命令执行的 lftp 文件

lftp -f /usr/scripts/fileS.lftp

如果我运行这个文件,我会得到Delaying before reconnect:

现在在这个文件(fileS.lftp)中我有以下代码

open -u username,password server
mput -E *
close

如果我运行,open -u username,password server我会收到以下错误Couldnt get a file descriptor referring to the console

我假设我需要在我尝试连接的服务器上允许连接,我该怎么做?任何帮助将不胜感激。

centos ftp
  • 1 个回答
  • 1410 Views
Martin Hope
Elitmiar
Asked: 2010-03-16 07:47:56 +0800 CST

PowerDNS,更新序列号

  • 3

我最近编写了自动将新的子域记录输入 PDS mySql 数据库的脚本。现在,如果我使用 Zone Admin 手动输入条目,我的子域可以 100% 工作。现在,如果我使用简单的 SQL 插入字符串添加它,例如"insert into records (domain_id, name,type,content,ttl,prio) values(";它不起作用,我被告知我需要更新我所做的 SOA 序列,但它只是不想生效。我做了以下date(Ymd)."01",这不起作用,任何建议将不胜感激

centos domain-name-system powerdns
  • 2 个回答
  • 6375 Views
Martin Hope
Elitmiar
Asked: 2010-03-12 04:11:49 +0800 CST

子域有效与否

  • 0

这个问题听起来可能很愚蠢。

有某个域例如 abc.com 不属于我,所以这意味着我也将无法使用 sub.abc.com?我对此是否正确?因此,为了使用 abc.com 域,我需要拥有它。

subdomain domain-name
  • 1 个回答
  • 150 Views
Martin Hope
Elitmiar
Asked: 2010-02-23 02:45:56 +0800 CST

DNS 错误:使用 powerdns 添加子域时

  • 0

我最近添加了一个子域 m.domain.co.za,但它没有显示,我在 apache 托管服务器上定义了域并添加了相关的 dns 记录,但不知何故它仍然无法正常工作。根域有效,但子域无效。我在 centos 机器上使用 powerdns。

细节

当我 PING domain.co.za 时,它会得到响应。如果我 ping m.domain.co.za 我没有得到回应

设置如下所示。

record  TTL     TYPE            value
m   28800   CNAME       domain.co.za

在托管服务器上,我的虚拟主机文件如下所示

<VirtualHost *:80>
  DocumentRoot /var/www/html/m.domain.co.za
  ServerName m.domain.co.za
  ServerAlias www.m.domain.co.za
  ServerAdmin [email protected]
  DirectoryIndex default.php default.htm default.html index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm Default.php
</VirtualHost>

文件夹 m.domain.co.za 存在

http -t 没有显示错误

如果我使用 nslookup

我得到以下

work@work-laptop:~$ nslookup m.domain.co.za
Server:     10.0.2.2
Address:    10.0.2.2#53

** server can't find m.domain.co.za: NXDOMAIN

实时站点与 syub 域在同一台服务器上,这就是我使用 CNAME 的原因

centos powerdns
  • 1 个回答
  • 1750 Views
Martin Hope
Elitmiar
Asked: 2010-01-26 06:45:27 +0800 CST

在 centos 机器上设置新的 ssh 用户

  • 2

我是在 SSH 上设置用户的新手。我有一个 centos bos,但不知道如何设置新用户以便他们能够通过 ssh 连接

centos ssh
  • 3 个回答
  • 6854 Views
Martin Hope
Elitmiar
Asked: 2010-01-14 08:28:35 +0800 CST

在 .htaccess 文件中添加一行时出现 500 内部服务器错误

  • 2

我需要将以下行添加到我的.htaccess文件中,以使我的网站使用 mod_security

SecFilterScanPOST Off

但后来我得到一个错误

内部服务器错误

服务器遇到内部错误或配置错误,无法完成您的请求。

在我的 WebHost 管理器中,我看到以下消息:“mod_security 已安装并正在运行!”

我不知道我做错了什么?

.htaccess mod-security
  • 5 个回答
  • 3106 Views
Martin Hope
Elitmiar
Asked: 2009-10-31 04:23:28 +0800 CST

在一台服务器上发送邮件,在另一台服务器上托管

  • 0

我是整个托管的新手,我的情况如下。如果我的域在一家公司托管,而我的电子邮件在另一家公司。我需要向托管公司提供什么,以便其他公司能够托管我的邮件?我在想我需要获取 MX 记录,以便托管公司可以在那里添加它们?这个对吗?

web-hosting
  • 2 个回答
  • 120 Views
Martin Hope
Elitmiar
Asked: 2009-10-30 06:59:02 +0800 CST

为什么 crontab 不是每分钟都运行

  • 3

我有一个需要每分钟运行的 cron

我试过了

1 * * * * php /scripts/cron.php

但似乎不是每分钟都运行,为什么?因为在分钟选项卡中,我每分钟输入 1

但以下每分钟运行一次

* * * * * php /scripts/cron.php
linux
  • 4 个回答
  • 8818 Views
Martin Hope
Elitmiar
Asked: 2009-10-30 05:47:28 +0800 CST

有没有办法检查我的 cron 是否运行

  • 1

我在我的服务器上安装了一个 cronjob,现在我需要知道如何跟踪脚本是否实际运行?有没有办法?

centos
  • 1 个回答
  • 1481 Views
Martin Hope
Elitmiar
Asked: 2009-10-13 07:20:27 +0800 CST

包括一个可用于多个站点的 PHP 文件

  • 0

我有一个我们使用的网络服务器,apache,centos5,php

我有一个名为“include.php”的文件,我需要将其包含在多个站点中。

例如。我有一个名为 testsite.co.za 的站点,现在我想在 index.php 中包含 include.php 文件,include.php 不在 testsite.co.za 的根目录中,

现在我在 web 根目录中创建了另一个文件夹,其中包含 include.php

我的代码在 testsite.co.za/index.php 中如下所示

require_once '../includes/include.php';  

如果我运行 testsite.co.za 它无法检测到 include.php。是否需要更改某些服务器设置才能包含此文件?

我的目录结构

-/var/www/html
  -testsite.co.za
      -index.php   
  -includes
      -include.php

希望这是有道理的

php
  • 3 个回答
  • 475 Views
Martin Hope
Elitmiar
Asked: 2009-10-09 05:00:07 +0800 CST

在 squid 日志中获取网站地址

  • 0

有没有办法使用 squid 日志按 IP 地址排序上周未被防火墙阻止的所有网站地址?

这是日志文件的示例

1250388539.781    388 10.0.44.22 TCP_MISS/200 1931 GET http://safebrowsing-cache.google.com/safebrowsing/rd/goog-phish-shavar_s_45871-45875.45871-45875.: - DIRECT/74.125.6.219 application/vnd.google.safebrowsing-chunk
1250388540.180    382 10.0.44.22 TCP_MISS/200 923 GET http://safebrowsing-cache.google.com/safebrowsing/rd/goog-phish-shavar_a_63716-63720.63716-63717.63718-63720: - DIRECT/74.125.6.219 application/vnd.google.safebrowsing-chunk
1250388549.554    657 10.0.12.101 TCP_MISS/200 430 GET http://tracker.openbittorrent.com/announce? - DIRECT/192.121.86.2 text/plain
1250388583.580    675 10.0.12.101 TCP_MISS/200 1579 GET http://tracker.prq.to/announce? - DIRECT/192.121.86.8 text/plain
1250388588.951    702 10.0.12.13 TCP_MISS/405 1368 LOCK http://www.portforward.com/images/spacer.gif - DIRECT/63.168.21.164 text/html
1250388595.574    674 10.0.12.101 TCP_MISS/200 1579 GET http://denis.stalker.h3q.com/announce? - DIRECT/192.121.86.7 text/plain
1250388703.596    667 10.0.12.101 TCP_MISS/200 1579 GET http://open.tracker.thepiratebay.org/announce? - DIRECT/192.121.86.2 text/plain
1250388746.959    699 10.0.12.13 TCP_MISS/405 1368 LOCK http://www.portforward.com/images/spacer.gif - DIRECT/63.168.21.164 text/html
1250388761.595    676 10.0.12.101 TCP_MISS/200 1578 GET http://tpb.tracker.prq.to/announce? - DIRECT/192.121.86.5 text/plain
1250388772.590    678 10.0.12.101 TCP_MISS/200 1580 GET http://open.tracker.thepiratebay.org/announce? - DIRECT/192.121.86.3 text/plain
1250388803.588    663 10.0.12.101 TCP_MISS/200 620 GET http://tracker.openbittorrent.com/announce? - DIRECT/192.121.86.3 text/plain
1250388835.578    665 10.0.12.101 TCP_MISS/200 430 GET http://tracker.thepiratebay.org/announce? - DIRECT/192.121.86.4 text/plain
1250388835.910    678 10.0.12.101 TCP_MISS/200 1578 GET http://tracker4.finalgear.com/announce? - DIRECT/192.121.86.5 text/plain
1250388848.523    408 10.0.8.155 TCP_MISS/200 663 POST http://safebrowsing.clients.google.com/safebrowsing/downloads? - DIRECT/66.102.9.138 application/vnd.google.safebrowsing-update

系统规格:Centos5

我需要确定谁在一周内访问了哪个站点。

这可能吗?

centos
  • 2 个回答
  • 985 Views
Martin Hope
Elitmiar
Asked: 2009-10-01 06:24:59 +0800 CST

检查服务器上是否安装了 mySql

  • 12

有没有办法确定 Linux 服务器上是否安装了 mySql?

linux
  • 6 个回答
  • 60615 Views
Martin Hope
Elitmiar
Asked: 2009-10-01 02:45:36 +0800 CST

从Linux机器获取IP地址的不同方法[重复]

  • 2
这个问题在这里已经有了答案:
Linux:如何获取机器的 IP 地址?[重复] (2个答案)
7年前关闭。

我很好奇,我想知道从 Linux 机器获取 IP 地址的所有不同方法,我知道ifconfig效果很好,但想知道是否还有其他方法可以用来获取 IP 地址?

linux
  • 6 个回答
  • 390 Views
Martin Hope
Elitmiar
Asked: 2009-09-24 03:17:24 +0800 CST

有没有好的免费邮件服务器软件可用?

  • 2

我正在尝试设置邮件服务器,是否有适用于 Windows 或 Linux 的优秀开源软件?

email-server
  • 4 个回答
  • 3500 Views
Martin Hope
Elitmiar
Asked: 2009-09-24 00:46:55 +0800 CST

SSH 在服务器上不起作用

  • 0

我正在尝试 ssh 进入服务器并收到以下错误ssh: connect to host server.mylan.lan port 22: No route to host

奇怪的是它正在工作,然后突然就没有了,这很常见吗,服务器运行的是 Centos 5.2

ssh
  • 6 个回答
  • 6694 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve