/l3/users/eb/2009/linux0/root :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 :11 :12 :13 :14 :15 :16 :17 :18 :19 :20 :21 :22 :23 :24 :25 :26 :27 :28 :29 :30 :31 :32 :33 :34 :35 :36 :37 :38 :39 :40 :41 :42 :43 |
|
#w
10:04:00 up 16:24, 18 users, load average: 1,17, 0,27, 0,09 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT root pts/0 linux1.unix.nt 09:46 30.00s 0.00s 0.00s -bash root pts/1 linux3.unix.nt 09:47 29.00s 0.00s 0.00s -bash root pts/2 linux9.unix.nt 09:48 1:19 0.00s 0.00s -bash quiz pts/3 linux3.unix.nt Tue17 15:37m 0.00s 0.00s /usr/bin/perl / root pts/4 linux10.unix.nt 09:48 1.00s 0.00s 0.00s -bash root pts/5 linux5.unix.nt 09:48 24.00s 0.00s 0.00s -bash root pts/6 linux11.unix.nt 09:49 23.00s 0.00s 0.00s -bash root pts/7 linux15.unix.nt 09:52 31.00s 0.00s 0.00s -bash root pts/8 linux4.unix.nt 09:56 32.00s 0.00s 0.00s -bash root pts/9 linux6.unix.nt 09:57 30.00s 0.00s 0.00s -bash root pts/10 192.168.15.253 10:03 1.00s 0.08s 0.00s script -f -c ba root pts/11 linux13.unix.nt 10:00 32.00s 0.00s 0.00s -bash root pts/12 linux14.unix.nt 10:03 33.00s 0.00s 0.00s -bash root pts/14 linux2.unix.nt 10:03 26.00s 0.09s 0.02s script -f -c ba root pts/16 linux8.unix.nt 10:03 0.00s 0.00s 0.00s script -f -c ba root pts/18 linux16.unix.nt 10:03 19.00s 0.05s 0.01s script -f -c ba root pts/20 linux12.unix.nt 10:03 0.00s 0.00s 0.00s script -f -c ba root pts/21 :pts/13:S.0 10:03 1.00s 0.00s 0.00s script -f -c /b |
#screen -x
|
#ssh root@192.168.15.1
root@192.168.15.1's password: Linux linux1 2.6.29-2-686 #1 SMP Sun May 17 17:56:29 UTC 2009 i686 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Tue Jun 2 17:41:34 2009 |
#ls -l /etc/ssh/
итого 152 -rw-r--r-- 1 root root 125749 Май 4 23:39 moduli -rw-r--r-- 1 root root 1595 Май 4 23:39 ssh_config -rw-r--r-- 1 root root 1874 Май 25 08:44 sshd_config -rw------- 1 root root 668 Май 25 08:44 ssh_host_dsa_key -rw-r--r-- 1 root root 599 Май 25 08:44 ssh_host_dsa_key.pub -rw------- 1 root root 1675 Май 25 08:44 ssh_host_rsa_key -rw-r--r-- 1 root root 391 Май 25 08:44 ssh_host_rsa_key.pub |
#ssh-keygen -l -f /etc/ssh/ssh_host_dsa_key
1024 d9:dc:dc:7b:1c:bf:93:1f:72:0b:ff:a1:ee:9f:72:9f /etc/ssh/ssh_host_dsa_key.pub (DSA) |
#ssh-key
ssh-keygen ssh-keyscan |
#ssh-key
ssh-keygen ssh-keyscan |
#ls /etc/ssh/
moduli sshd_config ssh_host_dsa_key.pub ssh_host_rsa_key.pub ssh_config ssh_host_dsa_key ssh_host_rsa_key |
#ls -l /etc/ssh/
итого 152 -rw-r--r-- 1 root root 125749 Май 4 23:39 moduli -rw-r--r-- 1 root root 1617 Июн 3 10:16 ssh_config -rw-r--r-- 1 root root 1874 Май 24 13:23 sshd_config -rw------- 1 root root 668 Май 24 13:23 ssh_host_dsa_key -rw-r--r-- 1 root root 599 Май 24 13:23 ssh_host_dsa_key.pub -rw------- 1 root root 1675 Май 24 13:23 ssh_host_rsa_key -rw-r--r-- 1 root root 391 Май 24 13:23 ssh_host_rsa_key.pub |
#mkdir /etc/ssh/old_keys/
|
#mv /etc/ssh/ssh_host_* /etc/ssh/old_keys/
|
#nohup: ввод игнорируется, вывод добавляется в `nohup.out'
[1]+ Done nohup /etc/init.d/ssh restart |
#tail nohup.out
Could not load host key: /etc/ssh/ssh_host_rsa_key Could not load host key: /etc/ssh/ssh_host_dsa_key Restarting OpenBSD Secure Shell server: sshdCould not load host key: /etc/ssh/ssh_host_rsa_key Could not load host key: /etc/ssh/ssh_host_dsa_key . |
#/etc/init.d/ssh
Usage: /etc/init.d/ssh {start|stop|reload|force-reload|restart|try-restart|status}. |
#nohup sh -c '/etc/init.d/ssh stop; /etc/init.d/ssh start' &
[1] 6830 nohup: ввод игнорируется, вывод добавляется в `nohup.out' |
#ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key
Generating public/private dsa key pair. Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /etc/ssh/ssh_host_dsa_key. Your public key has been saved in /etc/ssh/ssh_host_dsa_key.pub. The key fingerprint is: 0b:3a:9c:19:09:75:c7:ec:19:35:8a:56:bc:0d:98:15 root@linux1 The key's randomart image is: +--[ DSA 1024]----+ | . .BEoo | | . .o+*. . | | . o..* | | . o + . | | o . S | | . = . . | | * . | | . | | | +-----------------+ |
#ssh-keygen -t rsa2 -f /etc/ssh/ssh_host_rsa_key
unknown key type rsa2 |
#ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key
Generating public/private rsa key pair. Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /etc/ssh/ssh_host_rsa_key. Your public key has been saved in /etc/ssh/ssh_host_rsa_key.pub. The key fingerprint is: 54:b6:4e:a0:18:a4:c1:b1:8f:f5:64:59:31:ba:63:f5 root@linux1 The key's randomart image is: +--[ RSA 2048]----+ | .ooo =.o | | .+ o = = . | | o o * o o | | + + + + | | . . = S E | | . . | | | | | | | +-----------------+ |
#> nohup.out
|
#nohup /etc/init.d/ssh restart &
[1] 6956 nohup: ввод игнорируется, вывод добавляется в `nohup.out' |
#exit
exit Connection to 192.168.15.1 closed. |
#ssh 192.168.15.1
root@192.168.15.1's password: Linux linux1 2.6.29-2-686 #1 SMP Sun May 17 17:56:29 UTC 2009 i686 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Wed Jun 3 10:08:10 2009 from linux4.unix.nt l3-agent is already running: pid=4276; pidfile=/root/.lilalo/l3-agent.pid |
#cat ~/.ssh/known_hosts
|1|dL6NmNUYsejjwWaTyN3n+uM7jbA=|ADEjRMu0WQTmFZ4isvZ/8d/k7po= ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA6XXgrwWrb1ZSYdGOCZziwKRREKfhW++NiammHOqMhMUDs67dwxdjYJjp9/bjChmCW7wA3djmPkFjUHeC/xbvaNTFO+NCS0iwbewz+Srl8E283aQUkTRuXdREQMkL7N3endUqOB7bROJ3oxMY7nURectgkHynnZ2hA1WANrPs8XpwV2bYuwpB9hrvJMw6+sxNojvp28lcDLnEXXh9pOuKkdkVtoUPGhRNr/IliRA2LRZg3QuUSkiEVL0R78k6siMV93W1J9ZhslSpW8XijCjkK4ZVyk1IXBVKAgltZRjVfJpizNF |
#ssh 192.168.15.3
The authenticity of host '192.168.15.3 (192.168.15.3)' can't be established. RSA key fingerprint is 34:6c:c2:da:38:7c:d7:17:e9:cd:17:8d:e7:cf:f1:a6. +--[ RSA 2048]----+ | | | . . . ..| | o = o ..o| | . + + o . + o.| | = o S . o o.o| | o . . o+| | =| | o | | E | +-----------------+ Are you sure you want to continue connecting (yes/no)? no Host key verification failed. |
#ssh 10.0.35.1
The authenticity of host '10.0.35.1 (10.0.35.1)' can't be established. RSA key fingerprint is eb:35:1f:f8:e4:a8:8a:9e:70:65:42:a8:93:78:98:9d. +--[ RSA 2048]----+ | | | . | | . . | |.* o | |B E . o S | | o + . . | | . . . + o | | o o . . B . | | .+ ..o.. + | +-----------------+ Are you sure you want to continue connecting (yes/no)? no Host key verification failed. |
#ssh 192.168.15.253
The authenticity of host '192.168.15.253 (192.168.15.253)' can't be established. RSA key fingerprint is 23:4b:a2:99:88:79:fc:35:b7:62:e8:6b:0d:d0:e1:4b. +--[ RSA 2048]----+ | | | . | | o . | | . E | | o..o S | |.+ +oo o . | |+ * ++ . | | . .o.+o . | | o+o .. | +-----------------+ Are you sure you want to continue connecting (yes/no)? no Host key verification failed. |
#ls -l /etc/ssh/ssh_config
-rw-r--r-- 1 root root 1595 Май 4 23:39 /etc/ssh/ssh_config |
#ls -l ~/.ssh/config
-rw-r--r-- 1 root root 26 Июн 3 10:25 /root/.ssh/config |
#cat ~/.ssh/config
Host * VisualHostKey yes |
#ssh-keygen -R 10.0.35.
/root/.ssh/known_hosts updated. Original contents retained as /root/.ssh/known_hosts.old |
#ssh-keygen -R 192.168.15.253
/root/.ssh/known_hosts updated. Original contents retained as /root/.ssh/known_hosts.old |
#ssh 192.168.15.253
Host key fingerprint is 23:4b:a2:99:88:79:fc:35:b7:62:e8:6b:0d:d0:e1:4b +--[ RSA 2048]----+ | | | . | | o . | | . E | | o..o S | |.+ +oo o . | |+ * ++ . | | . .o.+o . | | o+o .. | +-----------------+ root@192.168.15.253's password: |
#ssh-keygen -R 192.168.15.253
/root/.ssh/known_hosts updated. Original contents retained as /root/.ssh/known_hosts.old |
#ssh-keygen -R 10.0.35.100
/root/.ssh/known_hosts updated. Original contents retained as /root/.ssh/known_hosts.old |
#ssh 192.168.15.1
Host key fingerprint is 34:6c:c2:da:38:7c:d7:17:e9:cd:17:8d:e7:cf:f1:a6 +--[ RSA 2048]----+ | | | . . . ..| | o = o ..o| | . + + o . + o.| | = o S . o o.o| | o . . o+| | =| | o | | E | +-----------------+ root@192.168.15.1's password: Linux linux1 2.6.29-2-686 #1 SMP Sun May 17 17:56:29 UTC 2009 i686 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Wed Jun 3 10:17:23 2009 from linux3.unix.nt l3-agent is already running: pid=4276; pidfile=/root/.lilalo/l3-agent.pid |
#ssh-keygen -R 10.0.35.100
/root/.ssh/known_hosts updated. Original contents retained as /root/.ssh/known_hosts.old |
#ssh 10.0.35.100
The authenticity of host '10.0.35.100 (10.0.35.100)' can't be established. RSA key fingerprint is 69:b5:3e:1a:9a:b7:c3:c3:96:03:c7:b7:b4:69:1d:3b. +--[ RSA 2048]----+ | | | | | . | | o . | | .S . | | ..o.o . | | =.+o= o | ... Warning: Permanently added '10.0.35.100' (RSA) to the list of known hosts. root@10.0.35.100's password: Linux linux0 2.6.18-6-xen-686 #1 SMP Sun Feb 10 22:43:13 UTC 2008 i686 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Wed Jun 3 10:29:20 2009 from linux1.unix.nt l3-agent is already running: pid=1854; pidfile=/root/.lilalo/l3-agent.pid |
#exit
exit Connection to 10.0.35.100 closed. |
#ssh 192.168.15.1
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ 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 54:b6:4e:a0:18:a4:c1:b1:8f:f5:64:59:31:ba:63:f5. Please contact your system administrator. Add correct host key in /root/.ssh/known_hosts to get rid of this message. Offending key in /root/.ssh/known_hosts:1 RSA host key for 192.168.15.1 has changed and you have requested strict checking. Host key verification failed. |
#ssh-keygen -R 192.168.15.1
/root/.ssh/known_hosts updated. Original contents retained as /root/.ssh/known_hosts.old |
#ssh-keyscan 192.168.15.1
# 192.168.15.1 SSH-2.0-OpenSSH_5.1p1 Debian-5+b1 192.168.15.1 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA2gAvj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RiVZh+RKA2UyQR8yU/+MJWRexf7uI+iZPLtrU9cPCXDpHFvPomuMadyNJ8ZZtWIaujPPRl3KHPenvaRIALatGXnemBA39IBin9nUHud2xQuP1UjdOiXgdasfKys1tepE97x3Jw== # 192.168.15.2 SSH-2.0-OpenSSH_5.1p1 Debian-5+b1 192.168.15.2 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA6XXgrwWrb1ZSYdGOCZziwKRREKfhW++NiammHOqMhMUDs67dwxdjYJjp9/bjChmCW7wA3djmPkFjUHeC/xbvaNTFO+NCS0iwbewz+Srl8E283aQUkTRuXdREQMkL7N3endUqOB7bROJ3oxMY7nURectgkHynnZ2hA1WANrPs8XpwV2bYuwpB9hrvJMw6+sxNojvp28lcDLnEXXh9pOuKkdkVtoUPGhRNr/IliRA2LRZg3QuUSkiEVL0R78k6siMV93W1J9ZhslSpW8XijCjkK4ZVyk1IXBVKAgltZRjVfJpizNFGrAyTKQU6ervb5tmrCkscwq0m6WHuekT7jViqYw== # 192.168.15.4 SSH-2.0-OpenSSH_5.1p1 Debian-5+b1 192.168.15.4 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA6XXgrwWrb1ZSYdGOCZziwKRREKfhW++NiammHOqMhMUDs67dwxdjYJjp9/bjChmCW7wA3djmPkFjUHeC/xbvaNTFO+NCS0iwbewz+Srl8E283aQUkTRuXdREQMkL7N3endUqOB7bROJ3oxMY7nURectgkHynnZ2hA1WANrPs8XpwV2bYuwpB9hrvJMw6+sxNojvp28lcDLnEXXh9pOuKkdkVtoUPGhRNr/IliRA2LRZg3QuUSkiEVL0R78k6siMV93W1J9ZhslSpW8XijCjkK4ZVyk1IXBVKAgltZRjVfJpizNFGrAyTKQU6ervb5tmrCkscwq0m6WHuekT7jViqYw== # 192.168.15.6 SSH-2.0-OpenSSH_5.1p1 Debian-5+b1 192.168.15.6 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA6XXgrwWrb1ZSYdGOCZziwKRREKfhW++NiammHOqMhMUDs67dwxdjYJjp9/bjChmCW7wA3djmPkFjUHeC/xbvaNTFO+NCS0iwbewz+Srl8E283aQUkTRuXdREQMkL7N3endUqOB7bROJ3oxMY7nURectgkHynnZ2hA1WANrPs8XpwV2bYuwpB9hrvJMw6+sxNojvp28lcDLnEXXh9pOuKkdkVtoUPGhRNr/IliRA2LRZg3QuUSkiEVL0R78k6siMV93W1J9ZhslSpW8XijCjkK4ZVyk1IXBVKAgltZRjVfJpizNFGrAyTKQU6ervb5tmrCkscwq0m6WHuekT7jViqYw== ... # 192.168.15.16 SSH-2.0-OpenSSH_5.1p1 Debian-5+b1 192.168.15.16 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA6XXgrwWrb1ZSYdGOCZziwKRREKfhW++NiammHOqMhMUDs67dwxdjYJjp9/bjChmCW7wA3djmPkFjUHeC/xbvaNTFO+NCS0iwbewz+Srl8E283aQUkTRuXdREQMkL7N3endUqOB7bROJ3oxMY7nURectgkHynnZ2hA1WANrPs8XpwV2bYuwpB9hrvJMw6+sxNojvp28lcDLnEXXh9pOuKkdkVtoUPGhRNr/IliRA2LRZg3QuUSkiEVL0R78k6siMV93W1J9ZhslSpW8XijCjkK4ZVyk1IXBVKAgltZRjVfJpizNFGrAyTKQU6ervb5tmrCkscwq0m6WHuekT7jViqYw== # 192.168.15.3 SSH-2.0-OpenSSH_5.1p1 Debian-5+b1 Read from socket failed: Connection reset by peer # 192.168.15.5 SSH-2.0-OpenSSH_5.1p1 Debian-5+b1 192.168.15.5 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA6XXgrwWrb1ZSYdGOCZziwKRREKfhW++NiammHOqMhMUDs67dwxdjYJjp9/bjChmCW7wA3djmPkFjUHeC/xbvaNTFO+NCS0iwbewz+Srl8E283aQUkTRuXdREQMkL7N3endUqOB7bROJ3oxMY7nURectgkHynnZ2hA1WANrPs8XpwV2bYuwpB9hrvJMw6+sxNojvp28lcDLnEXXh9pOuKkdkVtoUPGhRNr/IliRA2LRZg3QuUSkiEVL0R78k6siMV93W1J9ZhslSpW8XijCjkK4ZVyk1IXBVKAgltZRjVfJpizNFGrAyTKQU6ervb5tmrCkscwq0m6WHuekT7jViqYw== # 192.168.15.8 SSH-2.0-OpenSSH_5.1p1 Debian-5+b1 192.168.15.8 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA6XXgrwWrb1ZSYdGOCZziwKRREKfhW++NiammHOqMhMUDs67dwxdjYJjp9/bjChmCW7wA3djmPkFjUHeC/xbvaNTFO+NCS0iwbewz+Srl8E283aQUkTRuXdREQMkL7N3endUqOB7bROJ3oxMY7nURectgkHynnZ2hA1WANrPs8XpwV2bYuwpB9hrvJMw6+sxNojvp28lcDLnEXXh9pOuKkdkVtoUPGhRNr/IliRA2LRZg3QuUSkiEVL0R78k6siMV93W1J9ZhslSpW8XijCjkK4ZVyk1IXBVKAgltZRjVfJpizNFGrAyTKQU6ervb5tmrCkscwq0m6WHuekT7jViqYw== # 192.168.15.10 SSH-2.0-OpenSSH_5.1p1 Debian-5+b1 192.168.15.10 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA6XXgrwWrb1ZSYdGOCZziwKRREKfhW++NiammHOqMhMUDs67dwxdjYJjp9/bjChmCW7wA3djmPkFjUHeC/xbvaNTFO+NCS0iwbewz+Srl8E283aQUkTRuXdREQMkL7N3endUqOB7bROJ3oxMY7nURectgkHynnZ2hA1WANrPs8XpwV2bYuwpB9hrvJMw6+sxNojvp28lcDLnEXXh9pOuKkdkVtoUPGhRNr/IliRA2LRZg3QuUSkiEVL0R78k6siMV93W1J9ZhslSpW8XijCjkK4ZVyk1IXBVKAgltZRjVfJpizNFGrAyTKQU6ervb5tmrCkscwq0m6WHuekT7jViqYw== |
#ssh-keyscan 192.168.15.{1..16} | grep -v ^#
# 192.168.15.15 SSH-2.0-OpenSSH_5.1p1 Debian-5+b1 # 192.168.15.1 SSH-2.0-OpenSSH_5.1p1 Debian-5+b1 # 192.168.15.2 SSH-2.0-OpenSSH_5.1p1 Debian-5+b1 # 192.168.15.3 SSH-2.0-OpenSSH_5.1p1 Debian-5+b1 # 192.168.15.4 SSH-2.0-OpenSSH_5.1p1 Debian-5+b1 # 192.168.15.5 SSH-2.0-OpenSSH_5.1p1 Debian-5+b1 # 192.168.15.6 SSH-2.0-OpenSSH_5.1p1 Debian-5+b1 # 192.168.15.7 SSH-2.0-OpenSSH_5.1p1 Debian-5+b1 # 192.168.15.8 SSH-2.0-OpenSSH_5.1p1 Debian-5+b1 # 192.168.15.9 SSH-2.0-OpenSSH_5.1p1 Debian-5+b1 ... 192.168.15.6 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA6XXgrwWrb1ZSYdGOCZziwKRREKfhW++NiammHOqMhMUDs67dwxdjYJjp9/bjChmCW7wA3djmPkFjUHeC/xbvaNTFO+NCS0iwbewz+Srl8E283aQUkTRuXdREQMkL7N3endUqOB7bROJ3oxMY7nURectgkHynnZ2hA1WANrPs8XpwV2bYuwpB9hrvJMw6+sxNojvp28lcDLnEXXh9pOuKkdkVtoUPGhRNr/IliRA2LRZg3QuUSkiEVL0R78k6siMV93W1J9ZhslSpW8XijCjkK4ZVyk1IXBVKAgltZRjVfJpizNFGrAyTKQU6ervb5tmrCkscwq0m6WHuekT7jViqYw== 192.168.15.7 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA6XXgrwWrb1ZSYdGOCZziwKRREKfhW++NiammHOqMhMUDs67dwxdjYJjp9/bjChmCW7wA3djmPkFjUHeC/xbvaNTFO+NCS0iwbewz+Srl8E283aQUkTRuXdREQMkL7N3endUqOB7bROJ3oxMY7nURectgkHynnZ2hA1WANrPs8XpwV2bYuwpB9hrvJMw6+sxNojvp28lcDLnEXXh9pOuKkdkVtoUPGhRNr/IliRA2LRZg3QuUSkiEVL0R78k6siMV93W1J9ZhslSpW8XijCjkK4ZVyk1IXBVKAgltZRjVfJpizNFGrAyTKQU6ervb5tmrCkscwq0m6WHuekT7jViqYw== 192.168.15.8 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA6XXgrwWrb1ZSYdGOCZziwKRREKfhW++NiammHOqMhMUDs67dwxdjYJjp9/bjChmCW7wA3djmPkFjUHeC/xbvaNTFO+NCS0iwbewz+Srl8E283aQUkTRuXdREQMkL7N3endUqOB7bROJ3oxMY7nURectgkHynnZ2hA1WANrPs8XpwV2bYuwpB9hrvJMw6+sxNojvp28lcDLnEXXh9pOuKkdkVtoUPGhRNr/IliRA2LRZg3QuUSkiEVL0R78k6siMV93W1J9ZhslSpW8XijCjkK4ZVyk1IXBVKAgltZRjVfJpizNFGrAyTKQU6ervb5tmrCkscwq0m6WHuekT7jViqYw== 192.168.15.9 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA6XXgrwWrb1ZSYdGOCZziwKRREKfhW++NiammHOqMhMUDs67dwxdjYJjp9/bjChmCW7wA3djmPkFjUHeC/xbvaNTFO+NCS0iwbewz+Srl8E283aQUkTRuXdREQMkL7N3endUqOB7bROJ3oxMY7nURectgkHynnZ2hA1WANrPs8XpwV2bYuwpB9hrvJMw6+sxNojvp28lcDLnEXXh9pOuKkdkVtoUPGhRNr/IliRA2LRZg3QuUSkiEVL0R78k6siMV93W1J9ZhslSpW8XijCjkK4ZVyk1IXBVKAgltZRjVfJpizNFGrAyTKQU6ervb5tmrCkscwq0m6WHuekT7jViqYw== 192.168.15.10 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA6XXgrwWrb1ZSYdGOCZziwKRREKfhW++NiammHOqMhMUDs67dwxdjYJjp9/bjChmCW7wA3djmPkFjUHeC/xbvaNTFO+NCS0iwbewz+Srl8E283aQUkTRuXdREQMkL7N3endUqOB7bROJ3oxMY7nURectgkHynnZ2hA1WANrPs8XpwV2bYuwpB9hrvJMw6+sxNojvp28lcDLnEXXh9pOuKkdkVtoUPGhRNr/IliRA2LRZg3QuUSkiEVL0R78k6siMV93W1J9ZhslSpW8XijCjkK4ZVyk1IXBVKAgltZRjVfJpizNFGrAyTKQU6ervb5tmrCkscwq0m6WHuekT7jViqYw== 192.168.15.11 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA6XXgrwWrb1ZSYdGOCZziwKRREKfhW++NiammHOqMhMUDs67dwxdjYJjp9/bjChmCW7wA3djmPkFjUHeC/xbvaNTFO+NCS0iwbewz+Srl8E283aQUkTRuXdREQMkL7N3endUqOB7bROJ3oxMY7nURectgkHynnZ2hA1WANrPs8XpwV2bYuwpB9hrvJMw6+sxNojvp28lcDLnEXXh9pOuKkdkVtoUPGhRNr/IliRA2LRZg3QuUSkiEVL0R78k6siMV93W1J9ZhslSpW8XijCjkK4ZVyk1IXBVKAgltZRjVfJpizNFGrAyTKQU6ervb5tmrCkscwq0m6WHuekT7jViqYw== 192.168.15.12 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA6XXgrwWrb1ZSYdGOCZziwKRREKfhW++NiammHOqMhMUDs67dwxdjYJjp9/bjChmCW7wA3djmPkFjUHeC/xbvaNTFO+NCS0iwbewz+Srl8E283aQUkTRuXdREQMkL7N3endUqOB7bROJ3oxMY7nURectgkHynnZ2hA1WANrPs8XpwV2bYuwpB9hrvJMw6+sxNojvp28lcDLnEXXh9pOuKkdkVtoUPGhRNr/IliRA2LRZg3QuUSkiEVL0R78k6siMV93W1J9ZhslSpW8XijCjkK4ZVyk1IXBVKAgltZRjVfJpizNFGrAyTKQU6ervb5tmrCkscwq0m6WHuekT7jViqYw== 192.168.15.13 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA6XXgrwWrb1ZSYdGOCZziwKRREKfhW++NiammHOqMhMUDs67dwxdjYJjp9/bjChmCW7wA3djmPkFjUHeC/xbvaNTFO+NCS0iwbewz+Srl8E283aQUkTRuXdREQMkL7N3endUqOB7bROJ3oxMY7nURectgkHynnZ2hA1WANrPs8XpwV2bYuwpB9hrvJMw6+sxNojvp28lcDLnEXXh9pOuKkdkVtoUPGhRNr/IliRA2LRZg3QuUSkiEVL0R78k6siMV93W1J9ZhslSpW8XijCjkK4ZVyk1IXBVKAgltZRjVfJpizNFGrAyTKQU6ervb5tmrCkscwq0m6WHuekT7jViqYw== 192.168.15.14 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA6XXgrwWrb1ZSYdGOCZziwKRREKfhW++NiammHOqMhMUDs67dwxdjYJjp9/bjChmCW7wA3djmPkFjUHeC/xbvaNTFO+NCS0iwbewz+Srl8E283aQUkTRuXdREQMkL7N3endUqOB7bROJ3oxMY7nURectgkHynnZ2hA1WANrPs8XpwV2bYuwpB9hrvJMw6+sxNojvp28lcDLnEXXh9pOuKkdkVtoUPGhRNr/IliRA2LRZg3QuUSkiEVL0R78k6siMV93W1J9ZhslSpW8XijCjkK4ZVyk1IXBVKAgltZRjVfJpizNFGrAyTKQU6ervb5tmrCkscwq0m6WHuekT7jViqYw== 192.168.15.16 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA6XXgrwWrb1ZSYdGOCZziwKRREKfhW++NiammHOqMhMUDs67dwxdjYJjp9/bjChmCW7wA3djmPkFjUHeC/xbvaNTFO+NCS0iwbewz+Srl8E283aQUkTRuXdREQMkL7N3endUqOB7bROJ3oxMY7nURectgkHynnZ2hA1WANrPs8XpwV2bYuwpB9hrvJMw6+sxNojvp28lcDLnEXXh9pOuKkdkVtoUPGhRNr/IliRA2LRZg3QuUSkiEVL0R78k6siMV93W1J9ZhslSpW8XijCjkK4ZVyk1IXBVKAgltZRjVfJpizNFGrAyTKQU6ervb5tmrCkscwq0m6WHuekT7jViqYw== |
#exit
exit Connection to 192.168.15.1 closed. |
#exit
exit Connection to 192.168.15.1 closed. |
#vi ~/.ssh/known_hosts
--- /tmp/l3-saved-10965.1445.24988 2009-06-03 10:47:04.000000000 +0300 +++ /root/.ssh/known_hosts 2009-06-03 10:47:16.000000000 +0300 @@ -1,3 +1,4 @@ |1|JJmF4cFLvq6BkOxxOp24oWaRa8k=|M/QxVyywYYTq43YH9d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NkzGPbyVI+ezE9yDiswuqScuQqNzCXfPPZLFm5dtjkdlNPzFY87LEu4kZ57WpDDkP9Qtg8ewMRiVZh+RKA2UyQR8yU/+MJWRexf7uI+iZPLtrU9cPCXDpHFvPomuMadyNJ8ZZtWIaujPPRl3KHPenvaRIALatGXnemBA39IBin9nUHud2xQuP1UjdOiXgdasfKys1tepE97x3Jw== +|1|c19kSZa1fKbhOm1awwhPHc57ARQ=|+e+SqegOSpeNLE0xms5F5W6561k= ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA2gAvjn0oWtcrbu1QzGfqvMXCxewmO31+5l5XtpB3aE5IbryA7hB9LryLpKRZ21/N/tOqB9WOyqWN2pOTuk1uAjiwPhaQUeEAzTV7cc6YVzUEWUPd+eCRXxbkmH3IqfEJJ0RSlFhNkzGPbyVI+ezE9yDiswuqScuQqNzCXfPPZLFm5dtjkdlNPzFY87LEu4kZ57WpDDkP9Qtg8ewMRiVZh+RKA2UyQR8yU/+MJWRexf7uI+iZPLtrU9cPCXDpHFvPomuMadyNJ8ZZtWIaujPPRl3KHPenvaRIALatGXnemBA39IBin9nUHud2xQuP1UjdOiXgdasfKys1tepE97x3Jw== |
#vi ~/.ssh/known_hosts
--- /tmp/l3-saved-10965.10642.12147 2009-06-03 10:47:24.000000000 +0300 +++ /root/.ssh/known_hosts 2009-06-03 10:47:40.000000000 +0300 @@ -1,4 +1,2 @@ -|1|JJmF4cFLvq6BkOxxOp24oWaRa8k=|M/QxVyywYYTq43YH9dl+I3Oxj6s= ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA2MKci5Bhj9AzgVtUDRapesSxLzafVqE/0Zb9Yd3hVnYSA8SAZ5V635nHjOZyGr/3twLQDX0Dr3BAemmBMmrbQi/MbRxSCUXumdeMQ9yIbfT3YxMJskqdpQEkLiCrqm2/0wEMUh0qqTzbAGdqBM+z3nWPeZE5EGdIVuVf++iV4GwvhWVlx5NDONG6tGfmpF9P4KV99/J1jhjf5s+ssMYJA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ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA2gAvjn0oWtcrbu1QzGfqvMXCxewmO31+5l5XtpB3aE5IbryA7hB9LryLpKRZ21/N/tOqB9WOyqWN2pOTuk1uAjiwPhaQUeEAzTV7cc6YVzUEWUPd+eCRXxbkmH3IqfEJJ0RSlFhNkzGPbyVI+ezE9yDiswuqScuQqNzCXfPPZLFm5dtjkdlNPzFY87LEu4kZ57WpDDkP9Qtg8ewMRiVZh+RKA2UyQR8yU/+MJWRexf7uI+iZPLtrU9cPCXDpHFvPomuMadyNJ8ZZtWIaujPPRl3KHPenvaRIALatGXnemBA39IBin9nUHud2xQuP1UjdOiXgdasfKys1tepE97x3Jw== +|1|c19kSZa1fKbhOm1awwhPHc57ARQ=|+e+SqegOSpeNLE0xms5F5W6561k= ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA2gAvjn0otWcrbu1QzGfqvMXCxewmO31+5l5XtpB3aE5IbryA7hB9LryLpKRZ21/N/tOqB9WOyqWN2pOTuk1uAjiwPhaQUeEAzTV7cc6YVzUEWUPd+eCRXxbkmH3IqfEJJ0RSlFhNkzGPbyVI+ezE9yDiswuqScuQqNzCXfPPZLFm5dtjkdlNPzFY87LEu4kZ57WpDDkP9Qtg8ewMRiVZh+RKA2UyQR8yU/+MJWRexf7uI+iZPLtrU9cPCXDpHFvPomuMadyNJ8ZZtWIaujPPRl3KHPenvaRIALatGXnemBA39IBin9nUHud2xQuP1UjdOiXgdasfKys1tepE97x3Jw== |
#vi ~/.ssh/known_hosts
--- /tmp/l3-saved-10965.11900.9381 2009-06-03 10:47:44.000000000 +0300 +++ /root/.ssh/known_hosts 2009-06-03 10:47:55.000000000 +0300 @@ -1,2 +1 @@ -|1|c19kSZa1fKbhOm1awwhPHc57ARQ=|+e+SqegOSpeNLE0xms5F5W6561k= ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA2gAvjn0oWtcrbu1QzGfqvMXCxewmO31+5l5XtpB3aE5IbryA7hB9LryLpKRZ21/N/tOqB9WOyqWN2pOTuk1uAjiwPhaQUeEAzTV7cc6YVzUEWUPd+eCRXxbkmH3IqfEJJ0RSlFhNkzGPbyVI+ezE9yDiswuqScuQqNzCXfPPZLFm5dtjkdlNPzFY87LEu4kZ57WpDDkP9Qtg8ewMRiVZh+RKA2UyQR8yU/+MJWRexf7uI+iZPLtrU9cPCXDpHFvPomuMadyNJ8ZZtWIaujPPRl3KHPenvaRIALatGXnemBA39IBin9nUHud2xQuP1UjdOiXgdasfKys1tepE97x3Jw== |1|c19kSZa1fKbhOm1awwhPHc57ARQ=|+e+SqegOSpeNLE0xms5F5W6561k= ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA2gAvjn0otWcrbu1QzGfqvMXCxewmO31+5l5XtpB3aE5IbryA7hB9LryLpKRZ21/N/tOqB9WOyqWN2pOTuk1uAjiwPhaQUeEAzTV7cc6YVzUEWUPd+eCRXxbkmH3IqfEJJ0RSlFhNkzGPbyVI+ezE9yDiswuqScuQqNzCXfPPZLFm5dtjkdlNPzFY87LEu4kZ57WpDDkP9Qtg8ewMRiVZh+RKA2UyQR8yU/+MJWRexf7uI+iZPLtrU9cPCXDpHFvPomuMadyNJ8ZZtWIaujPPRl3KHPenvaRIALatGXnemBA39IBin9nUHud2xQuP1UjdOiXgdasfKys1tepE97x3Jw== |
#vi ~/.ssh/known_hosts
--- /tmp/l3-saved-10965.15845.25718 2009-06-03 10:48:03.000000000 +0300 +++ /root/.ssh/known_hosts 2009-06-03 10:48:13.000000000 +0300 @@ -1 +1 @@ -|1|c19kSZa1fKbhOm1awwhPHc57ARQ=|+e+SqegOSpeNLE0xms5F5W6561k= ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA2gAvjn0otWcrbu1QzGfqvMXCxewmO31+5l5XtpB3aE5IbryA7hB9LryLpKRZ21/N/tOqB9WOyqWN2pOTuk1uAjiwPhaQUeEAzTV7cc6YVzUEWUPd+eCRXxbkmH3IqfEJJ0RSlFhN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WIaujPPRl3KHPenvaRIALatGXnemBA39IB |
#ssh-keyscan -H 192.168.15.1 >> ~/.ssh/known_hosts
# 192.168.15.1 SSH-2.0-OpenSSH_5.1p1 Debian-5+b1 |
#vi ~/.ssh/known_hosts
--- /tmp/l3-saved-10965.32295.26538 2009-06-03 10:48:44.000000000 +0300 +++ /root/.ssh/known_hosts 2009-06-03 10:48:48.000000000 +0300 @@ -1,2 +1,2 @@ -|1|c19kSZa1fKbhOm1awwhPHc57ARQ=|+e+SqegOSpeNLE0xms5F5W6561k= ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA2gAvjn0otWcrbu1QzGfqvMXCxewmO31+5l5XtpB3Ea5bIryA7hB9LryLpKRZ21/N/tOqB9WOyqWN2pOTuk1uAjiwPhaQUeEAzTV7cc6YVzUEWUPd+eCRXxbkmH3IqfEJJ0RSlFhNkzGPbyVI+ezE9yDiswuqScuQqNzCXfPPZLFm5dtjkdlNPzFY87LEu4kZ57WpDDkP9Qtg8ewMRiVZh+RKA2UyQR8yU/+MJWRexf7uI+iZPLtrU9cPCXDpHFvPomuMadyNJ8ZZtWIaujPPRl3KHPenvaRIALatGXnemBA39IBin9nUHud2xQuP1UjdOiXgdasfKys1tepE97x3Jw== |1|WSrQEWbJeSZZidHpK2TNIbhaWso=|I4xfGE/g0qTDnW6vt/yu4iBt+4s= ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA2gAvjn0otWcrbu1QzGfqvMXCxewmO31+5l5XtpB3aE5IbryA7hB9LryLpKRZ21/N/tOqB9WOyqWN2pOTuk1uAjiwPhaQUeEAzTV7cc6YVzUEWUPd+eCRXxbkmH3IqfEJJ0RSlFhNkzGPbyVI+ezE9yDiswuqScuQqNzCXfPPZLFm5dtjkdlNPzFY87LEu4kZ57WpDDkP9Qtg8ewMRiVZh+RKA2UyQR8yU/+MJWRexf7uI+iZPLtrU9cPCXDpHFvPomuMadyNJ8ZZtWIaujPPRl3KHPenvaRIALatGXnemBA39IBin9nUHud2xQuP1UjdOiXgdasfKys1tepE97x3Jw== +|1|c19kSZa1fKbhOm1awwhPHc57ARQ=|+e+SqegOSpeNLE0xms5F5W6561k= ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA2gAvjn0otWcrbu1QzGfqvMXCxewmO31+5l5XtpB3Ea5bIryA7hB9LryLpKRZ21/N/tOqB9WOyqWN2pOTuk1uAjiwPhaQUeEAzTV7cc6YVzUEWUPd+eCRXxbkmH3IqfEJJ0RSlFhNkzGPbyVI+ezE9yDiswuqScuQqNzCXfPPZLFm5dtjkdlNPzFY87LEu4kZ57WpDDkP9Qtg8ewMRiVZh+RKA2UyQR8yU/+MJWRexf7uI+iZPLtrU9cPCXDpHFvPomuMadyNJ8ZZtWIaujPPRl3KHPenvaRIALatGXnemBA39IBin9nUHud2xQuP1UjdOiXgdasfKys1tepE97x3Jw== |
#vi ~/.ssh/known_hosts
--- /tmp/l3-saved-10965.8594.2700 2009-06-03 10:48:56.000000000 +0300 +++ /root/.ssh/known_hosts 2009-06-03 10:48:58.000000000 +0300 @@ -1,2 +1,2 @@ -|1|WSrQEWbJeSZZidHpK2TNIbhaWso=|I4xfGE/g0qTDnW6vt/yu4iBt+4s= ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA2gAvjn0otWcrbu1QzGfqvMXCxewmO31+5l5XtpB3aE5IbryA7hB9LryLpKRZ21/N/tOqB9WOyqWN2pOTuk1uAjiwPhaQUeEAzTV7cc6YVzUEWUPd+eCRXxbkmH3IqfEJJ0RSlFhNkzGPbyVI+ezE9yDiswuqScuQqNzCXfPPZLFm5dtjkdlNPzFY87LEu4kZ57WpDDkP9Qtg8ewMRiVZh+RKA2UyQR8yU/+MJWRexf7uI+iZPLtrU9cPCXDpHFvPomuMadyNJ8ZZtWIaujPPRl3KHPenvaRIALatGXnemBA39IBin9nUHud2xQuP1UjdOiXgdasfKys1tepE97x3Jw== |1|c19kSZa1fKbhOm1awwhPHc57ARQ=|+e+SqegOSpeNLE0xms5F5W6561k= ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA2gAvjn0otWcrbu1QzGfqvMXCxewmO31+5l5XtpB3Ea5bIryA7hB9LryLpKRZ21/N/tOqB9WOyqWN2pOTuk1uAjiwPhaQUeEAzTV7cc6YVzUEWUPd+eCRXxbkmH3IqfEJJ0RSlFhNkzGPbyVI+ezE9yDiswuqScuQqNzCXfPPZLFm5dtjkdlNPzFY87LEu4kZ57WpDDkP9Qtg8ewMRiVZh+RKA2UyQR8yU/+MJWRexf7uI+iZPLtrU9cPCXDpHFvPomuMadyNJ8ZZtWIaujPPRl3KHPenvaRIALatGXnemBA39IBin9nUHud2xQuP1UjdOiXgdasfKys1tepE97x3Jw== +|1|WSrQEWbJeSZZidHpK2TNIbhaWso=|I4xfGE/g0qTDnW6vt/yu4iBt+4s= ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA2gAvjn0otWcrbu1QzGfqvMXCxewmO31+5l5XtpB3aE5IbryA7hB9LryLpKRZ21/N/tOqB9WOyqWN2pOTuk1uAjiwPhaQUeEAzTV7cc6YVzUEWUPd+eCRXxbkmH3IqfEJJ0RSlFhNkzGPbyVI+ezE9yDiswuqScuQqNzCXfPPZLFm5dtjkdlNPzFY87LEu4kZ57WpDDkP9Qtg8ewMRiVZh+RKA2UyQR8yU/+MJWRexf7uI+iZPLtrU9cPCXDpHFvPomuMadyNJ8ZZtWIaujPPRl3KHPenvaRIALatGXnemBA39IBin9nUHud2xQuP1UjdOiXgdasfKys1tepE97x3Jw== |
#ls -l ~/.ssh/
итого 24 -rw-r--r-- 1 root root 609 Май 26 09:41 authorized_keys -rw-r--r-- 1 root root 26 Июн 3 10:25 config -rw------- 1 root root 672 Июн 3 10:51 id_dsa -rw-r--r-- 1 root root 601 Июн 3 10:51 id_dsa.pub -rw------- 1 root root 884 Июн 3 10:48 known_hosts -rw------- 1 root root 884 Июн 3 10:31 known_hosts.old |
#ssh 192.168.15.1
Host key fingerprint is 54:b6:4e:a0:18:a4:c1:b1:8f:f5:64:59:31:ba:63:f5 +--[ RSA 2048]----+ | .ooo =.o | | .+ o = = . | | o o * o o | | + + + + | | . . = S E | | . . | | | | | | | +-----------------+ Linux linux1 2.6.29-2-686 #1 SMP Sun May 17 17:56:29 UTC 2009 i686 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Wed Jun 3 10:26:50 2009 from linux1.unix.nt l3-agent is already running: pid=4276; pidfile=/root/.lilalo/l3-agent.pid |
#ssh 192.168.15.1 touch .hushlogin
Host key fingerprint is 54:b6:4e:a0:18:a4:c1:b1:8f:f5:64:59:31:ba:63:f5 +--[ RSA 2048]----+ | .ooo =.o | | .+ o = = . | | o o * o o | | + + + + | | . . = S E | | . . | | | | | | | +-----------------+ |
#ssh 192.168.15.1 touch .hushlogin
Host key fingerprint is 54:b6:4e:a0:18:a4:c1:b1:8f:f5:64:59:31:ba:63:f5 +--[ RSA 2048]----+ | .ooo =.o | | .+ o = = . | | o o * o o | | + + + + | | . . = S E | | . . | | | | | | | +-----------------+ |
#ssh 192.168.15.1
Host key fingerprint is 54:b6:4e:a0:18:a4:c1:b1:8f:f5:64:59:31:ba:63:f5 +--[ RSA 2048]----+ | .ooo =.o | | .+ o = = . | | o o * o o | | + + + + | | . . = S E | | . . | | | | | | | +-----------------+ l3-agent is already running: pid=4276; pidfile=/root/.lilalo/l3-agent.pid |
#kill %
|
#ls -l ~/.ssh/
ssh-keyscan -H 192.168.15.{1..16} >> ~/.ssh/known_hosts # 192.168.15.2 SSH-2.0-OpenSSH_5.1p1 Debian-5+b1 # 192.168.15.1 SSH-2.0-OpenSSH_5.1p1 Debian-5+b1 # 192.168.15.4 SSH-2.0-OpenSSH_5.1p1 Debian-5+b1 # 192.168.15.5 SSH-2.0-OpenSSH_5.1p1 Debian-5+b1 # 192.168.15.6 SSH-2.0-OpenSSH_5.1p1 Debian-5+b1 # 192.168.15.7 SSH-2.0-OpenSSH_5.1p1 Debian-5+b1 # 192.168.15.8 SSH-2.0-OpenSSH_5.1p1 Debian-5+b1 # 192.168.15.9 SSH-2.0-OpenSSH_5.1p1 Debian-5+b1 # 192.168.15.10 SSH-2.0-OpenSSH_5.1p1 Debian-5+b1 # 192.168.15.11 SSH-2.0-OpenSSH_5.1p1 Debian-5+b1 # 192.168.15.12 SSH-2.0-OpenSSH_5.1p1 Debian-5+b1 # 192.168.15.13 SSH-2.0-OpenSSH_5.1p1 Debian-5+b1 # 192.168.15.14 SSH-2.0-OpenSSH_5.1p1 Debian-5+b1 # 192.168.15.15 SSH-2.0-OpenSSH_5.1p1 Debian-5+b1 # 192.168.15.16 SSH-2.0-OpenSSH_5.1p1 Debian-5+b1 # 192.168.15.3 SSH-2.0-OpenSSH_5.1p1 Debian-5+b1 |
#ssh 192.168.15.1
ssh 192.168.15.1 ~/.ssh/authorized_keys' ; done16}; do cat ~/.ssh/id_dsa.pub | ssh 192.168.15.$i 'cat >> ~ |
#ls -l ~/.ssh/
|
#ssh 192.168.15.1
|
#ssh 192.168.15.1
ssh 192.168.15.1 ~/.ssh/authorized_keys' ; done16}; do cat ~/.ssh/id_dsa.pub | ssh 192.168.15.$i 'cat >> ~ |
#vi ~/.ssh/config
--- /tmp/l3-saved-10965.21620.25941 2009-06-03 11:01:01.000000000 +0300 +++ /root/.ssh/config 2009-06-03 11:01:04.000000000 +0300 @@ -1,2 +1,2 @@ Host * - VisualHostKey yes + #VisualHostKey yes |
#for i in {1..16}; do ssh 192.168.15.$i date; done
Срд Июн 3 10:47:02 EEST 2009 Срд Июн 3 10:45:44 UTC 2009 Wed Jun 3 10:47:01 EEST 2009 Wed Jun 3 10:47:03 EEST 2009 Срд Июн 3 10:47:02 EEST 2009 Срд Июн 3 10:47:02 EEST 2009 Срд Июн 3 10:47:02 EEST 2009 Срд Июн 3 10:47:02 EEST 2009 Срд Июн 3 10:47:02 EEST 2009 Срд Июн 3 10:47:04 EEST 2009 Срд Июн 3 10:47:03 EEST 2009 середа, 3 червня 2009 10:47:03 +0300 Wed Jun 3 10:47:03 EEST 2009 Срд Июн 3 10:47:11 EEST 2009 Срд Июн 3 10:47:03 EEST 2009 Срд Июн 3 10:47:04 EEST 2009 |
#vi ~/bin/all
|
#~
|
#vi ~/bin/all
--- /tmp/l3-saved-10965.18118.26223 2009-06-03 11:03:04.000000000 +0300 +++ /root/bin/all 2009-06-03 11:03:38.000000000 +0300 @@ -1 +1,7 @@ -for i in {1..16}; do ssh 192.168.15.16 date; done +#!/bin/sh + +for i in {1..16} +do + ssh 192.168.15.$i "$@" +done + |
#chmod +x ~/bin/all
|
#all date
bash: all: команда не найдена |
#PATH=$PATH:~/bin/
|
#all date
1: Срд Июн 3 10:50:14 EEST 2009 2: Срд Июн 3 10:48:56 UTC 2009 3: Wed Jun 3 10:50:12 EEST 2009 4: Wed Jun 3 10:50:14 EEST 2009 5: Срд Июн 3 10:50:14 EEST 2009 6: Срд Июн 3 10:50:14 EEST 2009 7: Срд Июн 3 10:50:14 EEST 2009 8: Срд Июн 3 10:50:14 EEST 2009 9: Срд Июн 3 10:50:14 EEST 2009 10: Срд Июн 3 10:50:16 EEST 2009 11: Срд Июн 3 10:50:15 EEST 2009 12: середа, 3 червня 2009 10:50:15 +0300 13: Wed Jun 3 10:50:16 EEST 2009 14: Срд Июн 3 10:50:23 EEST 2009 15: Срд Июн 3 10:50:15 EEST 2009 16: Срд Июн 3 10:50:17 EEST 2009 |
#all ntpdate ntp.psn.ru
1: 3 Jun 10:50:32 ntpdate[14419]: step time server 194.149.67.130 offset -0.596232 sec 2: 3 Jun 07:50:34 ntpdate[6923]: step time server 194.149.67.130 offset -10722.393356 sec 3: 3 Jun 10:50:35 ntpdate[4596]: step time server 194.149.67.130 offset 1.126060 sec 4: 3 Jun 10:50:35 ntpdate[11257]: step time server 194.149.67.130 offset -0.990219 sec 5: 3 Jun 10:50:37 ntpdate[8013]: adjust time server 194.149.67.130 offset -0.235821 sec 6: 3 Jun 10:50:37 ntpdate[25938]: adjust time server 194.149.67.130 offset 0.023866 sec 7: 3 Jun 10:50:38 ntpdate[8358]: adjust time server 194.149.67.130 offset 0.477793 sec 8: 3 Jun 10:50:38 ntpdate[18537]: adjust time server 194.149.67.130 offset 0.329933 sec 9: 3 Jun 10:50:39 ntpdate[14444]: adjust time server 194.149.67.130 offset 0.324250 sec 10: 3 Jun 10:50:40 ntpdate[9118]: step time server 194.149.67.130 offset -0.980505 sec 11: 3 Jun 10:50:41 ntpdate[7926]: adjust time server 194.149.67.130 offset -0.216767 sec 12: 3 Jun 10:50:41 ntpdate[10654]: adjust time server 194.149.67.130 offset 0.006755 sec 13: 3 Jun 10:50:43 ntpdate[6749]: adjust time server 194.149.67.130 offset -0.484841 sec 14: 3 Jun 10:50:43 ntpdate[19072]: step time server 194.149.67.130 offset -7.649834 sec 15: 3 Jun 10:50:43 ntpdate[8571]: adjust time server 194.149.67.130 offset 0.176684 sec 16: 3 Jun 10:50:45 ntpdate[19134]: adjust time server 194.149.67.130 offset -0.453608 sec |
#cat ~/bin/all
#!/bin/sh for i in {1..16} do ssh 192.168.15.$i "$@" | sed "s/^/$i: /" done |
#vi ~/bin/all
--- /tmp/l3-saved-10965.16855.26342 2009-06-03 11:05:13.000000000 +0300 +++ /root/bin/all 2009-06-03 11:05:27.000000000 +0300 @@ -1,7 +1,7 @@ #!/bin/sh -for i in {1..16} +for i in 192.168.15.{1..16} do - ssh 192.168.15.$i "$@" | sed "s/^/$i: /" + ssh $i "$@" | sed "s/^/$i: /" done |
#cat ~/bin/all
#!/bin/sh for i in 192.168.15.{1..16} do ssh $i "$@" | sed "s/^/$i: /" done |
#all date
192.168.15.1: Срд Июн 3 10:51:30 EEST 2009 192.168.15.2: Срд Июн 3 07:51:30 UTC 2009 192.168.15.3: Wed Jun 3 10:51:30 EEST 2009 192.168.15.4: Wed Jun 3 10:51:30 EEST 2009 192.168.15.5: Срд Июн 3 10:51:30 EEST 2009 192.168.15.6: Срд Июн 3 10:51:30 EEST 2009 192.168.15.7: Срд Июн 3 10:51:30 EEST 2009 192.168.15.8: Срд Июн 3 10:51:30 EEST 2009 192.168.15.9: Срд Июн 3 10:51:30 EEST 2009 192.168.15.10: Срд Июн 3 10:51:31 EEST 2009 192.168.15.11: Срд Июн 3 10:51:31 EEST 2009 192.168.15.12: середа, 3 червня 2009 10:51:31 +0300 192.168.15.13: Wed Jun 3 10:51:32 EEST 2009 192.168.15.14: Срд Июн 3 10:51:32 EEST 2009 192.168.15.15: Срд Июн 3 10:51:31 EEST 2009 192.168.15.16: Срд Июн 3 10:51:32 EEST 2009 |
#all echo $LANG
192.168.15.1: ru_UA.UTF-8 192.168.15.2: ru_UA.UTF-8 192.168.15.3: ru_UA.UTF-8 192.168.15.4: ru_UA.UTF-8 192.168.15.5: ru_UA.UTF-8 192.168.15.6: ru_UA.UTF-8 192.168.15.7: ru_UA.UTF-8 192.168.15.8: ru_UA.UTF-8 192.168.15.9: ru_UA.UTF-8 192.168.15.10: ru_UA.UTF-8 192.168.15.11: ru_UA.UTF-8 192.168.15.12: ru_UA.UTF-8 192.168.15.13: ru_UA.UTF-8 192.168.15.14: ru_UA.UTF-8 192.168.15.15: ru_UA.UTF-8 192.168.15.16: ru_UA.UTF-8 |
#all 'echo $LANG'
192.168.15.1: ru_RU.UTF-8 192.168.15.2: ru_UA.UTF-8 192.168.15.3: en_US.UTF-8 192.168.15.4: en_US.UTF-8 192.168.15.5: ru_UA.UTF-8 192.168.15.6: ru_UA.UTF-8 192.168.15.7: ru_RU.UTF-8 192.168.15.8: ru_UA.UTF-8 192.168.15.9: ru_RU.UTF-8 192.168.15.10: ru_UA.UTF-8 192.168.15.11: ru_RU.UTF-8 192.168.15.12: uk_UA.UTF-8 192.168.15.13: en_US.UTF-8 192.168.15.14: ru_RU.UTF-8 192.168.15.15: ru_RU.UTF-8 192.168.15.16: ru_RU.UTF-8 |
#cat ~/bin/all
#!/bin/sh for i in 192.168.15.{1..16} do ssh $i "$@" | sed "s/^/$i: /" done |
#echo {1..4,6..9}
1..4 6..9 |
#vi ~/bin/all
|
#~
#!/bin/sh for i in 192.168.15.{1..7,9..16} do ssh $i "$@" | sed "s/^/$i: /" done |
#ls -l ~/.ssh/
440 vi ~/.bashr 441 vi ~/.bash_profile 442 exit 443 cd /home/quiz/ 444 ls -l 445 passwd quiz 446 w 447 ls -l 448 ls -al 449 mv .quiz quiz3 ... 579 cat ~/bin/all 580 all date 581 all echo $LANG 582 all 'echo $LANG' 583 cat ~/bin/all 584 vi ~/bin/all 585 echo {1..4,6..9} 586 vi ~/bin/all 587 cat ~/bin/all 588 history |
#cat bin/all
#!/bin/sh for i in 192.168.15.{1..7,9..16} do ssh $i "$@" | sed "s/^/$i: /" done |
#cat > /tmp/f
eval `cat ~/.ssh-agent` grep -qx ssh-agent /proc/$SSH_AGENT_PID/cmdline >& /dev/null || load_agent else load_agent fi |
#exit
exit Connection to 192.168.15.1 closed. |
eval `cat ~/.ssh-agent` grep -qx ssh-agent /proc/$SSH_AGENT_PID/cmdline >& /dev/null || load_agent else load_agent fi
#!/bin/sh for i in 192.168.15.{1..7,9..16} do ssh $i "$@" | sed "s/^/$i: /" done
Host * VisualHostKey yes
|1|dL6NmNUYsejjwWaTyN3n+uM7jbA=|ADEjRMu0WQTmFZ4isvZ/8d/k7po= ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA6XXgrwWrb1ZSYdGOCZziwKRREKfhW++NiammHOqMhMUDs67dwxdjYJjp9/bjChmCW7wA3djmPkFjUHeC/xbvaNTFO+NCS0iwbewz+Srl8E283aQUkTRuXdREQMkL7N3endUqOB7bROJ3oxMY7nURectgkHynnZ2hA1WANrPs8XpwV2bYuwpB9hrvJMw6+sxNojvp28lcDLnEXXh9pOuKkdkVtoUPGhRNr/IliRA2LRZg3QuUSkiEVL0R78k6siMV93W1J9ZhslSpW8XijCjkK4ZVyk1IXBVKAgltZRjVfJpizNF
#!/bin/sh for i in 192.168.15.{1..16} do ssh $i "$@" | sed "s/^/$i: /" done
Время первой команды журнала | 10:03:59 2009- 6- 3 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 11:41:35 2009- 6- 3 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 8.91 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 0.99 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 1.63 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 1.03 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду w. В поле WHAT, соответствующем текущему терминалу, должна быть указана программа script.
Команды, при наборе которых были допущены синтаксические ошибки, выводятся перечёркнутым текстом:
$ l s-l bash: l: command not found |
Если код завершения команды равен нулю, команда была выполнена без ошибок. Команды, код завершения которых отличен от нуля, выделяются цветом.
$ test 5 -lt 4 |
Команды, ход выполнения которых был прерван пользователем, выделяются цветом.
$ find / -name abc find: /home/devi-orig/.gnome2: Keine Berechtigung find: /home/devi-orig/.gnome2_private: Keine Berechtigung find: /home/devi-orig/.nautilus/metafiles: Keine Berechtigung find: /home/devi-orig/.metacity: Keine Berechtigung find: /home/devi-orig/.inkscape: Keine Berechtigung ^C |
Команды, выполненные с привилегиями суперпользователя, выделяются слева красной чертой.
# id uid=0(root) gid=0(root) Gruppen=0(root) |
Изменения, внесённые в текстовый файл с помощью редактора, запоминаются и показываются в журнале в формате ed. Строки, начинающиеся символом "<", удалены, а строки, начинающиеся символом ">" -- добавлены.
$ vi ~/.bashrc
|
Для того чтобы изменить файл в соответствии с показанными в диффшоте изменениями, можно воспользоваться командой patch. Нужно скопировать изменения, запустить программу patch, указав в качестве её аргумента файл, к которому применяются изменения, и всавить скопированный текст:
$ patch ~/.bashrc |
Для того чтобы получить краткую справочную информацию о команде, нужно подвести к ней мышь. Во всплывающей подсказке появится краткое описание команды.
Если справочная информация о команде есть, команда выделяется голубым фоном, например: vi. Если справочная информация отсутствует, команда выделяется розовым фоном, например: notepad.exe. Справочная информация может отсутствовать в том случае, если (1) команда введена неверно; (2) если распознавание команды LiLaLo выполнено неверно; (3) если информация о команде неизвестна LiLaLo. Последнее возможно для редких команд.
Большие, в особенности многострочные, всплывающие подсказки лучше всего показываются браузерами KDE Konqueror, Apple Safari и Microsoft Internet Explorer. В браузерах Mozilla и Firefox они отображаются не полностью, а вместо перевода строки выводится специальный символ.
Время ввода команды, показанное в журнале, соответствует времени начала ввода командной строки, которое равно тому моменту, когда на терминале появилось приглашение интерпретатора
Имя терминала, на котором была введена команда, показано в специальном блоке. Этот блок показывается только в том случае, если терминал текущей команды отличается от терминала предыдущей.
Вывод не интересующих вас в настоящий момент элементов журнала, таких как время, имя терминала и других, можно отключить. Для этого нужно воспользоваться формой управления журналом вверху страницы.
Небольшие комментарии к командам можно вставлять прямо из командной строки. Комментарий вводится прямо в командную строку, после символов #^ или #v. Символы ^ и v показывают направление выбора команды, к которой относится комментарий: ^ - к предыдущей, v - к следующей. Например, если в командной строке было введено:
$ whoami
user
$ #^ Интересно, кто я?в журнале это будет выглядеть так:
$ whoami
user
Интересно, кто я? |
Если комментарий содержит несколько строк, его можно вставить в журнал следующим образом:
$ whoami
user
$ cat > /dev/null #^ Интересно, кто я?
Программа whoami выводит имя пользователя, под которым мы зарегистрировались в системе. - Она не может ответить на вопрос о нашем назначении в этом мире.В журнале это будет выглядеть так:
$ whoami user
|
Комментарии, не относящиеся непосредственно ни к какой из команд, добавляются точно таким же способом, только вместо симолов #^ или #v нужно использовать символы #=
1 2 3 4Группы команд, выполненных на разных терминалах, разделяются специальной линией. Под этой линией в правом углу показано имя терминала, на котором выполнялись команды. Для того чтобы посмотреть команды только одного сенса, нужно щёкнуть по этому названию.
LiLaLo (L3) расшифровывается как Live Lab Log.
Программа разработана для повышения эффективности обучения Unix/Linux-системам.
(c) Игорь Чубин, 2004-2008