/l3/users/29-05-2007/nt-lnet/linux1.net.nt/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 |
|
#su - user
l3-agent is already running: pid=22190; pidfile=/home/user/.lilalo/l3-agent.pid |
$xhost +
xhost: unable to open display "" |
$exit
|
#ssh 192.168.16.3
root@192.168.16.3's password: Last login: Thu May 31 15:29:36 2007 from linux1.net.nt Linux linux3 2.6.18-4-686 #1 SMP Mon Mar 26 17:17:36 UTC 2007 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. l3-agent is already running: pid=2884; pidfile=/root/.lilalo/l3-agent.pid |
#DISPLAY=192.168.16.1:0 xclock
Warning: Missing charsets in String to FontSet conversion Warning: Unable to load any usable fontset |
#grep 6000 /etc/services
x11 6000/tcp x11-0 # X Window System x11 6000/udp x11-0 |
#DISPLAY=192.168.16.1:0 xeyes
|
#man ssh
|
#pkill -9 wireshark
0 gnome-keyring-daemon kjournald rpc.statd acpid gnome-panel klogd screen apache gnome-power-manager kmirrord SCREEN atd gnome-screensaver kpsmoused script avahi-daemon: gnome-settings-daemon kseriod sed bash gnome-vfs-daemon kswapd0 ssh-agent bluetooth-applet gnome-volume-manager kthread sshd bonobo-activation-server gpm l3-agent sshd: clock-applet hald mapping-daemon su cron hald-addon-acpi: metacity syslogd cupsd hald-addon-keyboard: mixer_applet2 udevd dbus-daemon hald-addon-storage: nautilus update-notifier dbus-launch hald-runner NetworkManager vino-session dhcdbd hpiod NetworkManagerDispatcher wireshark dictd inetd nm-applet wnck-applet exim4 init notification-area-applet X gconfd-2 kacpid pdflush xinetd gdm kgameportd portmap x-session-manager getty khelper ps xterm gnome-cups-icon khubd python |
#pkill -9 wireshark
0 gnome-keyring-daemon kjournald rpc.statd acpid gnome-panel klogd screen apache gnome-power-manager kmirrord SCREEN atd gnome-screensaver kpsmoused script avahi-daemon: gnome-settings-daemon kseriod sed bash gnome-vfs-daemon kswapd0 ssh-agent bluetooth-applet gnome-volume-manager kthread sshd bonobo-activation-server gpm l3-agent sshd: clock-applet hald mapping-daemon su cron hald-addon-acpi: metacity syslogd cupsd hald-addon-keyboard: mixer_applet2 udevd dbus-daemon hald-addon-storage: nautilus update-notifier dbus-launch hald-runner NetworkManager vino-session dhcdbd hpiod NetworkManagerDispatcher wireshark dictd inetd nm-applet wnck-applet exim4 init notification-area-applet X gconfd-2 kacpid pdflush xinetd gdm kgameportd portmap x-session-manager getty khelper ps xterm gnome-cups-icon khubd python |
#pkill -9 wireshark
|
#ssh linux2
ssh: linux2: Name or service not known |
#ssh 192.168.16.2
Enter passphrase for key '/root/.ssh/id_rsa': Last login: Thu May 31 15:32:42 2007 Linux linux2 2.6.21.2 #1 SMP Thu May 24 13:33:22 EEST 2007 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. l3-agent is already running: pid=2652; pidfile=/root/.lilalo/l3-agent.pid |
#apt-get install frozen-bable
Чтение списков пакетов... Готово Построение дерева зависимостей... Готово E: Не могу найти пакет frozen-bable |
#apt-get install frozen-buble
Чтение списков пакетов... Готово Построение дерева зависимостей... Готово E: Не могу найти пакет frozen-buble |
#apt-get install frozen-bublle
Чтение списков пакетов... Готово Построение дерева зависимостей... Готово E: Не могу найти пакет frozen-bublle |
#apt-cache search frozen
fb-music-high - High quality, large music files for Frozen-Bubble fb-music-low - Lower quality, small music files for Frozen-Bubble frozen-bubble - Pop out the bubbles ! frozen-bubble-data - Data files for Frozen-Bubble junior-puzzle - Debian Jr. Puzzles pengupop - Online multiplayer clone of Bust a Move |
#apt-get install frozen-bubble
Чтение списков пакетов... Готово Построение дерева зависимостей... Готово Будут установлены следующие дополнительные пакеты: fb-music-high frozen-bubble-data libsdl-console libsdl-gfx1.2-4 libsdl-image1.2 libsdl-mixer1.2 libsdl-net1.2 libsdl-pango1 libsdl-perl libsdl-ttf2.0-0 libsmpeg0 НОВЫЕ пакеты, которые будут установлены: fb-music-high frozen-bubble frozen-bubble-data libsdl-console libsdl-gfx1.2-4 libsdl-image1.2 libsdl-mixer1.2 libsdl-net1.2 libsdl-pango1 libsdl-perl libsdl-ttf2.0-0 libsmpeg0 обновлено 0, установлено 12 новых пакетов, для удаления отмечено 0 пакетов, и 96 пакетов не обновлено. Необходимо скачать 22,9MБ архивов. ... Настраивается пакет libsdl-gfx1.2-4 (2.0.13-2+b1) ... Настраивается пакет libsmpeg0 (0.4.5+cvs20030824-1.9) ... Настраивается пакет libsdl-mixer1.2 (1.2.6-1.1+b2) ... Настраивается пакет libsdl-net1.2 (1.2.5-7+b1) ... Настраивается пакет libsdl-pango1 (0.1.2-1) ... Настраивается пакет libsdl-ttf2.0-0 (2.0.8-3+b1) ... Настраивается пакет libsdl-perl (1.20.3dfsg-1) ... Настраивается пакет fb-music-high (0.1.2) ... Настраивается пакет frozen-bubble-data (2.1.0-1) ... Настраивается пакет frozen-bubble (2.1.0-1) ... |
#from
1 .evolution/ .metacity/ .serverauth.3767 12 .gconf/ .moc/ .serverauth.4129 123 .gconfd/ .mozilla/ sim-0.9.4.3/ 1.gif .gnome/ .mplayer/ sim-0.9.4.3.tar.bz2 1.jpg .gnome2/ .nautilus/ .ssh/ 1.png .gnome2_private/ nohup.out .Trash/ .aptitude/ .gnupg/ ODINAKOVOneOdInAkOvORAVNO userapp .bash_history .gstreamer-0.10/ ODINAKOVO_neOdInAkOvO_RAVNO user_passwd .bash_profile .gtkrc-1.2-gnome2 ODINAKOVONEoDinakovoRAVNO var .bashrc .ICEauthority ODINAKOVO_NEoDinakovo_RAVNO .viminfo .beryl/ .inputrc .profile .vimrc .beryl-managerrc install .recently-used .w3m/ .dbus/ .l3rc .serverauth.2725 .Xauthority Desktop/ .lesshst .serverauth.2883 .xinitrc .dia/ .lilalo/ .serverauth.2920 .emerald/ .mc/ .serverauth.3533 |
#dpkg -L frozen-bubble
frozen-bubble frozen-bubble-data |
#dpkg -L frozen-bubble
/. /usr /usr/games /usr/games/frozen-bubble /usr/games/frozen-bubble-editor /usr/share /usr/share/perl5 /usr/share/perl5/fb_c_stuff.pm /usr/share/perl5/fb_net.pm /usr/share/perl5/fb_stuff.pm ... /usr/share/menu/frozen-bubble /usr/lib /usr/lib/perl5 /usr/lib/perl5/auto /usr/lib/perl5/auto/fb_c_stuff /usr/lib/perl5/auto/fb_c_stuff/fb_c_stuff.so /usr/lib/perl5/auto/fb_c_stuff/fb_c_stuff.bs /usr/lib/games /usr/lib/games/frozen-bubble /usr/lib/games/frozen-bubble/fb-server |
#ssh 192.168.16.2 -X
Enter passphrase for key '/root/.ssh/id_rsa': Last login: Thu May 31 15:40:54 2007 from linux1.net.nt Linux linux2 2.6.21.2 #1 SMP Thu May 24 13:33:22 EEST 2007 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. l3-agent is already running: pid=2652; pidfile=/root/.lilalo/l3-agent.pid |
#/usr/games/frozen-bubble
[[ Frozen-Bubble-2.1.0 ]] http://www.frozen-bubble.org/ Copyright (c) 2000-2006 The Frozen-Bubble Team. Artwork: Alexis Younes Amaury Amblard-Ladurantie Soundtrack: Matthias Le Bidan Design & Programming: Guillaume Cottenceau Level Editor: Kim and David Joham Originally sponsored by Mandriva <http://www.mandriva.com/> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2, as published by the Free Software Foundation. [SDL Init] [Graphics Addicted for 0s, 0 bubbles were launched. |
#/usr/games/frozen-bubble
[[ Frozen-Bubble-2.1.0 ]] http://www.frozen-bubble.org/ Copyright (c) 2000-2006 The Frozen-Bubble Team. Artwork: Alexis Younes Amaury Amblard-Ladurantie Soundtrack: Matthias Le Bidan Design & Programming: Guillaume Cottenceau Level Editor: Kim and David Joham Originally sponsored by Mandriva <http://www.mandriva.com/> This program is free software; you can redistribute it and/or modify ... Amaury Amblard-Ladurantie Soundtrack: Matthias Le Bidan Design & Programming: Guillaume Cottenceau Level Editor: Kim and David Joham Originally sponsored by Mandriva <http://www.mandriva.com/> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2, as published by the Free Software Foundation. [SDL Init] [Graphics........ Addicted for 3s, 0 bubbles were launched. |
#/usr/games/frozen-bubble
[[ Frozen-Bubble-2.1.0 ]] http://www.frozen-bubble.org/ Copyright (c) 2000-2006 The Frozen-Bubble Team. Artwork: Alexis Younes Amaury Amblard-Ladurantie Soundtrack: Matthias Le Bidan Design & Programming: Guillaume Cottenceau Level Editor: Kim and David Joham Originally sponsored by Mandriva <http://www.mandriva.com/> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2, as published by the Free Software Foundation. [SDL Init] [Graphics............] open /dev/sequencer: No such file or directory [Sound Init] [Levels] Ready. ^[[A^[[A^[[B^[[B Addicted for 33s, 2 bubbles were launched. |
#exit
exit Connection to 192.168.16.2 closed. |
#pkill -9 frozen
|
#ssh -f -N -R 22000:127.0.0.1:22 192.168.16.4
|
#netstat -lnp | grep :22000
|
#ssh 192.168.16.4
Last login: Thu May 31 15:08:40 2007 from linux2.net.nt Linux linux4 2.6.18-4-686 #1 SMP Mon Mar 26 17:17:36 UTC 2007 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. l3-agent is already running: pid=5566; pidfile=/root/.lilalo/l3-agent.pid |
#ssh -f -N -R 25000:127.0.0.1:22 192.168.16.4
|
#ssh 192.168.16.4
Last login: Thu May 31 15:53:06 2007 from linux2.net.nt Linux linux4 2.6.18-4-686 #1 SMP Mon Mar 26 17:17:36 UTC 2007 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. l3-agent is already running: pid=5566; pidfile=/root/.lilalo/l3-agent.pid |
#exit
Connection to 127.0.0.1 closed. |
#netstat -lnp | grep :22000
tcp 0 0 127.0.0.1:22000 0.0.0.0:* LISTEN 6021/sshd: root tcp6 0 0 ::1:22000 :::* LISTEN 6021/sshd: root |
#ssh 127.0.0.1 -p 22000
The authenticity of host '127.0.0.1 (127.0.0.1)' can't be established. RSA key fingerprint is 9e:2d:a9:2d:1c:93:bd:a9:4e:1a:2b:31:c8:fa:a4:3c. Are you sure you want to continue connecting (yes/no)? |
#exit
Connection to 192.168.16.4 closed. |
#ssh 127.0.0.1 -p 25000
The authenticity of host '127.0.0.1 (127.0.0.1)' can't be established. RSA key fingerprint is 9e:2d:a9:2d:1c:93:bd:a9:4e:1a:2b:31:c8:fa:a4:3c. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '127.0.0.1' (RSA) to the list of known hosts. root@127.0.0.1's password: Last login: Thu May 31 15:50:26 2007 Linux linux2 2.6.21.2 #1 SMP Thu May 24 13:33:22 EEST 2007 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. l3-agent is already running: pid=2652; pidfile=/root/.lilalo/l3-agent.pid |
#exit
Connection to 192.168.16.2 closed. |
#netstat
unix 3 [ ] STREAM CONNECTED 62879 unix 3 [ ] STREAM CONNECTED 62878 /tmp/orbit-user/linc-55a4-0-dcc49307c706 unix 3 [ ] STREAM CONNECTED 62877 unix 3 [ ] STREAM CONNECTED 62874 /tmp/orbit-user/linc-55c5-0-389ce3f576560 unix 3 [ ] STREAM CONNECTED 62873 unix 3 [ ] STREAM CONNECTED 62870 /tmp/orbit-user/linc-559f-0-7900f3cd9531 unix 3 [ ] STREAM CONNECTED 62869 unix 3 [ ] STREAM CONNECTED 62865 /tmp/.X11-unix/X0 unix 3 [ ] STREAM CONNECTED 62864 unix 2 [ ] DGRAM 62861 ... unix 3 [ ] STREAM CONNECTED 7297 /var/run/acpid.socket unix 3 [ ] STREAM CONNECTED 7296 unix 3 [ ] STREAM CONNECTED 7291 @/var/run/hald/dbus-cbfAOHYp2m unix 3 [ ] STREAM CONNECTED 7286 unix 3 [ ] STREAM CONNECTED 6581 @/var/run/hald/dbus-0vKTLyBzpW unix 3 [ ] STREAM CONNECTED 6580 unix 3 [ ] STREAM CONNECTED 6565 unix 3 [ ] STREAM CONNECTED 6564 unix 2 [ ] DGRAM 6385 unix 2 [ ] DGRAM 6333 |
#netstat -lnp | grep :110
|
#ssh 192.168.16.2
Enter passphrase for key '/root/.ssh/id_rsa': Last login: Thu May 31 15:52:58 2007 Linux linux2 2.6.21.2 #1 SMP Thu May 24 13:33:22 EEST 2007 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. l3-agent is already running: pid=2652; pidfile=/root/.lilalo/l3-agent.pid |
#netstat -lnp | grep :110
tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN 2523/popa3d |
#ssh -f -N -R 3300:127.0.0.1:110 192.168.16.3
|
#ssh 192.168.16.3
Last login: Thu May 31 15:31:23 2007 from linux1.net.nt Linux linux3 2.6.18-4-686 #1 SMP Mon Mar 26 17:17:36 UTC 2007 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. l3-agent is already running: pid=2884; pidfile=/root/.lilalo/l3-agent.pid |
#exit
Connection to 192.168.16.3 closed. |
#exit
Connection to 192.168.16.2 closed. |
#telnet 192.168.16.3 3300
Trying 192.168.16.3... telnet: Unable to connect to remote host: Connection refused |
#telnet 192.168.16.3 -p 3300
telnet: invalid option -- p Usage: telnet [-4] [-6] [-8] [-E] [-L] [-a] [-d] [-e char] [-l user] [-n tracefile] [ -b addr ] [-r] [host-name [port]] |
#telnet 192.168.16.3 3300
Trying 192.168.16.3... telnet: Unable to connect to remote host: Connection refused |
#telnet 192.168.16.3 3300
Trying 192.168.16.3... telnet: Unable to connect to remote host: Connection refused |
#nmap 192.168.16.3
Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2007-05-31 16:02 EEST Interesting ports on linux3.net.nt (192.168.16.3): Not shown: 1674 closed ports PORT STATE SERVICE 19/tcp open chargen 22/tcp open ssh 80/tcp open http 111/tcp open rpcbind 113/tcp open auth 2628/tcp open dict MAC Address: 00:01:02:B4:61:10 (3com) Nmap finished: 1 IP address (1 host up) scanned in 0.667 seconds |
#ssh 192.168.16.3
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. l3-agent is already running: pid=2884; pidfile=/root/.lilalo/l3-agent.pid [root@linux3:~]# [root@linux3:~]# [root@linux3:~]# [root@linux3:~]# root@192.168.16.3's password: Last login: Thu May 31 16:00:49 2007 from linux2.net.nt Linux linux3 2.6.18-4-686 #1 SMP Mon Mar 26 17:17:36 UTC 2007 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. l3-agent is already running: pid=2884; pidfile=/root/.lilalo/l3-agent.pid |
#netstat -lnp | grep :3300
root@192.168.16.3's password: Last login: Thu May 31 16:00:49 2007 from linux2.net.nt Linux linux3 2.6.18-4-686 #1 SMP Mon Mar 26 17:17:36 UTC 2007 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. l3-agent is already running: pid=2884; pidfile=/root/.lilalo/l3-agent.pid [root@linux3:~]# [root@linux3:~]# [root@linux3:~]# [root@linux3:~]# [root@linux3:~]# [root@linux3:~]# [root@linux3:~]# netstat -lnp | grep :3300 tcp 0 0 127.0.0.1:3300 0.0.0.0:* LISTEN 23530/sshd: root tcp6 0 0 ::1:3300 :::* LISTEN 23530/sshd: root [root@linux3:~]# telnet 127.0.0.1 tcp 0 0 127.0.0.1:3300 0.0.0.0:* LISTEN 23530/sshd: root tcp6 0 0 ::1:3300 :::* LISTEN 23530/sshd: root |
#telnet 127.0.0.1 3300
+OK PASS password +OK ^] telnet> q Connection closed. [root@linux3:~]# [root@linux3:~]# [root@linux3:~]# [root@linux3:~]# exit ... Connected to 127.0.0.1. Escape character is '^]'. +OK USER user +OK PASS password +OK ^] telnet> q Connection closed. |
#exit
Connection to 192.168.16.3 closed. |
#telnet 192.168.16.3 3300
[root@linux3:~]# [root@linux3:~]# netstat -lnp | grep :3300 tcp 0 0 127.0.0.1:3300 0.0.0.0:* LISTEN 23530/sshd: root tcp6 0 0 ::1:3300 :::* LISTEN 23530/sshd: root [root@linux3:~]# telnet 127.0.0.1 3300 Trying 127.0.0.1... Connected to 127.0.0.1. Escape character is '^]'. +OK USER user ... ^] telnet> q Connection closed. [root@linux3:~]# [root@linux3:~]# [root@linux3:~]# [root@linux3:~]# exit Connection to 192.168.16.3 closed. [root@linux1:~]# telnet 192.168.16.3 3300 [root@linux1:~]# ss |
#ssh 192.168.16.2
Enter passphrase for key '/root/.ssh/id_rsa': Last login: Thu May 31 15:59:37 2007 from linux1.net.nt Linux linux2 2.6.21.2 #1 SMP Thu May 24 13:33:22 EEST 2007 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. l3-agent is already running: pid=2652; pidfile=/root/.lilalo/l3-agent.pid [root@linux2:~]# Enter passphrase for key '/root/.ssh/id_rsa': Last login: Thu May 31 15:59:37 2007 from linux1.net.nt Linux linux2 2.6.21.2 #1 SMP Thu May 24 13:33:22 EEST 2007 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. l3-agent is already running: pid=2652; pidfile=/root/.lilalo/l3-agent.pid |
#ssh -f -N -R 3300:192.168.16.2:110 192.168.16.1
PASS password +OK ^] telnet> q Connection closed. [root@linux3:~]# [root@linux3:~]# [root@linux3:~]# [root@linux3:~]# exit Connection to 192.168.16.3 closed. [root@linux1:~]# telnet 192.168.16.3 3300 [root@linux1:~]# ssh 192.168.16.2 Enter passphrase for key '/root/.ssh/id_rsa': Last login: Thu May 31 15:59:37 2007 from linux1.net.nt Linux linux2 2.6.21.2 #1 SMP Thu May 24 13:33:22 EEST 2007 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. l3-agent is already running: pid=2652; pidfile=/root/.lilalo/l3-agent.pid |
#telnet 192.168.16.1 3300
^] telnet> q Connection closed. [root@linux3:~]# [root@linux3:~]# [root@linux3:~]# [root@linux3:~]# exit Connection to 192.168.16.3 closed. [root@linux1:~]# telnet 192.168.16.3 3300 [root@linux1:~]# ssh 192.168.16.2 Enter passphrase for key '/root/.ssh/id_rsa': Last login: Thu May 31 15:59:37 2007 from linux1.net.nt Linux linux2 2.6.21.2 #1 SMP Thu May 24 13:33:22 EEST 2007 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. l3-agent is already running: pid=2652; pidfile=/root/.lilalo/l3-agent.pid Trying 192.168.16.1... telnet: Unable to connect to remote host: Connection refused |
#ssh 192
|
#telnet 192.168.16.1 3300
^] telnet> q Connection closed. [root@linux3:~]# [root@linux3:~]# [root@linux3:~]# [root@linux3:~]# exit Connection to 192.168.16.3 closed. [root@linux1:~]# telnet 192.168.16.3 3300 [root@linux1:~]# ssh 192.168.16.2 Enter passphrase for key '/root/.ssh/id_rsa': Last login: Thu May 31 15:59:37 2007 from linux1.net.nt Linux linux2 2.6.21.2 #1 SMP Thu May 24 13:33:22 EEST 2007 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. l3-agent is already running: pid=2652; pidfile=/root/.lilalo/l3-agent.pid Trying 192.168.16.1... telnet: Unable to connect to remote host: Connection refused |
#exit
Connection to 192.168.16.2 closed. |
#.0.0.1
|
#telnet 127.0.0.1 3300
[root@linux3:~]# [root@linux3:~]# [root@linux3:~]# [root@linux3:~]# exit Connection to 192.168.16.3 closed. [root@linux1:~]# telnet 192.168.16.3 3300 [root@linux1:~]# ssh 192.168.16.2 Enter passphrase for key '/root/.ssh/id_rsa': Last login: Thu May 31 15:59:37 2007 from linux1.net.nt Linux linux2 2.6.21.2 #1 SMP Thu May 24 13:33:22 EEST 2007 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. l3-agent is already running: pid=2652; pidfile=/root/.lilalo/l3-agent.pid Trying 127.0.0.1... Connected to 127.0.0.1. Escape character is '^]'. +OK Connection closed by foreign host. |
#ssh 192.168.16.2
[root@linux1:~]# ssh 192.168.16.2 Enter passphrase for key '/root/.ssh/id_rsa': Last login: Thu May 31 15:59:37 2007 from linux1.net.nt Linux linux2 2.6.21.2 #1 SMP Thu May 24 13:33:22 EEST 2007 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. l3-agent is already running: pid=2652; pidfile=/root/.lilalo/l3-agent.pid Enter passphrase for key '/root/.ssh/id_rsa': Last login: Thu May 31 16:07:09 2007 Linux linux2 2.6.18-4-686 #1 SMP Mon Mar 26 17:17:36 UTC 2007 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. l3-agent is already running: pid=2717; pidfile=/root/.lilalo/l3-agent.pid |
##ssh -f -N -R 3300:192.168.16.2:110 192.168.16.1
PASS password +OK ^] telnet> q Connection closed. [root@linux3:~]# [root@linux3:~]# [root@linux3:~]# [root@linux3:~]# exit Connection to 192.168.16.3 closed. [root@linux1:~]# telnet 192.168.16.3 3300 [root@linux1:~]# ssh 192.168.16.2 Enter passphrase for key '/root/.ssh/id_rsa': Last login: Thu May 31 15:59:37 2007 from linux1.net.nt Linux linux2 2.6.21.2 #1 SMP Thu May 24 13:33:22 EEST 2007 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. l3-agent is already running: pid=2652; pidfile=/root/.lilalo/l3-agent.pid |
##ssh -f -N -R 3300:127.0.0.1:110 192.168.16.3
PASS password +OK ^] telnet> q Connection closed. [root@linux3:~]# [root@linux3:~]# [root@linux3:~]# [root@linux3:~]# exit Connection to 192.168.16.3 closed. [root@linux1:~]# telnet 192.168.16.3 3300 [root@linux1:~]# ssh 192.168.16.2 Enter passphrase for key '/root/.ssh/id_rsa': Last login: Thu May 31 15:59:37 2007 from linux1.net.nt Linux linux2 2.6.21.2 #1 SMP Thu May 24 13:33:22 EEST 2007 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. l3-agent is already running: pid=2652; pidfile=/root/.lilalo/l3-agent.pid |
#ssh -f -N -L 3400:192.168.16.2:110 192.168.16.1
PASS password +OK ^] telnet> q Connection closed. [root@linux3:~]# [root@linux3:~]# [root@linux3:~]# [root@linux3:~]# exit Connection to 192.168.16.3 closed. [root@linux1:~]# telnet 192.168.16.3 3300 [root@linux1:~]# ssh 192.168.16.2 Enter passphrase for key '/root/.ssh/id_rsa': Last login: Thu May 31 15:59:37 2007 from linux1.net.nt Linux linux2 2.6.21.2 #1 SMP Thu May 24 13:33:22 EEST 2007 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. l3-agent is already running: pid=2652; pidfile=/root/.lilalo/l3-agent.pid |
#telnet 192.168.16.1 3400
Trying 192.168.16.1... telnet: Unable to connect to remote host: Connection refused |
#exit
+OK ^] telnet> q Connection closed. [root@linux3:~]# [root@linux3:~]# [root@linux3:~]# [root@linux3:~]# exit Connection to 192.168.16.3 closed. [root@linux1:~]# telnet 192.168.16.3 3300 [root@linux1:~]# ssh 192.168.16.2 Enter passphrase for key '/root/.ssh/id_rsa': Last login: Thu May 31 15:59:37 2007 from linux1.net.nt Linux linux2 2.6.21.2 #1 SMP Thu May 24 13:33:22 EEST 2007 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. l3-agent is already running: pid=2652; pidfile=/root/.lilalo/l3-agent.pid Connection to 192.168.16.2 closed. |
#telnet 127.0.0.1 3400
Trying 127.0.0.1... telnet: Unable to connect to remote host: Connection refused |
#netstat -lnp | grep :3?00
|
#netstat -lnp | grep :33
|
#netstat -lnp | grep :34
|
#netstat -lnp | grep :34
[root@linux1:~]# netstat -lnp | grep :34 [root@linux1:~]# ssh ;inux2 usage: ssh [-1246AaCfgKkMNnqsTtVvXxY] [-b bind_address] [-c cipher_spec] [-D [bind_address:]port] [-e escape_char] [-F configfile] [-i identity_file] [-L [bind_address:]port:host:hostport] [-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port] [-R [bind_address:]port:host:hostport] [-S ctl_path] [-w tunnel:tunnel] [user@]hostname [command] bash: inux2: command not found [root@linux1:~]# ssh l ssh: linux2: Name or service not known [root@linux1:~]# ssh lin |
#ssh ;inux2
usage: ssh [-1246AaCfgKkMNnqsTtVvXxY] [-b bind_address] [-c cipher_spec] [-D [bind_address:]port] [-e escape_char] [-F configfile] [-i identity_file] [-L [bind_address:]port:host:hostport] [-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port] [-R [bind_address:]port:host:hostport] [-S ctl_path] [-w tunnel:tunnel] [user@]hostname [command] bash: inux2: command not found |
#ssh l
ssh: linux2: Name or service not known |
#ssh 192.168.16.2
Enter passphrase for key '/root/.ssh/id_rsa': Last login: Thu May 31 16:07:46 2007 from linux1.net.nt Linux linux2 2.6.18-4-686 #1 SMP Mon Mar 26 17:17:36 UTC 2007 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. l3-agent is already running: pid=2717; pidfile=/root/.lilalo/l3-agent.pid [root@linux2:~]# Enter passphrase for key '/root/.ssh/id_rsa': Last login: Thu May 31 16:07:46 2007 from linux1.net.nt Linux linux2 2.6.18-4-686 #1 SMP Mon Mar 26 17:17:36 UTC 2007 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. l3-agent is already running: pid=2717; pidfile=/root/.lilalo/l3-agent.pid |
#netstat -lnp | grep :3
Linux linux2 2.6.18-4-686 #1 SMP Mon Mar 26 17:17:36 UTC 2007 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. l3-agent is already running: pid=2717; pidfile=/root/.lilalo/l3-agent.pid [root@linux2:~]# netstat -lnp | grep :3 tcp 0 0 127.0.0.1:3400 0.0.0.0:* LISTEN 2863/ssh tcp 0 0 0.0.0.0:33333 0.0.0.0:* LISTEN 2615/xinetd tcp 0 0 0.0.0.0:3128 0.0.0.0:* LISTEN 2665/(squid) tcp6 0 0 ::1:3400 :::* LISTEN 2863/ssh udp 0 0 0.0.0.0:32769 0.0.0.0:* 2665/(squid) udp 0 0 0.0.0.0:3130 0.0.0.0:* 2665/(squid) [root@linux2:~]# tcp 0 0 127.0.0.1:3400 0.0.0.0:* LISTEN 2863/ssh tcp 0 0 0.0.0.0:33333 0.0.0.0:* LISTEN 2615/xinetd tcp 0 0 0.0.0.0:3128 0.0.0.0:* LISTEN 2665/(squid) tcp6 0 0 ::1:3400 :::* LISTEN 2863/ssh udp 0 0 0.0.0.0:32769 0.0.0.0:* 2665/(squid) udp 0 0 0.0.0.0:3130 0.0.0.0:* 2665/(squid) |
#ssh -f -N -L 3400:192.168.16.1:110 192.168.16.2
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 9e:2d:a9:2d:1c:93:bd:a9:4e:1a:2b:31:c8:fa:a4:3c. 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:18 RSA host key for 192.168.16.2 has changed and you have requested strict checking. Host key verification failed. [root@linux2:~]# ... 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 9e:2d:a9:2d:1c:93:bd:a9:4e:1a:2b:31:c8:fa:a4:3c. 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:18 RSA host key for 192.168.16.2 has changed and you have requested strict checking. Host key verification failed. |
#ssh-keygen -R 192.168.16.2
@ 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 9e:2d:a9:2d:1c:93:bd:a9:4e:1a:2b:31:c8:fa:a4:3c. 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:18 ... /root/.ssh/known_hosts updated. Original contents retained as /root/.ssh/known_hosts.old [root@linux2:~]# ssh -f -N -L 3400:192.168.16.1:110 192.168.16.2 The authenticity of host '192.168.16.2 (192.168.16.2)' can't be established. RSA key fingerprint is 9e:2d:a9:2d:1c:93:bd:a9:4e:1a:2b:31:c8:fa:a4:3c. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '192.168.16.2' (RSA) to the list of known hosts. root@192.168.16.2's password: /root/.ssh/known_hosts updated. Original contents retained as /root/.ssh/known_hosts.old |
#ssh -f -N -L 3400:192.168.16.1:110 192.168.16.2
RSA host key for 192.168.16.2 has changed and you have requested strict checking. Host key verification failed. [root@linux2:~]# ssh-keygen -R 192.168.16.2 /root/.ssh/known_hosts updated. Original contents retained as /root/.ssh/known_hosts.old [root@linux2:~]# ssh -f -N -L 3400:192.168.16.1:110 192.168.16.2 The authenticity of host '192.168.16.2 (192.168.16.2)' can't be established. RSA key fingerprint is 9e:2d:a9:2d:1c:93:bd:a9:4e:1a:2b:31:c8:fa:a4:3c. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '192.168.16.2' (RSA) to the list of known hosts. ... Could not request local forwarding. [root@linux2:~]# ssh -f -N -L 3600:192.168.16.1:110 192.168.16.2 The authenticity of host '192.168.16.2 (192.168.16.2)' can't be established. RSA key fingerprint is 9e:2d:a9:2d:1c:93:bd:a9:4e:1a:2b:31:c8:fa:a4:3c. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '192.168.16.2' (RSA) to the list of known hosts. root@192.168.16.2's password: bind: Address already in use channel_setup_fwd_listener: cannot listen to port: 3400 Could not request local forwarding. |
#ssh -f -N -L 3600:192.168.16.1:110 192.168.16.2
Add correct host key in /root/.ssh/known_hosts to get rid of this message. Offending key in /root/.ssh/known_hosts:18 RSA host key for 192.168.16.2 has changed and you have requested strict checking. Host key verification failed. [root@linux2:~]# ssh-keygen -R 192.168.16.2 /root/.ssh/known_hosts updated. Original contents retained as /root/.ssh/known_hosts.old [root@linux2:~]# ssh -f -N -L 3400:192.168.16.1:110 192.168.16.2 The authenticity of host '192.168.16.2 (192.168.16.2)' can't be established. RSA key fingerprint is 9e:2d:a9:2d:1c:93:bd:a9:4e:1a:2b:31:c8:fa:a4:3c. ... bind: Address already in use channel_setup_fwd_listener: cannot listen to port: 3400 Could not request local forwarding. [root@linux2:~]# ssh -f -N -L 3600:192.168.16.1:110 192.168.16.2 root@192.168.16.2's password: [root@linux2:~]# exit Connection to 192.168.16.2 closed. [root@linux1:~]# netstat -lnp | grep :36 [root@linux1:~]# root@192.168.16.2's password: |
#cd /mnt/
9e:2d:a9:2d:1c:93:bd:a9:4e:1a:2b:31:c8:fa:a4:3c. [root@linux2:~]# ssh -f -N -L 3400:192.168.16. 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:18 RSA host key for 192.168.16.2 has changed and you have requested strict checking. Host key verification failed. [root@linux2:~]# ssh-keygen -R 192.168.16.2 /root/.ssh/known_hosts updated. Original contents retained as /root/.ssh/known_hosts.old ... root@192.168.16.2's password: bind: Address already in use channel_setup_fwd_listener: cannot listen to port: 3400 Could not request local forwarding. [root@linux2:~]# ssh -f -N -L 3600:192.168.16.1:110 192.168.16.2 root@192.168.16.2's password: [root@linux2:~]# exit Connection to 192.168.16.2 closed. [root@linux1:~]# netstat -lnp | grep :36 [root@linux1:~]# ssh ;inux2 |
Время первой команды журнала | 15:30:22 2007- 5-31 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 16:11:10 2007- 5-31 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 25.74 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 0.99 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 0.68 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 2.48 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду 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