0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

ssh した時に Interrupted system call と出てしまった際の対処法

Posted at

vnc 関連の設定を色々とした後に 手元のMacBook から 研究データの解析用計算機であるCentOS7にssh すると ssh: connect to host xxxx port 22: Interrupted system call と出てしまって接続できなくなってしまった。 firewalld が起動していなかったことが原因だった。
以下の手順で確認する。

Firewalld の状況確認

# firewalld-cmd --list-all
FirewallD is not running 

動いていなかったので、以下を実行

# systemctl enable firewalld
# systemctl start firewalld

無事にactive になったことを確認

# firewall-cmd --list-all
public (active)
  target: default
  icmp-block-inversion: no
  interfaces: eno1
  sources: 
  services: dhcpv6-client ssh vnc-server
  ports: 8081/tcp 8443/tcp 49161/tcp 49162/tcp 1900/udp 3389/tcp 5903/tcp 5901/tcp 5910/tcp
  protocols: 
  masquerade: no
  forward-ports: 
  source-ports: 
  icmp-blocks: 
  rich rules: 

これで ssh が繋がるようになった。めでたしめでたし。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?