
そこで、NetworkManager を wlan1 の AP に接続します。wlan0 を AdHoc ネットワークに接続します。Firestarter を Adhoc で inet を共有します。
私の iPod は wlan0、IP 10.42.43.101 に接続されています。
wlan0 Link encap:Ethernet HWaddr ac:xx:12:81:7f:xx
inet addr:10.42.43.1 Bcast:10.255.255.255 Mask:255.0.0.0
wlan1 Link encap:Ethernet HWaddr 00:xx:b3:98:f2:xx
inet addr:10.0.1.61 Bcast:10.0.1.255 Mask:255.255.255.0
これで、ジェイルブレイクされ、SSH が有効になっていて実行中の iPod touch に ping を送信できるようになりました。
matt: ~ $ ping 10.42.43.101
PING 10.42.43.101 (10.42.43.101) 56(84) bytes of data.
64 bytes from 10.42.43.101: icmp_req=1 ttl=64 time=168 ms
64 bytes from 10.42.43.101: icmp_req=2 ttl=64 time=256 ms
64 bytes from 10.42.43.101: icmp_req=3 ttl=64 time=151 ms
^C
--- 10.42.43.101 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1999ms
rtt min/avg/max/mdev = 151.465/191.979/256.316/46.003
しかし、SSH はできません:
$ ssh [email protected] -vv
OpenSSH_5.8p1 Debian-1ubuntu3, OpenSSL 0.9.8o 01 Jun 2010
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to 10.42.43.101 [10.42.43.101] port 22.
^C するまでそこに残ります。
私のルーティングは次のとおりです:
$ ip route show
10.0.1.0/24 dev wlan1 proto kernel scope link src 10.0.1.61 metric 2
10.0.1.0/24 dev wlan1 proto kernel scope link src 10.0.1.61 metric 319
169.254.0.0/16 dev vboxnet0 proto kernel scope link src 169.254.128.223 metric 204
10.0.0.0/8 dev wlan0 proto kernel scope link src 10.42.43.1
default via 10.0.1.1 dev wlan1 proto static
default via 10.0.1.1 dev wlan1 metric 319
答え1
おそらくこれを実行したと思いますが、接続しようとしているマシンで netstat -a を実行すると次のような結果が表示されますか。
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 *:ssh *:* LISTEN
tcp 0 0 192.168.1.30:ssh 192.168.1.72:46480 ESTABLISHED
tcp6 0 0 [::]:ssh [::]:* LISTEN
そのマシンへの SSH 接続を確立するには、少なくとも 1 行に *:ssh のようなものが表示される必要があります。
そうでない場合は、sshd を起動する必要があります...
答え2
これに対する回答はコメントにあります:
Linux 側ではすべて正常に見えます。どうやら ssh サーバーは実際には iPod 上で実行されていないようです。