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-277900

jackaraz's questions

Martin Hope
jackaraz
Asked: 2016-02-26 15:39:12 +0800 CST

ssh 连接被拒绝

  • 10

嗨,我的 ssh 出现问题,它神奇地停止工作,我不知道为什么。它给出的信息是:

ssh: connect to host <host> port 22: Connection refused

我写的时候没有看到任何错误消息,dmesg但我正在关注telnet localhost 22

Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused

我尝试了在一些类似案例[1]和[2]中看到的解决方案,但仍然没有解决我的问题,条目和输出如下:

>> sudo iptables -A INPUT -p tcp --dport ssh -j ACCEPT
>> sudo iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination         
ACCEPT     tcp  --  anywhere             anywhere             tcp dpt:ssh

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination  

请注意,这已经接受了,即使在输入命令之前我也没有任何问题sudo iptables -A INPUT -p tcp --dport ssh -j ACCEPT。我也尝试重新启动 ssh 但它没有改变任何东西

>>netstat -a | egrep 'Proto|LISTEN'
Proto Recv-Q Send-Q Local Address           Foreign Address         State      
tcp        0      0 localhost:20128         *:*                     LISTEN     
tcp        0      0 localhost:17600         *:*                     LISTEN     
tcp        0      0 localhost:20129         *:*                     LISTEN     
tcp        0      0 localhost:17603         *:*                     LISTEN     
tcp        0      0 localhost:21128         *:*                     LISTEN     
tcp        0      0 deathstar:domain        *:*                     LISTEN     
tcp        0      0 localhost:ipp           *:*                     LISTEN     
tcp        0      0 *:db-lsp                *:*                     LISTEN     
tcp6       0      0 ip6-localhost:ipp       [::]:*                  LISTEN     
tcp6       0      0 [::]:db-lsp             [::]:*                  LISTEN 

我不知道还能尝试什么,所以希望这足以解决问题。

在@Ashu 的评论之后添加了休息

sudo lsof -i | grep ssh

没啥事儿

>>netstat -l --numeric-ports | grep 22
unix  2      [ ACC ]     STREAM     LISTENING     1618183  @jack-com.canonical.Unity.Master.Scope.files.T1731348652205882

>>sudo iptables --list
Chain INPUT (policy ACCEPT)
target     prot opt source               destination         
ACCEPT     tcp  --  anywhere             anywhere             tcp dpt:ssh

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination 

在@TheSchwa 的评论之后编辑

>>ps aux | grep sshd
jack      3711  0.0  0.0  15944  2220 pts/26   S+   14:08   0:00 grep --color=auto sshd
networking
  • 9 个回答
  • 145376 Views
Martin Hope
jackaraz
Asked: 2014-05-22 12:39:09 +0800 CST

CalcHEP 进程时出现 Gnuplot 错误

  • 1

我不知道这是不是该问的地方,但是学校的服务器在 Calchep 批处理模式下执行过程时给出了以下错误。它显然是关于 gnuplot 的,但我不知道,因为我没有接触过程序的代码。

set term png transparent medium xffffff x000000 x000000 xadd8e6 xadd8e6 x000000 ^ "gnuplot_instructions", line 1: warning: deprecated color option

set term png transparent medium xffffff x000000 x000000 xadd8e6 xadd8e6 x000000 ^ "gnuplot_instructions", line 1: warning: deprecated color option

set term png transparent medium xffffff x000000 x000000 xadd8e6 xadd8e6 x000000 ^ "gnuplot_instructions", line 1: warning: deprecated color option

set term png transparent medium xffffff x000000 x000000 xadd8e6 xadd8e6 x000000 ^ "gnuplot_instructions", line 1: warning: deprecated color option

set term png transparent medium xffffff x000000 x000000 xadd8e6 xadd8e6 x000000 ^ "gnuplot_instructions", line 1: warning: deprecated color option

set term png transparent medium xffffff x000000 x000000 xadd8e6 xadd8e6 x000000 ^ "gnuplot_instructions", line 1: warning: deprecated color option

set term png transparent medium xffffff x000000 x000000 xadd8e6 xadd8e6 x000000 ^ "gnuplot_instructions", line 1: warning: deprecated color option

set term png transparent medium xffffff x000000 x000000 xadd8e6 xadd8e6 x000000 ^ "gnuplot_instructions", line 1: warning: deprecated color option

set term png transparent medium xffffff x000000 x000000 xadd8e6 xadd8e6 x000000 ^ "gnuplot_instructions", line 1: warning: deprecated color option

set term png transparent medium xffffff x000000 x000000 xadd8e6 xadd8e6 x000000 ^ "gnuplot_instructions", line 1: warning: deprecated color option

set term png transparent medium xffffff x000000 x000000 xadd8e6 xadd8e6 x000000 ^ "gnuplot_instructions", line 1: warning: deprecated color option

set term png transparent medium xffffff x000000 x000000 xadd8e6 xadd8e6 x000000 ^ "gnuplot_instructions", line 1: warning: deprecated color option

set term png transparent medium xffffff x000000 ^ "gnuplot_instructions", line 1: warning: deprecated color option

set term png transparent medium xffffff x000000 ^ "gnuplot_instructions", line 1: warning: deprecated color option set term png transparent medium xffffff x000000 x000000 xadd8e6 xadd8e6 x000000 ^ "gnuplot_instructions", line 1: warning: deprecated color option

set term png transparent medium xffffff x000000 x000000 xadd8e6 xadd8e6 x000000 ^ "gnuplot_instructions", line 1: warning: deprecated color option

set term png transparent medium xffffff x000000 x000000 xadd8e6 xadd8e6 x000000 ^ "gnuplot_instructions", line 1: warning: deprecated color option

set term png transparent medium xffffff x000000 x000000 xadd8e6 xadd8e6 x000000 ^ "gnuplot_instructions", line 1: warning: deprecated color option

set term png transparent medium xffffff x000000 x000000 xadd8e6 xadd8e6 x000000 ^ "gnuplot_instructions", line 1: warning: deprecated color option

set term png transparent medium xffffff x000000 x000000 xadd8e6 xadd8e6 x000000 ^ "gnuplot_instructions", line 1: warning: deprecated color option

set term png transparent medium xffffff x000000 x000000 xadd8e6 xadd8e6 x000000 ^ “gnuplot_instructions”,第 1 行:警告:弃用的颜色选项

set term png transparent medium xffffff x000000 x000000 xadd8e6 xadd8e6 x000000 ^ "gnuplot_instructions", line 1: warning: deprecated color option

set term png transparent medium xffffff x000000 x000000 xadd8e6 xadd8e6 x000000 ^ "gnuplot_instructions", line 1: warning: deprecated color option

set term png transparent medium xffffff x000000 x000000 xadd8e6 xadd8e6 x000000 ^ “gnuplot_instructions”,第 1 行:警告:弃用的颜色选项`

set term png transparent medium xffffff x000000 x000000 xadd8e6 xadd8e6 x000000 ^ "gnuplot_instructions", line 1: warning: deprecated color option

set term png transparent medium xffffff x000000 x000000 xadd8e6 xadd8e6 x000000 ^ "gnuplot_instructions", line 1: warning: deprecated color option

set term png transparent medium xffffff x000000 ^ "gnuplot_instructions", line 1: warning: deprecated color option

set term png transparent medium xffffff x000000 ^ "gnuplot_instructions", line 1: warning: deprecated color option

set term png transparent medium xffffff x000000 ^ "gnuplot_instructions", line 1: warning: deprecated color option

set term png transparent medium xffffff x000000 ^ "gnuplot_instructions", line 1: warning: deprecated color option set term png transparent medium xffffff x000000 ^ "gnuplot_instructions", line 1: warning: deprecated color option

set term png transparent medium xffffff x000000 ^ "gnuplot_instructions", line 1: warning: deprecated color option$

gnuplot
  • 1 个回答
  • 417 Views
Martin Hope
jackaraz
Asked: 2014-05-05 09:48:09 +0800 CST

激活用户界面时 Skype 注销(PC 注销)

  • 3

我的 Skype(版本 4.2.0.11)有问题,当我打开它时,我立即从计算机注销。我试图删除(也通过使用删除它--purge)并从终端重新安装但是再次出现同样的问题。我也尝试从终端打开它,但都一样。

emacs 也出现了同样的问题。

skype
  • 1 个回答
  • 828 Views

Sidebar

Stats

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

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

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

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve