タグ

ipv6とsshに関するnabinnoのブックマーク (2)

  • how to ssh to a ipv6 ubuntu in a LAN?

    I'm able to ping my Ubuntu box via command: (where c2h2ttt is listed in /etc/hosts) c2h2@c2h2crawler:~/ttt$ ping6 -I eth1 c2h2ttt PING c2h2ttt(c2h2ttt) from fe80::21b:21ff:fe22:e865 eth1: 56 data bytes 64 bytes from c2h2ttt: icmp_seq=1 ttl=64 time=10.3 ms 64 bytes from c2h2ttt: icmp_seq=2 ttl=64 time=2.06 ms 64 bytes from c2h2ttt: icmp_seq=3 ttl=64 time=1.33 ms And when I try ssh -6 c2h2ttt it sho

    how to ssh to a ipv6 ubuntu in a LAN?
  • sshdでIPv6も使いたいの - netcreates. blog

    secureログに下記のようなエラーが記録されることがあります。 Apr 28 10:32:41 server sshd[26055]: Server listening on :: port 22. Apr 28 10:32:41 server sshd[26055]: error: Bind to port 22 on 0.0.0.0 failed: Address already in use. これはIPv4アドレス(0.0.0.0)でポート22番を待ち受けようとしたところ、既にポート22番は使われているよという内容です。 この時、sshdはIPv6アドレス(::)で既に待ち受けを開始しているのでエラーが出るのは当然です。 この問題の解決策としてよく挙げられているのは「sshd_configにIPv4アドレスでの待ち受けを明示的に書けばよい」というものです。 【変更前】sshd_c

    sshdでIPv6も使いたいの - netcreates. blog
  • 1