[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debian-users:22865] ssh on potato



福田と申します。

Debian/i386 potato で
ssh 1.2.3-4 Secure rlogin/rsh/rcp replacement (OpenSSH)
を使ってます。

クライアントとして他ホストへsshで繋ごうとするとプロンプトが点滅するだ
けで反応が無い。

色々調べるとhttp://www.openssh.com/faq.htmlに

ssh takes a long time to connect with Linux/glibc 2.1

The glibc shipped with Redhat 6.1 appears to take a long time to
resolve "IPv6 or IPv4" addresses from domain names. This can be
kludged around with the --with-ipv4-default configure option. This
instructs OpenSSH to use IPv4-only address resolution. (IPv6 lookups
may still be made by specifying the -6 option).

とあったのでhostnameの代わりにIP addressを直に与えるとあっさり繋がりま
した。

sshのoptionで
 -4      Forces ssh to use IPv4 addresses only.
を指定すればいいんでしょうが、これってそういうもんなんでしょうか。

--
Yasuo Fukuda  DDS, PhD
Clinical Laboratory Osaka University Dental Hospital