戻る

前へ

置き換え その9

立ち上がりの確認

さて上手く立ち上がっているでしょうか?

ping

$ ping -c3 192.168.24.9
PING 192.168.24.9 (192.168.24.9): 56 octets data
64 octets from 192.168.24.9: icmp_seq=0 ttl=64 time=0.5 ms
64 octets from 192.168.24.9: icmp_seq=1 ttl=64 time=0.2 ms
64 octets from 192.168.24.9: icmp_seq=2 ttl=64 time=0.2 ms

--- 192.168.24.9 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.2/0.3/0.5 ms

侵入を試みる。

どのような形であれ 動作はしているようです。侵入してみましょう

$ ssh -l fdopstm 192.168.24.9
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
9b:ce:d2:4f:3b:41:16:39:c6:e6:7f:b9:dc:ac:1a:a7.
Please contact your system administrator.
Add correct host key in /home/fdopstm/.ssh/known_hosts to get rid of this message.
Offending key in /home/fdopstm/.ssh/known_hosts:6
RSA host key for 192.168.24.9 has changed and you have requested strict checking.
Host key verification failed.

当り前だの  ♪ ♪ ですは

ssh 新規ユーザー

$ cd .ssh
$ mv known_hosts 20100522_known_hosts 
$ ssh -l fdopstm 192.168.24.9
The authenticity of host '192.168.24.9 (192.168.24.9)' can't be established.
RSA key fingerprint is 9b:ce:d2:4f:3b:41:16:39:c6:e6:7f:b9:dc:ac:1a:a7.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.24.9' (RSA) to the list of known hosts.
Password: 
fdopstm@sv9:~$ su -
Password: 
sv9:~# cd /var/log
sv9:/var/log# df
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/hda10            20641788   2588432  17004716  14% /
/dev/hda11            20641788   1457244  18135904   8% /var/data
......

ちゃんちゃん!

にゃんたろう 拝!

2010年 5月24日 (月) 21:09:29 JST 作成


前へ

戻る

Copyright © 2006.-2010. nyantarou All Rights Reserved.