Журнал лабораторных работ

Содержание

Журнал

Четверг (05/31/07)

/dev/pts/12
13:37:19
$less /tmp/find
/dev/pts/1
13:37:39
#ds
bash: ds: command not found
13:37:51
#s
bash: s: command not found
13:37:51
#s
bash: s: command not found
13:37:52
#s
bash: s: command not found
13:37:52
#s
bash: s: command not found
/dev/pts/22
13:39:27
#pikill -9 screen
bash: pikill: command not found
13:39:32
#pkill -9 screen

13:39:35
#screen
/dev/pts/5
13:39:44
#ls -l .ssh/
[root@linux1:~]#
[root@linux1:~]#
[root@linux1:~]#
[root@linux1:~]#
[root@linux1:~]# ls -l .ssh/
итого 4
-rw-r--r-- 1 root root 884 2007-05-31 13:29 known_hosts
[root@linux1:~]#
                 итого 4
-rw-r--r-- 1 root root 884 2007-05-31 13:29 known_hosts
/dev/pts/7
13:39:58
#screen -x
/dev/pts/5
13:40:12
#ls -la .ssh/
[root@linux1:~]#
[root@linux1:~]#
[root@linux1:~]#
[root@linux1:~]#
[root@linux1:~]# ls -l .ssh/
итого 4
-rw-r--r-- 1 root root 884 2007-05-31 13:29 known_hosts
[root@linux1:~]# ls -la .ssh/
итого 12
drwx------ 2 root root 4096 2007-05-24 20:41 .
drwxr-xr-x 6 root root 4096 2007-05-31 13:04 ..
-rw-r--r-- 1 root root  884 2007-05-31 13:29 known_hosts
[root@linux1:~]#
                 итого 12
drwx------ 2 root root 4096 2007-05-24 20:41 .
drwxr-xr-x 6 root root 4096 2007-05-31 13:04 ..
-rw-r--r-- 1 root root  884 2007-05-31 13:29 known_hosts
13:40:21
#a
[root@linux1:~]#
[root@linux1:~]#
[root@linux1:~]#
[root@linux1:~]#
[root@linux1:~]# ls -l .ssh/
итого 4
-rw-r--r-- 1 root root 884 2007-05-31 13:29 known_hosts
[root@linux1:~]# ls -la .ssh/
итого 12
drwx------ 2 root root 4096 2007-05-24 20:41 .
...
[root@linux1:~]# a
bash: a: command not found
[root@linux1:~]#
[root@linux1:~]#
[root@linux1:~]#
[root@linux1:~]#
[root@linux1:~]#
[root@linux1:~]#
[root@linux1:~]# ssh-
                     bash: a: command not found
/dev/pts/9
13:41:12
#screeen -x
bash: screeen: command not found
13:41:17
#screen -x
/dev/pts/5
13:41:31
#ssh-key
-rw-r--r-- 1 root root 884 2007-05-31 13:29 known_hosts
[root@linux1:~]# ls -la .ssh/
итого 12
drwx------ 2 root root 4096 2007-05-24 20:41 .
drwxr-xr-x 6 root root 4096 2007-05-31 13:04 ..
-rw-r--r-- 1 root root  884 2007-05-31 13:29 known_hosts
[root@linux1:~]# a
bash: a: command not found
[root@linux1:~]#
[root@linux1:~]#
...
[root@linux1:~]#
[root@linux1:~]#
[root@linux1:~]# ssh-key
ssh-keygen   ssh-keyscan
[root@linux1:~]# ssh-key
ssh-keygen   ssh-keyscan
[root@linux1:~]# ssh-keygen --help
Generating public/private rsa key pair.
[root@linux1:~]# ssh-keygen -
                             ssh-keygen   ssh-keyscan
13:41:31
#ssh-key
ssh-keygen   ssh-keyscan
13:41:31
#ssh-keygen --help
Generating public/private rsa key pair.
13:41:47
#ssh-keygen -t dsa
  -c          Change comment in private and public key files.
  -e          Convert OpenSSH to IETF SECSH key file.
  -F hostname Find hostname in known hosts file.
  -f filename Filename of the key file.
  -G file     Generate candidates for DH-GEX moduli.
  -g          Use generic DNS resource record format.
  -H          Hash names in known_hosts file.
  -i          Convert IETF SECSH to OpenSSH key file.
  -l          Show fingerprint of key file.
  -M memory   Amount of memory (MB) to use for generating DH-GEX moduli.
...
  -q          Quiet.
  -R hostname Remove host from known_hosts file.
  -r hostname Print DNS resource record.
  -S start    Start point (hex) for generating DH-GEX moduli.
  -T file     Screen candidates for DH-GEX moduli.
  -t type     Specify type of key to create.
  -v          Verbose.
  -W gen      Generator to use for generating DH-GEX moduli.
  -y          Read private key file and print public key.
[root@linux1:~]#
13:41:55
#ssh-keygen -h
ssh-keygen: illegal option -- h
Usage: ssh-keygen [options]
Options:
  -a trials   Number of trials for screening DH-GEX moduli.
  -B          Show bubblebabble digest of key file.
  -b bits     Number of bits in the key to create.
  -C comment  Provide new comment.
  -c          Change comment in private and public key files.
  -e          Convert OpenSSH to IETF SECSH key file.
  -F hostname Find hostname in known hosts file.
...
  -p          Change passphrase of private key file.
  -q          Quiet.
  -R hostname Remove host from known_hosts file.
  -r hostname Print DNS resource record.
  -S start    Start point (hex) for generating DH-GEX moduli.
  -T file     Screen candidates for DH-GEX moduli.
  -t type     Specify type of key to create.
  -v          Verbose.
  -W gen      Generator to use for generating DH-GEX moduli.
  -y          Read private key file and print public key.
13:42:01
#ssh-keygen
  -R hostname Remove host from known_hosts file.
  -p trials   Number of trials for screening DH-GEX moduli.
  -r hostname Print DNS resource record.
  -B
  -S start    Start point (hex) for generating DH-GEX moduli.
  -T file     Verbose.andidates for DH-GEX moduli.
  -W gen      Read private key file and print public key.li.
[root@linux1:~]#
[root@linux1:~]# ssh-keygen
Generating public/private rsa key pair.
...
[root@linux1:~]#
                 Generating public/private rsa key pair.
Enter file in which to save the key (/root/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /root/.ssh/id_rsa.
Your public key has been saved in /root/.ssh/id_rsa.pub.
The key fingerprint is:
c2:cc:9d:91:6c:fd:1e:19:9e:4d:16:f1:1c:7e:d1:60 root@linux1
-------------------------------------------------------------------------------------------------------------------------------
/dev/pts/13
13:42:07
#screen -x
/dev/pts/5
13:43:15
#md5sum
  -l
  -M memory   Amount of memory (MB) to use for generating DH-GEX moduli.
  -N phrase   Change passphrase of private key file.
              Quiet.
  -q phrase   Provide old passphrase.
  -R hostname Remove host from known_hosts file.
  -p trials   Number of trials for screening DH-GEX moduli.
  -r hostname Print DNS resource record.
  -B
  -S start    Start point (hex) for generating DH-GEX moduli.
...
Your public key has been saved in /root/.ssh/id_rsa.pub.
The key fingerprint is:
c2:cc:9d:91:6c:fd:1e:19:9e:4d:16:f1:1c:7e:d1:60 root@linux1
[root@linux1:~]# md5sum
md5sum            md5sum.textutils
[root@linux1:~]# md5sum .ssh/
id_rsa       id_rsa.pub   known_hosts
[root@linux1:~]# md5sum .ssh/
                             md5sum            md5sum.textutils
-------------------------------------------------------------------------------------------------------------------------------
13:43:15
#md5sum .ssh/
id_rsa       id_rsa.pub   known_hosts
13:43:15
#md5sum .ssh/id_rsa*
  -r hostname Print DNS resource record.
  -B
  -S start    Start point (hex) for generating DH-GEX moduli.
  -T file     Verbose.andidates for DH-GEX moduli.
  -W gen      Read private key file and print public key.li.
[root@linux1:~]#
[root@linux1:~]# ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (/root/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
...
md5sum            md5sum.textutils
[root@linux1:~]# md5sum .ssh/
id_rsa       id_rsa.pub   known_hosts
[root@linux1:~]# md5sum .ssh/id_rsa*
834f8fe694de6faf1538d9820d55567e  .ssh/id_rsa
9508ecc873284436c16798944ff8d3b9  .ssh/id_rsa.pub
[root@linux1:~]#
                 834f8fe694de6faf1538d9820d55567e  .ssh/id_rsa
9508ecc873284436c16798944ff8d3b9  .ssh/id_rsa.pub
-------------------------------------------------------------------------------------------------------------------------------
13:43:54
#man ssh-keygen
13:45:10
#ls -l .ssh/
     -C comment
             Provides a new comment.
     -c      Requests changing the comment in the private and public key files.  This operation is only supported for RSA1
             keys.  The program will prompt for the file containing the private keys, for the passphrase if the key has
             one, and for the new comment.
     -D reader
             Download the RSA public key stored in the smartcard in reader.
     -e      This option will read a private or public OpenSSH key file and print the key in a ‘SECSH Public Key File
[root@linux1:~]#
[root@linux1:~]#
[root@linux1:~]# ls -l .ssh/
итого 12
-rw------- 1 root root 1675 2007-05-31 13:43 id_rsa
-rw-r--r-- 1 root root  393 2007-05-31 13:43 id_rsa.pub
-rw-r--r-- 1 root root  884 2007-05-31 13:29 known_hosts
[root@linux1:~]# ssh-keygen -t
                               итого 12
-rw------- 1 root root 1675 2007-05-31 13:43 id_rsa
-rw-r--r-- 1 root root  393 2007-05-31 13:43 id_rsa.pub
-rw-r--r-- 1 root root  884 2007-05-31 13:29 known_hosts
-------------------------------------------------------------------------------------------------------------------------------
13:45:23
#ssh-keygen -t dsa -b 1024
Enter file in which to save the key (/root/.ssh/id_dsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /root/.ssh/id_dsa.
Your public key has been saved in /root/.ssh/id_dsa.pub.
The key fingerprint is:
f3:dd:35:a5:c7:77:5f:1b:1a:4d:95:6f:b1:29:02:4f root@linux1
[root@linux1:~]# ls -l .ssh/
итого 20
-rw------- 1 root root  668 2007-05-31 13:45 id_dsa
...
[root@linux1:~]#
                 Generating public/private dsa key pair.
Enter file in which to save the key (/root/.ssh/id_dsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /root/.ssh/id_dsa.
Your public key has been saved in /root/.ssh/id_dsa.pub.
The key fingerprint is:
f3:dd:35:a5:c7:77:5f:1b:1a:4d:95:6f:b1:29:02:4f root@linux1
-------------------------------------------------------------------------------------------------------------------------------
13:45:53
#ls -l .ssh/
итого 20
-rw------- 1 root root  668 2007-05-31 13:45 id_dsa
-rw-r--r-- 1 root root  601 2007-05-31 13:45 id_dsa.pub
-rw------- 1 root root 1675 2007-05-31 13:43 id_rsa
-rw-r--r-- 1 root root  393 2007-05-31 13:43 id_rsa.pub
-rw-r--r-- 1 root root  884 2007-05-31 13:29 known_hosts
13:45:56
#vim .ssh/id_rsa.pub
13:46:18
#cat .ssh/
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA6cozkS4v1d7RrYdGWi5ZSJOHTBF/WyMv/2U7efRo28AAoBuSqfnQxWjtGESAqWRnpc/aidikX1fHiYHIxB8j59YKBud
qThhh6aN76ljMzxZ8xW7O4RqEAK0vY3At2i7o64FCGDMJCZ3a6DS+n5o4pKsv2r86pq4hDIjseWWc8c9c/5VRY14wMCNkdsrfdC4ZGab7fNWg5UUDPjL/j4ceYbBAe3
PyipsotN62M5X1C+LkURDbpKQXItl7f1AllTP0DrUYDiXDTWAlcc/H5ssVoSBY1krDZ3yJ9/9AKvh4ReP38XdZm0NVUe+aROF9Zw9CBeuczNiWV8UzBXSW8KBxHw==
root@linux1
~
~
~
~
~
~
...
~
~
~
~
~
~
~
id_dsa       id_dsa.pub   id_rsa       id_rsa.pub   known_hosts
".ssh/id_rsa.pub" 1L, 393C
-------------------------------------------------------------------------------------------------------------------------------
13:46:18
#cat .ssh/id_rsa.pub | ssh 192.168.16.3 'cat >> ~/.ssh/authorized_keys'
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA6cozkS4v1d7RrYdGWi5ZSJOHTBF/WyMv/2U7efRo28AAoBuSqfnQxWjtGESAqWRnpc/aidikX1fHiYHIxB8j59YKBud
qThhh6aN76ljMzxZ8xW7O4RqEAK0vY3At2i7o64FCGDMJCZ3a6DS+n5o4pKsv2r86pq4hDIjseWWc8c9c/5VRY14wMCNkdsrfdC4ZGab7fNWg5UUDPjL/j4ceYbBAe3
PyipsotN62M5X1C+LkURDbpKQXItl7f1AllTP0DrUYDiXDTWAlcc/H5ssVoSBY1krDZ3yJ9/9AKvh4ReP38XdZm0NVUe+aROF9Zw9CBeuczNiWV8UzBXSW8KBxHw==
root@linux1
~
~
~
~
~
~
...
~
~
~
~
~
~
~
root@192.168.16.3's password:
".ssh/id_rsa.pub" 1L, 393C
-------------------------------------------------------------------------------------------------------------------------------
13:47:01
#ssh 192.168.16.3
Last login: Thu May 31 13:41:06 2007
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
13:47:12
#exit
Connection to 192.168.16.3 closed.
13:47:17
#cat .ssh/id_rsa.pub | ssh 192.168.16.2 'cat >> ~/.ssh/authorized_keys'
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA6cozkS4v1d7RrYdGWi5ZSJOHTBF/WyMv/2U7efRo28AAoBuSqfnQxWjtGESAqWRnpc/aidikX1fHiYHIxB8j59YKBud
qThhh6aN76ljMzxZ8xW7O4RqEAK0vY3At2i7o64FCGDMJCZ3a6DS+n5o4pKsv2r86pq4hDIjseWWc8c9c/5VRY14wMCNkdsrfdC4ZGab7fNWg5UUDPjL/j4ceYbBAe3
PyipsotN62M5X1C+LkURDbpKQXItl7f1AllTP0DrUYDiXDTWAlcc/H5ssVoSBY1krDZ3yJ9/9AKvh4ReP38XdZm0NVUe+aROF9Zw9CBeuczNiWV8UzBXSW8KBxHw==
root@linux1
~
~
~
~
~
~
...
~
~
~
~
~
~
~
root@192.168.16.2's password:
".ssh/id_rsa.pub" 1L, 393C
-------------------------------------------------------------------------------------------------------------------------------
13:51:16
#cat .ssh/id_rsa.pub | ssh 192.168.16.2 'cat >> ~/.ssh/authorized_keys'
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA6cozkS4v1d7RrYdGWi5ZSJOHTBF/WyMv/2U7efRo28AAoBuSqfnQxWjtGESAqWRnpc/aidikX1fHiYHIxB8j59YKBud
qThhh6aN76ljMzxZ8xW7O4RqEAK0vY3At2i7o64FCGDMJCZ3a6DS+n5o4pKsv2r86pq4hDIjseWWc8c9c/5VRY14wMCNkdsrfdC4ZGab7fNWg5UUDPjL/j4ceYbBAe3
PyipsotN62M5X1C+LkURDbpKQXItl7f1AllTP0DrUYDiXDTWAlcc/H5ssVoSBY1krDZ3yJ9/9AKvh4ReP38XdZm0NVUe+aROF9Zw9CBeuczNiWV8UzBXSW8KBxHw==
root@linux1
~
~
~
~
~
~
...
~
~
~
~
~
~
~
~
".ssh/id_rsa.pub" 1L, 393C
-------------------------------------------------------------------------------------------------------------------------------
13:54:41
#for i in 1,2,3,4 ; do ssh 192.168.16.$i 'echo PORA NA OBED | wall' ;done
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA6cozkS4v1d7RrYdGWi5ZSJOHTBF/WyMv/2U7efRo28AAoBuSqfnQxWjtGESAqWRnpc/aidikX1fHiYHIxB8j59YKBud
qThhh6aN76ljMzxZ8xW7O4RqEAK0vY3At2i7o64FCGDMJCZ3a6DS+n5o4pKsv2r86pq4hDIjseWWc8c9c/5VRY14wMCNkdsrfdC4ZGab7fNWg5UUDPjL/j4ceYbBAe3
PyipsotN62M5X1C+LkURDbpKQXItl7f1AllTP0DrUYDiXDTWAlcc/H5ssVoSBY1krDZ3yJ9/9AKvh4ReP38XdZm0NVUe+aROF9Zw9CBeuczNiWV8UzBXSW8KBxHw==
root@linux1
~
~
~
~
~
~
...
~
~
~
~
~
~
~
ssh: 192.168.16.1,2,3,4: Name or service not known
".ssh/id_rsa.pub" 1L, 393C
-------------------------------------------------------------------------------------------------------------------------------
13:55:43
#for i in 1 2 3 4 ; do ssh 192.168.16.$i 'echo PORA NA OBED | wall' ;done
~
~
~
~
~
~
~
~
~
~
...
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.16.1' (RSA) to the list of known hosts.
root@192.168.16.1's password:
wall: /dev/pts/14: No such file or directory
The authenticity of host '192.168.16.4 (192.168.16.4)' can't be established.
RSA key fingerprint is de:b0:ed:bc:87:d4:04:46:f8:f9:26:31:c3:84:2a:63.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.16.4' (RSA) to the list of known hosts.
root@192.168.16.4's password:
-------------------------------------------------------------------------------------------------------------------------------
13:56:11
#cat /etc/motd
~
~
~
~
~
~
~
~
~
~
Linux linux1 2.6.18-4-686 #1 SMP Mon Mar 26 17:17:36 UTC 2007 i686
             !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
             !!!            LINUX1           !!!
             !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
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.
-------------------------------------------------------------------------------------------------------------------------------
13:56:45
#cat /etc/motd
~
~
~
~
~
~
~
~
~
~
Linux linux1 2.6.18-4-686 #1 SMP Mon Mar 26 17:17:36 UTC 2007 i686
             !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
             !!!            LINUX1           !!!
             !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
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.
-------------------------------------------------------------------------------------------------------------------------------
13:57:13
#cat .ssh/id_rsa.pub | ssh 192.168.16.1
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA6cozkS4v1d7RrYdGWi5ZSJOHTBF/WyMv/2U7efRo28AAoBuSqfnQxWjtGESAqWRnpc/aidikX1fHiYHIxB8j59YKBud
qThhh6aN76ljMzxZ8xW7O4RqEAK0vY3At2i7o64FCGDMJCZ3a6DS+n5o4pKsv2r86pq4hDIjseWWc8c9c/5VRY14wMCNkdsrfdC4ZGab7fNWg5UUDPjL/j4ceYbBAe3
PyipsotN62M5X1C+LkURDbpKQXItl7f1AllTP0DrUYDiXDTWAlcc/H5ssVoSBY1krDZ3yJ9/9AKvh4ReP38XdZm0NVUe+aROF9Zw9CBeuczNiWV8UzBXSW8KBxHw==
root@linux1
~
~
~
~
~
~
...
~
~
~
~
~
~
~
root@192.168.16.1's password:
".ssh/id_rsa.pub" 1L, 393C
-------------------------------------------------------------------------------------------------------------------------------
13:57:32
#cat .ssh/id_rsa.pub | ssh 192.168.16.4 'cat >> ~/.ssh/authorized_keys'
root@192.168.16.4's password:
13:57:39
#for i in 1 2 3 4 ; do ssh 192.168.16.$i 'echo PORA NA OBED | wall' ;done
wall: /dev/pts/14: No such file or directory
13:57:45
#while true ;do for i in 1 2 3 4 ; do ssh 192.168.16.$i 'echo PORA NA OBED | wall' ;done;done
wall: /dev/pts/14: No such file or directory
wall: /dev/pts/14: No such file or directory
wall: /dev/pts/14: No such file or directory
wall: /dev/pts/14: No such file or directory
wall: /dev/pts/14: No such file or directory
wall: /dev/pts/14: No such file or directory
wall: /dev/pts/14: No such file or directory
wall: /dev/pts/14: No such file or directory
wall: /dev/pts/14: No such file or directory
wall: /dev/pts/14: No such file or directory
wall: /dev/pts/14: No such file or directory
wall: /dev/pts/14: No such file or directory
wall: /dev/pts/14: No such file or directory
wall: /dev/pts/14: No such file or directory
^[wall: /dev/pts/14: No such file or directory
wall: /dev/pts/14: No such file or directory
~wall: /dev/pts/14: No such file or directory
[1]+  Stopped                 ssh 192.168.16.$i 'echo PORA NA OBED | wall'
-------------------------------------------------------------------------------------------------------------------------------
/dev/pts/22
13:59:44
#vim /tmp/script
/dev/pts/7
13:59:47
#apt-ger install open ssh-server
bash: apt-ger: command not found
прошло 56 минут
/dev/pts/22
14:56:01
#. /tmp/script
1
14:56:05
#echo $
$_                    $BASH_SUBSHELL        $HISTFILESIZE         $MACHTYPE             $RANDOM
$A                    $BASH_VERSINFO        $HISTSIZE             $MAIL                 $SECONDS
$B                    $BASH_VERSION         $HOME                 $MAILCHECK            $SHELL
$BASH                 $COLUMNS              $HOSTNAME             $old_file             $SHELLOPTS
$bash205              $COMP_WORDBREAKS      $HOSTTYPE             $OPTERR               $SHLVL
$bash205b             $DIFFNAME             $IFS                  $OPTIND               $SSH_CLIENT
$bash3                $DIR                  $L3_HOME              $OSTYPE               $SSH_CONNECTION
$BASH_ARGC            $DIRSTACK             $L3_PARENT_TTY        $PATH                 $SSH_TTY
$BASH_ARGV            $editor_file          $L3_SESSION_ID        $PIPESTATUS           $TERM
$BASH_COMMAND         $editor_name          $L3_TAMPERED_EDITORS  $PPID                 $TIME
$BASH_COMPLETION      $EUID                 $LANG                 $PS1                  $UID
$BASH_COMPLETION_DIR  $GROUPS               $LINENO               $PS2                  $USER
$BASH_LINENO          $HISTCMD              $LINES                $PS4
$BASH_SOURCE          $HISTFILE             $LOGNAME              $PWD
14:56:34
#screen
/dev/pts/0
14:57:02
#. /etc/bash_completion
[root@linux1:~]#
[root@linux1:~]#
[root@linux1:~]#
[root@linux1:~]# . /etc/bash_completion
[root@linux1:~]#
[root@linux1:~]#
[root@linux1:~]#
[root@linux1:~]#
/dev/pts/6
14:57:13
#screen -x
/dev/pts/5
14:57:20
#screen -x
/dev/pts/4
14:57:30
#apt-get install openssh-server
Чтение списков пакетов... Готово
Построение дерева зависимостей... Готово
Уже установлена самая новая версия openssh-server.
обновлено 0, установлено 0 новых пакетов, для удаления отмечено 0 пакетов, и 0 пакетов не обновлено.
/dev/pts/7
14:57:43
#apt-get install open ssh-server
Чтение списков пакетов... Готово
Построение дерева зависимостей... Готово
Пакет open - виртуальный, его функции предоставляются пакетами:
  kbd 1.12-17
  console-tools 1:0.2.3dbs-65
Вы должны явно указать, какой именно вы хотите установить.
E: Для пакета open не найдены кандидаты на установку
/dev/pts/4
14:57:49
#ssh-keygen
Generating public/private rsa key pair.
/dev/pts/7
14:57:49
#apt-get install openssh-server
Чтение списков пакетов... Готово
Построение дерева зависимостей... Готово
Уже установлена самая новая версия openssh-server.
обновлено 0, установлено 0 новых пакетов, для удаления отмечено 0 пакетов, и 0 пакетов не обновлено.
/dev/pts/4
14:58:03
#ssh-keygen -t rsa -b 2048
Generating public/private rsa key pair.
Enter file in which to save the key (/root/.ssh/id_rsa):
                                                         Generating public/private rsa key pair.
Enter file in which to save the key (/root/.ssh/id_rsa):
/root/.ssh/id_rsa already exists.
Overwrite (y/n)? y
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /root/.ssh/id_rsa.
Your public key has been saved in /root/.ssh/id_rsa.pub.
The key fingerprint is:
1d:14:00:21:24:4c:42:0b:e0:1a:7f:81:60:32:34:09 root@linux1
/dev/pts/7
14:58:15
#ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (/root/.ssh/id_rsa):
/root/.ssh/id_rsa already exists.
Overwrite (y/n)? y
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /root/.ssh/id_rsa.
Your public key has been saved in /root/.ssh/id_rsa.pub.
The key fingerprint is:
1e:c1:9f:d5:67:40:6c:2e:05:f3:d2:ff:04:3f:ae:02 root@linux1
/dev/pts/4
14:58:34
#. /etc/bash_completion

14:59:21
#cat .ssh/id_rsa.pub | ssh -l root 192.168.16.2 'cat >> ~/.ssh/authorized_keys'
root@192.168.16.2's password:
/dev/pts/7
14:59:27
#cat ~/.ssh/id_rsa_pub | ssh 192.168.16.3 'cat >> ~/.ssh/authorized_keys'
cat: /root/.ssh/id_rsa_pub: No such file or directory
/dev/pts/4
15:01:07
#ssh 192.168.16.2
Last login: Thu May 31 13:41:49 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=2656; pidfile=/root/.lilalo/l3-agent.pid
15:01:15
#exit
exit
Connection to 192.168.16.2 closed.
15:01:16
#cat .ssh/id_rsa.pub | ssh -l root 192.168.16.3 'cat >> ~/.ssh/authorized_keys'
root@192.168.16.3's password:
15:01:29
#cat .ssh/id_rsa.pub | ssh -l root 192.168.16.4 'cat >> ~/.ssh/authorized_keys'
root@192.168.16.4's password:
15:01:45
#ssh 192.168.16.3
Last login: Thu May 31 14:00:53 2007 from linux4.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
15:01:53
#exit
exit
Connection to 192.168.16.3 closed.
15:01:56
#ssh 192.168.16.4
Last login: Wed May 30 18:22:57 2007 from linux1.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.
15:02:04
#cat .ssh/authorized_keys
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA6cozkS4v1d7RrYdGWi5ZSJOHTBF/WyMv/2U7efRo28AAoBuSqfnQxWjtGESAqWRnpc/aidikX1fHiYHIxB8j59YKBudqThhh6aN76ljMzxZ8xW7O4RqEAK0vY3At2i7o64FCGDMJCZ3a6DS+n5o4pKsv2r86pq4hDIjseWWc8c9c/5VRY14wMCNkdsrfdC4ZGab7fNWg5UUDPjL/j4ceYbBAe3PyipsotN62M5X1C+LkURDbpKQXItl7f1AllTP0DrUYDiXDTWAlcc/H5ssVoSBY1krDZ3yJ9/9AKvh4ReP38XdZm0NVUe+aROF9Zw9CBeuczNiWV8UzBXSW8KBxHw== root@linux1
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA3ua9MwIo3tP+VPybUZfKiSvh01Ubze0Fvc5gDjV48Yx95POdEu1sPV/lRhZFHtChOoLViyPRofrr0t86NirqVfcGlOfPj5DqxePqa3kAVFBBwQ1bZiFKptUM1ML4JDFL2Qj3m4xmF3MEYXk56j8c3VXwm6AgqDakugGKEGlNSkVCmQj8JB7jEFxNsL97jhJLIhFYbEWuupuoWY36cQhepehiHZKHCABAZA8fK1Mv5zAxfETA8oZpKvx9voyjK2lwrP7bnxK5yjlpWibZCpCvD4tO/XOg9You5zKaZWJcmofzb6PsjUSQC8D027ts4Qw9Uf5LyTSXsjuI9j2DrlV1Kw== root@linux3
15:02:17
#cat .ssh/authorized_keys
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA6cozkS4v1d7RrYdGWi5ZSJOHTBF/WyM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
/dev/pts/7
15:02:18
#cat ~/.ssh/id_rsa.pub | ssh 192.168.16.3 'cat >> ~/.ssh/authorized_keys'

15:03:35
#ssh 192.168.16.3
[root@linux1:~]#
[root@linux1:~]#
[root@linux1:~]#
[root@linux1:~]# . /etc/bash_completion
                                       Last login: Thu May 31 15:01:53 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
15:03:56
#exit
Connection to 192.168.16.3 closed.
/dev/pts/4
15:04:48
#ssh 192.168.16.2
[root@linux1:~]#
[root@linux1:~]#
[root@linux1:~]# . /etc/bash_completion
[root@linux1:~]#
[root@linux1:~]#
[root@linux1:~]#
[root@linux1:~]#
[root@linux1:~]#
[root@linux1:~]# ping 192.168.16.2
PING 192.168.16.2 (192.168.16.2) 56(84) bytes of data.
-------------------------------------------------------------------------------------------------------------------------------
/dev/pts/0
15:05:12
#ping 192.168.16.2
[root@linux1:~]#
[root@linux1:~]#
[root@linux1:~]#
[root@linux1:~]# ping 192.168.16.2
PING 192.168.16.2 (192.168.16.2) 56(84) bytes of data.
--- 192.168.16.2 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2002ms
[root@linux1:~]#
                 PING 192.168.16.2 (192.168.16.2) 56(84) bytes of data.
--- 192.168.16.2 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2002ms
-------------------------------------------------------------------------------------------------------------------------------
/dev/pts/4
15:05:19
#exit
exit
Connection to 192.168.16.4 closed.
15:07:20
#ssh 192.168.16.2
[root@linux1:~]#
[root@linux1:~]#
[root@linux1:~]# . /etc/bash_completion
[root@linux1:~]#
[root@linux1:~]#
[root@linux1:~]#
[root@linux1:~]#
[root@linux1:~]#
[root@linux1:~]# ping 192.168.16.2
PING 192.168.16.2 (192.168.16.2) 56(84) bytes of data.
--- 192.168.16.2 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2002ms
[root@linux1:~]#
                 ssh: connect to host 192.168.16.2 port 22: No route to host
-------------------------------------------------------------------------------------------------------------------------------
/dev/pts/0
15:07:27
#ls -l .ssh/
[root@linux1:~]#
[root@linux1:~]#
[root@linux1:~]# ping 192.168.16.2
PING 192.168.16.2 (192.168.16.2) 56(84) bytes of data.
--- 192.168.16.2 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2002ms
[root@linux1:~]# ls -l .ssh/
итого 24
-rw-r--r-- 1 root root 1179 2007-05-31 15:04 authorized_keys
-rw------- 1 root root  668 2007-05-31 13:45 id_dsa
...
-rw-r--r-- 1 root root 1768 2007-05-31 13:56 known_hosts
[root@linux1:~]#
                 итого 24
-rw-r--r-- 1 root root 1179 2007-05-31 15:04 authorized_keys
-rw------- 1 root root  668 2007-05-31 13:45 id_dsa
-rw-r--r-- 1 root root  601 2007-05-31 13:45 id_dsa.pub
-rw------- 1 root root 1675 2007-05-31 14:59 id_rsa
-rw-r--r-- 1 root root  393 2007-05-31 14:59 id_rsa.pub
-rw-r--r-- 1 root root 1768 2007-05-31 13:56 known_hosts
-------------------------------------------------------------------------------------------------------------------------------
15:08:15
#w
 15:08:36 up  5:42, 10 users,  load average: 0,31, 0,14, 0,05
USER     TTY      FROM              LOGIN@   IDLE   JCPU   PCPU WHAT-----------------------------------------------------------
user     :0       -                09:27   ?xdm?  38:25m  1.20s x-session-manager
user     pts/3    :0.0             09:40    1:09m  0.25s  0.24s script -f -q /home/user/.lilalo//1793719166289054487-118059362
root     pts/10   net.nt           11:43    3:09   0.22s  0.07s script -f -q /root/.lilalo//197061024767539103-1180601008.scri
root     pts/22   net.nt           13:39   21.00s  0.18s  0.05s script -f -q /root/.lilalo//13027106061357414589-1180607967.sc
root     pts/13   linux2.net.nt    13:42   11:32m  0.08s  0.03s script -f -q /root/.lilalo//21166266812737827392-1180608127.sc
root     pts/0    :pts/23:S.0      14:57    1.00s  0.02s  0.01s script -f -q /root/.lilalo//18465298192964120129-1180612621.sc
user     pts/2    :0.0             14:57    1.00s  0.27s  0.26s script -f -q /home/user/.lilalo//2749326346844122774-118061262
root     pts/6    linux4.net.nt    14:57   11:22m  0.02s  0.02s script -f -q /root/.lilalo//1968358151988330022-1180612632.scr
...
                  15:08:36 up  5:42, 10 users,  load average: 0,31, 0,14, 0,05
USER     TTY      FROM              LOGIN@   IDLE   JCPU   PCPU WHAT
user     :0       -                09:27   ?xdm?  38:25m  1.20s x-session-manager
user     pts/3    :0.0             09:40    1:09m  0.25s  0.24s script -f -q /home/user/.lilalo//1793719166289054487-118059362
root     pts/10   net.nt           11:43    3:09   0.22s  0.07s script -f -q /root/.lilalo//197061024767539103-1180601008.scri
root     pts/22   net.nt           13:39   21.00s  0.18s  0.05s script -f -q /root/.lilalo//13027106061357414589-1180607967.sc
root     pts/13   linux2.net.nt    13:42   11:32m  0.08s  0.03s script -f -q /root/.lilalo//21166266812737827392-1180608127.sc
root     pts/0    :pts/23:S.0      14:57    1.00s  0.02s  0.01s script -f -q /root/.lilalo//18465298192964120129-1180612621.sc
user     pts/2    :0.0             14:57    1.00s  0.27s  0.26s script -f -q /home/user/.lilalo//2749326346844122774-118061262
root     pts/6    linux4.net.nt    14:57   11:22m  0.02s  0.02s script -f -q /root/.lilalo//1968358151988330022-1180612632.scr
15:08:39
#ssh-keygen -R IP
[root@linux1:~]#
[root@linux1:~]#
[root@linux1:~]# w
 15:08:36 up  5:42, 10 users,  load average: 0,31, 0,14, 0,05
USER     TTY      FROM              LOGIN@   IDLE   JCPU   PCPU WHAT-----------------------------------------------------------
user     :0       -                09:27   ?xdm?  38:25m  1.20s x-session-manager
user     pts/3    :0.0             09:40    1:09m  0.25s  0.24s script -f -q /home/user/.lilalo//1793719166289054487-118059362
root     pts/10   net.nt           11:43    3:09   0.22s  0.07s script -f -q /root/.lilalo//197061024767539103-1180601008.scri
root     pts/22   net.nt           13:39   21.00s  0.18s  0.05s script -f -q /root/.lilalo//13027106061357414589-1180607967.sc
root     pts/13   linux2.net.nt    13:42   11:32m  0.08s  0.03s script -f -q /root/.lilalo//21166266812737827392-1180608127.sc
root     pts/0    :pts/23:S.0      14:57    1.00s  0.02s  0.01s script -f -q /root/.lilalo//18465298192964120129-1180612621.sc
user     pts/2    :0.0             14:57    1.00s  0.27s  0.26s script -f -q /home/user/.lilalo//2749326346844122774-118061262
root     pts/6    linux4.net.nt    14:57   11:22m  0.02s  0.02s script -f -q /root/.lilalo//1968358151988330022-1180612632.scr
[root@linux1:~]#
[root@linux1:~]#
[root@linux1:~]#
[root@linux1:~]# ssh-keygen -R IP
[root@linux1:~]#
[root@linux1:~]#
[root@linux1:~]#
[root@linux1:~]#
/dev/pts/7
15:09:00
#ssh 192.168.16.3
-rw-r--r-- 1 root root  601 2007-05-31 13:45 id_dsa.pub
-rw------- 1 root root 1675 2007-05-31 14:59 id_rsa
-rw-r--r-- 1 root root  393 2007-05-31 14:59 id_rsa.pub
-rw-r--r-- 1 root root 1768 2007-05-31 13:56 known_hosts
[root@linux1:~]#
[root@linux1:~]#
[root@linux1:~]#
[root@linux1:~]# w
 15:08:36 up  5:42, 10 users,  load average: 0,31, 0,14, 0,05
USER     TTY      FROM              LOGIN@   IDLE   JCPU   PCPU WHAT
...
root     pts/10   net.nt           11:43    3:09   0.22s  0.07s script -f -q /root/.lilalo//197061024767539103-1180601008.scri
root     pts/22   net.nt           13:39   21.00s  0.18s  0.05s script -f -q /root/.lilalo//13027106061357414589-1180607967.sc
root     pts/13   linux2.net.nt    13:42   11:32m  0.08s  0.03s script -f -q /root/.lilalo//21166266812737827392-1180608127.sc
root     pts/0    :pts/23:S.0      14:57    1.00s  0.02s  0.01s script -f -q /root/.lilalo//18465298192964120129-1180612621.sc
user     pts/2    :0.0             14:57    1.00s  0.27s  0.26s script -f -q /home/user/.lilalo//2749326346844122774-118061262
root     pts/6    linux4.net.nt    14:57   11:22m  0.02s  0.02s script -f -q /root/.lilalo//1968358151988330022-1180612632.scr
[root@linux1:~]#
[root@linux1:~]#
[root@linux1:~]#
[root@linux1:~]# ssh-keygen -R
/dev/pts/7
15:09:21
#screen -x
/dev/pts/0
15:09:26
#cat .ssh/known_hosts
root     pts/22   net.nt           13:39   21.00s  0.18s  0.05s script -f -q /root/.lilalo//13027106061357414589-1180607967.sc
root     pts/13   linux2.net.nt    13:42   11:32m  0.08s  0.03s script -f -q /root/.lilalo//21166266812737827392-1180608127.sc
root     pts/0    :pts/23:S.0      14:57    1.00s  0.02s  0.01s script -f -q /root/.lilalo//18465298192964120129-1180612621.sc
user     pts/2    :0.0             14:57    1.00s  0.27s  0.26s script -f -q /home/user/.lilalo//2749326346844122774-118061262
root     pts/6    linux4.net.nt    14:57   11:22m  0.02s  0.02s script -f -q /root/.lilalo//1968358151988330022-1180612632.scr
[root@linux1:~]#
[root@linux1:~]#
[root@linux1:~]#
[root@linux1:~]# ssh-keygen -R IP
[root@linux1:~]#
...
|1|NYcDD6IBokzLlZTC0p89iMib73w=|n2OjOLEPrm4hKg+jvvY4paN/G1s= ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA14kGxTpUCEp7aOMtvkIMqRAT1u8HHpDguIdbnGHNcmR1jIddljvbyfap527tOjq13EBrS8W6vfmn3YFT5W5iCjs2XM5a5VAy/IlxNuN0u7bdVAtt2hYj7gTJvAh3qkMfTjIS4wBPlniufwN0MgRGRTuqyF3PcKAcQB39SN+RNZHbMCe2ZR1+ICTKiTYZEJxYjVjmiNKMxhMgEVOMfHAC3WanuwAKNX+wfpvugyU26zkj54cdOFitY2A5/NvWbkScSC4gMMXEOnmOET6y9JrUMxwE1BCl206TK2owi3qroI0OEY/
|1|ayRtnu+M7y4nPGM5ui+3uv6/xvc=|7LelfGsm5EfYL3UDESY1LbxYi4I= ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA7fm6p4Fp9ko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JBu9PBLwbRo0OWP4hJilQl8D4Mf8wfu8N75S1nh1t24v6JD81mxYeG1p/78DhHFJGyl3YCgSjkBSNbzhjS2EaX7lOmYCpGGhh4HmcVk5A
|1|rx968rG6BaRMVwrltMZme1zaz0E=|Uq++cSnjKKPDJBgXDRi3ynXUGDU= ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA4lN8id/+Bd0TnL/m9hxuIRoFXRNueYCind3GIO9OwKpp2RqJbxHQwmONRDf1taLjIhNkAjRghfstZBBngVhi3N/bkDuyR9m93R2/qSTPgFWcYtgN0KEcmpJ5Txa7YqK4NcicTBbl3GU1rLjgpn7VHQ2FdNN3s0EYayiGs6j9UdAZtasfofpPWhagLLvdMSSkmcGWWqYEWFECMF0gQePb6V2+101RV/7lwApnQgzy3oj6llyx9iuG0gmpZOfTAE6+03YynwYXZM4+3Q+D0mTEl6L8yz3V62S7Ibv9aW31KFqwS7D
[root@linux1:~]# cat .ssh/known_hosts
/dev/pts/16
15:09:29
#screen -x
/dev/pts/0
15:10:07
#ssh 192.168.16.2
[root@linux1:~]#
[root@linux1:~]#
[root@linux1:~]# ssh-keygen -R IP
[root@linux1:~]#
[root@linux1:~]#
[root@linux1:~]#
|1|NYcDD6IBokzLlZTC0p89iMib73w=|n2OjOLEPrm4hKg+jvvY4paN/G1s= ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA14kGxTpUCEp7aOMtvkIMqRAT1u8HHpDguIdbnGHNcmR1jIddljvbyfap527tOjq13EBrS8W6vfmn3YFT5W5iCjs2XM5a5VAy/IlxNuN0u7bdVAtt2hYj7gTJvAh3qkMfTjIS4wBPlniufwN0MgRGRTuqyF3PcKAcQB39SN+RNZHbMCe2ZR1+ICTKiTYZEJxYjVjmiNKMxhMgEVOMfHAC3WanuwAKNX+wfpvugyU26zkj54cdOFitY2A5/NvWbkScSC4gMMXEOnmOET6y9JrUMxwE1BCl206TK2owi3qroI0OEY/
|1|ayRtnu+M7y4nPGM5ui+3uv6/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lwApnQgzy3oj6llyx9iuG0gmpZOfTAE6+03YynwYXZM4+3Q+D0mTEl6L8yz3V62S7Ibv9aW31KFqwS7D
Last login: Thu May 31 15:09:07 2007 from linux3.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=2662; pidfile=/root/.lilalo/l3-agent.pid
[root@linux1:~]# cat .ssh/known_hosts
15:10:24
#exit
Connection to 192.168.16.2 closed.
15:10:24
#ssh-keygen -R 192.168.16.2
user     pts/3    :0.0             09:40    1:09m  0.25s  0.24s script -f -q /home/user/.lilalo//1793719166289054487-118059362
root     pts/10   net.nt           11:43    3:09   0.22s  0.07s script -f -q /root/.lilalo//197061024767539103-1180601008.scri
root     pts/22   net.nt           13:39   21.00s  0.18s  0.05s script -f -q /root/.lilalo//13027106061357414589-1180607967.sc
root     pts/13   linux2.net.nt    13:42   11:32m  0.08s  0.03s script -f -q /root/.lilalo//21166266812737827392-1180608127.sc
root     pts/0    :pts/23:S.0      14:57    1.00s  0.02s  0.01s script -f -q /root/.lilalo//18465298192964120129-1180612621.sc
user     pts/2    :0.0             14:57    1.00s  0.27s  0.26s script -f -q /home/user/.lilalo//2749326346844122774-118061262
root     pts/6    linux4.net.nt    14:57   11:22m  0.02s  0.02s script -f -q /root/.lilalo//1968358151988330022-1180612632.scr
[root@linux1:~]#
[root@linux1:~]#
[root@linux1:~]#
[root@linux1:~]# ssh-keygen -R IP
[root@linux1:~]#
[root@linux1:~]#
[root@linux1:~]#
|1|NYcDD6IBokzLlZTC0p89iMib73w=|n2OjOLEPrm4hKg+jvvY4paN/G1s= ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA14kGxTpUCEp7aOMtvkIMqRAT1u8HHpDguIdbnGHNcmR1jIddljvbyfap527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DJBgXDRi3ynXUGDU= ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA4lN8id/+Bd0TnL/m9hxuIRoFXRNueYCind3GIO9OwKpp2RqJbxHQwmONRDf1taLjIhNkAjRghfstZBBngVhi3N/bkDuyR9m93R2/qSTPgFWcYtgN0KEcmpJ5Txa7YqK4NcicTBbl3GU1rLjgpn7VHQ2FdNN3s0EYayiGs6j9UdAZtasfofpPWhagLLvdMSSkmcGWWqYEWFECMF0gQePb6V2+101RV/7lwApnQgzy3oj6llyx9iuG0gmpZOfTAE6+03YynwYXZM4+3Q+D0mTEl6L8yz3V62S7Ibv9aW31KFqwS7D
/root/.ssh/known_hosts updated.
Original contents retained as /root/.ssh/known_hosts.old
[root@linux1:~]# cat .ssh/known_hosts
15:10:35
#ssh 192.168.16.2
[root@linux1:~]#
[root@linux1:~]#
|1|NYcDD6IBokzLlZTC0p89iMib73w=|n2OjOLEPrm4hKg+jvvY4paN/G1s= ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA14kGxTpUCEp7aOMtvkIMqRAT1u8HHpDguIdbnGHNcmR1jIddljvbyfap527tOjq13EBrS8W6vfmn3YFT5W5iCjs2XM5a5VAy/IlxNuN0u7bdVAtt2hYj7gTJvAh3qkMfTjIS4wBPlniufwN0MgRGRTuqyF3PcKAcQB39SN+RNZHbMCe2ZR1+ICTKiTYZEJxYjVjmiNKMxhMgEVOMfHAC3WanuwAKNX+wfpvugyU26zkj54cdOFitY2A5/NvWbkScSC4gMMXEOnmOET6y9JrUMxwE1BCl206TK2owi3qroI0OEY/
|1|ayRtnu+M7y4nPGM5ui+3uv6/xvc=|7LelfGsm5EfYL3UDESY1LbxYi4I= ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA7fm6p4Fp9koxXjNx8GuUIndiPUk95llI9y+d9W7dOTpzLykXTovGAgpBdIsgicFxEWhc4/9G1sDS5dFHYa8S3JABXbiLqxz1MkoYtxOcCq9HNwNQdoq1gPRP7nPr7wFt3JAdOClZq1IEzNaMXokHpGDe6knjIS79wGHUxrGJ0IkYZrz/frf96FpMUQmKQJ0FFUw6LUcxmGLJprPu1mWXgOLd8DZbby8DSqXYU82vMNiGUHPOC0sfctBMOL5A+XO8FUBNGTTb8eAW7ReSOtrF+aUvruvRqKOlKl1FtRcGJzYJSG1
|1|PMt5XfBVm2i3zAZAdOE7I2o9CUw=|h6T2NfFWFgntnueFNRI95Y5Tm5o= ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAvhALvZKSSK/uwaKBprL2euyVtVc8SFzEj7rIgk247s9E9Tn3+Xx2ANmncMUPjdvK5arWwWrKMiWW+SmCd+esYgxx47FTsqtlgVqeXgs3m7yicYwtluVraADE0c/w3Bz8MLHDm8jjR9t25anFRS4N7cIupHG8UbmIm48u2k/bevME+dUVap9QvJG7v+drcgJulnbnNtJBu9PBLwbRo0OWP4hJilQl8D4Mf8wfu8N75S1nh1t24v6JD81mxYeG1p/78DhHFJGyl3YCgSjkBSNbzhjS2EaX7lOmYCpGGhh4HmcVk5A
|1|rx968rG6BaRMVwrltMZme1zaz0E=|Uq++cSnjKKPDJBgXDRi3ynXUGDU= ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA4lN8id/+Bd0TnL/m9hxuIRoFXRNueYCind3GIO9OwKpp2RqJbxHQwmONRDf1taLjIhNkAjRghfstZBBngVhi3N/bkDuyR9m93R2/qSTPgFWcYtgN0KEcmpJ5Txa7YqK4NcicTBbl3GU1rLjgpn7VHQ2FdNN3s0EYayiGs6j9UdAZtasfofpPWhagLLvdMSSkmcGWWqYEWFECMF0gQePb6V2+101RV/7lwApnQgzy3oj6llyx9iuG0gmpZOfTAE6+03YynwYXZM4+3Q+D0mTEl6L8yz3V62S7Ibv9aW31KFqwS7D
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.
Last login: Thu May 31 15:10:23 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=2662; pidfile=/root/.lilalo/l3-agent.pid
[root@linux1:~]# cat .ssh/known_hosts
15:10:49
#exit
Connection to 192.168.16.2 closed.
15:10:54
#ssh-keygen -p .ssh/id_rsa.pub
  -C comment  Provide new comment.
  -c          Change comment in private and public key files.
  -e          Convert OpenSSH to IETF SECSH key file.
  -F hostname Find hostname in known hosts file.
  -f filename Filename of the key file.
  -G file     Generate candidates for DH-GEX moduli.
  -g          Use generic DNS resource record format.
  -H          Hash names in known_hosts file.
  -i          Convert IETF SECSH to OpenSSH key file.
  -l          Show fingerprint of key file.
...
  -q          Quiet.
  -R hostname Remove host from known_hosts file.
  -r hostname Print DNS resource record.
  -S start    Start point (hex) for generating DH-GEX moduli.
  -T file     Screen candidates for DH-GEX moduli.
  -t type     Specify type of key to create.
  -v          Verbose.
  -W gen      Generator to use for generating DH-GEX moduli.
  -y          Read private key file and print public key.
[root@linux1:~]# cat .ssh/known_hosts
15:11:12
#ssh-keygen -p -f .ssh/id_rsa.pub
[root@linux1:~]#
[root@linux1:~]#
[root@linux1:~]#
[root@linux1:~]# ssh-keygen -R IP
[root@linux1:~]#
[root@linux1:~]#
[root@linux1:~]#
|1|NYcDD6IBokzLlZTC0p89iMib73w=|n2OjOLEPrm4hKg+jvvY4paN/G1s= ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA14kGxTpUCEp7aOMtvkIMqRAT1u8HHpDguIdbnGHNcmR1jIddljvbyfap527tOjq13EBrS8W6vfmn3YFT5W5iCjs2XM5a5VAy/IlxNuN0u7bdVAtt2hYj7gTJ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d0TnL/m9hxuIRoFXRNueYCind3GIO9OwKpp2RqJbxHQwmONRDf1taLjIhNkAjRghfstZBBngVhi3N/bkDuyR9m93R2/qSTPgFWcYtgN0KEcmpJ5Txa7YqK4NcicTBbl3GU1rLjgpn7VHQ2FdNN3s0EYayiGs6j9UdAZtasfofpPWhagLLvdMSSkmcGWWqYEWFECMF0gQePb6V2+101RV/7lwApnQgzy3oj6llyx9iuG0gmpZOfTAE6+03YynwYXZM4+3Q+D0mTEl6L8yz3V62S7Ibv9aW31KFqwS7D
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@         WARNING: UNPROTECTED PRIVATE KEY FILE!          @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0644 for '.ssh/id_rsa.pub' are too open.
It is recommended that your private key files are NOT accessible by others.
This private key will be ignored.
bad permissions: ignore key: .ssh/id_rsa.pub
Enter old passphrase:
[root@linux1:~]# cat .ssh/known_hosts
15:12:40
#ls -l .ssh/id_rsa.pub
-rw-r--r-- 1 root root 393 2007-05-31 14:59 .ssh/id_rsa.pub
15:12:48
#chmod 0600 .ssh/id_rsa.pub
USER     TTY      FROM              LOGIN@   IDLE   JCPU   PCPU WHAT-----------------------------------------------------------
user     :0       -                09:27   ?xdm?  38:25m  1.20s x-session-manager
user     pts/3    :0.0             09:40    1:09m  0.25s  0.24s script -f -q /home/user/.lilalo//1793719166289054487-118059362
root     pts/10   net.nt           11:43    3:09   0.22s  0.07s script -f -q /root/.lilalo//197061024767539103-1180601008.scri
root     pts/22   net.nt           13:39   21.00s  0.18s  0.05s script -f -q /root/.lilalo//13027106061357414589-1180607967.sc
root     pts/13   linux2.net.nt    13:42   11:32m  0.08s  0.03s script -f -q /root/.lilalo//21166266812737827392-1180608127.sc
root     pts/0    :pts/23:S.0      14:57    1.00s  0.02s  0.01s script -f -q /root/.lilalo//18465298192964120129-1180612621.sc
user     pts/2    :0.0             14:57    1.00s  0.27s  0.26s script -f -q /home/user/.lilalo//2749326346844122774-118061262
root     pts/6    linux4.net.nt    14:57   11:22m  0.02s  0.02s script -f -q /root/.lilalo//1968358151988330022-1180612632.scr
[root@linux1:~]#
[root@linux1:~]#
[root@linux1:~]#
[root@linux1:~]# ssh-keygen -R IP
[root@linux1:~]#
[root@linux1:~]#
[root@linux1:~]#
|1|NYcDD6IBokzLlZTC0p89iMib73w=|n2OjOLEPrm4hKg+jvvY4paN/G1s= ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA14kGxTpUCEp7aOMtvkIMqRAT1u8HHpDguIdbnGHNcmR1jIddljvbyfap527tOjq13EBrS8W6vfmn3YFT5W5iCjs2XM5a5VAy/IlxNuN0u7bdVAtt2hYj7gTJvAh3qkMfTjIS4wBPlniufwN0MgRGRTuqyF3PcKAcQB39SN+RNZHbMCe2ZR1+ICTKiTYZEJxYjVjmiNKMxhMgEVOMfHAC3WanuwAKNX+wfpvugyU26zkj54cdOFitY2A5/NvWbkScSC4gMMXEOnmOET6y9JrUMxwE1BCl206TK2owi3qroI0OEY/
|1|ayRtnu+M7y4nPGM5ui+3uv6/xvc=|7LelfGsm5EfYL3UDESY1LbxYi4I= ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA7fm6p4Fp9koxXjNx8GuUIndiPUk95llI9y+d9W7dOTpzLykXTovGAgpBdIsgicFxEWhc4/9G1sDS5dFHYa8S3JABXbiLqxz1MkoYtxOcCq9HNwNQdoq1gPRP7nPr7wFt3JAdOClZq1IEzNaMXokHpGDe6knjIS79wGHUxrGJ0IkYZrz/frf96FpMUQmKQJ0FFUw6LUcxmGLJprPu1mWXgOLd8DZbby8DSqXYU82vMNiGUHPOC0sfctBMOL5A+XO8FUBNGTTb8eAW7ReSOtrF+aUvruvRqKOlKl1FtRcGJzYJSG1
|1|PMt5XfBVm2i3zAZAdOE7I2o9CUw=|h6T2NfFWFgntnueFNRI95Y5Tm5o= ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAvhALvZKSSK/uwaKBprL2euyVtVc8SFzEj7rIgk247s9E9Tn3+Xx2ANmncMUPjdvK5arWwWrKMiWW+SmCd+esYgxx47FTsqtlgVqeXgs3m7yicYwtluVraADE0c/w3Bz8MLHDm8jjR9t25anFRS4N7cIupHG8UbmIm48u2k/bevME+dUVap9QvJG7v+drcgJulnbnNtJBu9PBLwbRo0OWP4hJilQl8D4Mf8wfu8N75S1nh1t24v6JD81mxYeG1p/78DhHFJGyl3YCgSjkBSNbzhjS2EaX7lOmYCpGGhh4HmcVk5A
|1|rx968rG6BaRMVwrltMZme1zaz0E=|Uq++cSnjKKPDJBgXDRi3ynXUGDU= ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA4lN8id/+Bd0TnL/m9hxuIRoFXRNueYCind3GIO9OwKpp2RqJbxHQwmONRDf1taLjIhNkAjRghfstZBBngVhi3N/bkDuyR9m93R2/qSTPgFWcYtgN0KEcmpJ5Txa7YqK4NcicTBbl3GU1rLjgpn7VHQ2FdNN3s0EYayiGs6j9UdAZtasfofpPWhagLLvdMSSkmcGWWqYEWFECMF0gQePb6V2+101RV/7lwApnQgzy3oj6llyx9iuG0gmpZOfTAE6+03YynwYXZM4+3Q+D0mTEl6L8yz3V62S7Ibv9aW31KFqwS7D
[root@linux1:~]# cat .ssh/known_hosts
15:13:00
#ls -l .ssh/id_rsa.pub
-rw------- 1 root root 393 2007-05-31 14:59 .ssh/id_rsa.pub
15:13:03
#ssh-keygen -p -f .ssh/id_rsa.pub
user     pts/3    :0.0             09:40    1:09m  0.25s  0.24s script -f -q /home/user/.lilalo//1793719166289054487-118059362
root     pts/10   net.nt           11:43    3:09   0.22s  0.07s script -f -q /root/.lilalo//197061024767539103-1180601008.scri
root     pts/22   net.nt           13:39   21.00s  0.18s  0.05s script -f -q /root/.lilalo//13027106061357414589-1180607967.sc
root     pts/13   linux2.net.nt    13:42   11:32m  0.08s  0.03s script -f -q /root/.lilalo//21166266812737827392-1180608127.sc
root     pts/0    :pts/23:S.0      14:57    1.00s  0.02s  0.01s script -f -q /root/.lilalo//18465298192964120129-1180612621.sc
user     pts/2    :0.0             14:57    1.00s  0.27s  0.26s script -f -q /home/user/.lilalo//2749326346844122774-118061262
root     pts/6    linux4.net.nt    14:57   11:22m  0.02s  0.02s script -f -q /root/.lilalo//1968358151988330022-1180612632.scr
[root@linux1:~]#
[root@linux1:~]#
[root@linux1:~]#
[root@linux1:~]# ssh-keygen -R IP
[root@linux1:~]#
[root@linux1:~]#
[root@linux1:~]#
|1|NYcDD6IBokzLlZTC0p89iMib73w=|n2OjOLEPrm4hKg+jvvY4paN/G1s= ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA14kGxTpUCEp7aOMtvkIMqRAT1u8HHpDguIdbnGHNcmR1jIddljvbyfap527tOjq13EBrS8W6vfmn3YFT5W5iCjs2XM5a5VAy/IlxNuN0u7bdVAtt2hYj7gTJvAh3qkMfTjIS4wBPlniufwN0MgRGRTuqyF3PcKAcQB39SN+RNZHbMCe2ZR1+ICTKiTYZEJxYjVjmiNKMxhMgEVOMfHAC3WanuwAKNX+wfpvugyU26zkj54cdOFitY2A5/NvWbkScSC4gMMXEOnmOET6y9JrUMxwE1BCl206TK2owi3qroI0OEY/
|1|ayRtnu+M7y4nPGM5ui+3uv6/xvc=|7LelfGsm5EfYL3UDESY1LbxYi4I= ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA7fm6p4Fp9koxXjNx8GuUIndiPUk95llI9y+d9W7dOTpzLykXTovGAgpBdIsgicFxEWhc4/9G1sDS5dFHYa8S3JABXbiLqxz1MkoYtxOcCq9HNwNQdoq1gPRP7nPr7wFt3JAdOClZq1IEzNaMXokHpGDe6knjIS79wGHUxrGJ0IkYZrz/frf96FpMUQmKQJ0FFUw6LUcxmGLJprPu1mWXgOLd8DZbby8DSqXYU82vMNiGUHPOC0sfctBMOL5A+XO8FUBNGTTb8eAW7ReSOtrF+aUvruvRqKOlKl1FtRcGJzYJSG1
|1|PMt5XfBVm2i3zAZAdOE7I2o9CUw=|h6T2NfFWFgntnueFNRI95Y5Tm5o= ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAvhALvZKSSK/uwaKBprL2euyVtVc8SFzEj7rIgk247s9E9Tn3+Xx2ANmncMUPjdvK5arWwWrKMiWW+SmCd+esYgxx47FTsqtlgVqeXgs3m7yicYwtluVraADE0c/w3Bz8MLHDm8jjR9t25anFRS4N7cIupHG8UbmIm48u2k/bevME+dUVap9QvJG7v+drcgJulnbnNtJBu9PBLwbRo0OWP4hJilQl8D4Mf8wfu8N75S1nh1t24v6JD81mxYeG1p/78DhHFJGyl3YCgSjkBSNbzhjS2EaX7lOmYCpGGhh4HmcVk5A
|1|rx968rG6BaRMVwrltMZme1zaz0E=|Uq++cSnjKKPDJBgXDRi3ynXUGDU= ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA4lN8id/+Bd0TnL/m9hxuIRoFXRNueYCind3GIO9OwKpp2RqJbxHQwmONRDf1taLjIhNkAjRghfstZBBngVhi3N/bkDuyR9m93R2/qSTPgFWcYtgN0KEcmpJ5Txa7YqK4NcicTBbl3GU1rLjgpn7VHQ2FdNN3s0EYayiGs6j9UdAZtasfofpPWhagLLvdMSSkmcGWWqYEWFECMF0gQePb6V2+101RV/7lwApnQgzy3oj6llyx9iuG0gmpZOfTAE6+03YynwYXZM4+3Q+D0mTEl6L8yz3V62S7Ibv9aW31KFqwS7D
Enter old passphrase:
Bad passphrase.
[root@linux1:~]# cat .ssh/known_hosts
15:13:14
#ssh-keygen -p -f .ssh/id_rsa.pub
Enter old passphrase:
Bad passphrase.
15:13:22
#ssh-keygen -p -f .ssh/id_rsa.pub
Enter old passphrase:
Bad passphrase.
15:13:28
#ssh-keygen -P -f .ssh/id_rsa.pub
  -C comment  Provide new comment.
  -c          Change comment in private and public key files.
  -e          Convert OpenSSH to IETF SECSH key file.
  -F hostname Find hostname in known hosts file.
  -f filename Filename of the key file.
  -G file     Generate candidates for DH-GEX moduli.
  -g          Use generic DNS resource record format.
  -H          Hash names in known_hosts file.
  -i          Convert IETF SECSH to OpenSSH key file.
  -l          Show fingerprint of key file.
...
  -q          Quiet.
  -R hostname Remove host from known_hosts file.
  -r hostname Print DNS resource record.
  -S start    Start point (hex) for generating DH-GEX moduli.
  -T file     Screen candidates for DH-GEX moduli.
  -t type     Specify type of key to create.
  -v          Verbose.
  -W gen      Generator to use for generating DH-GEX moduli.
  -y          Read private key file and print public key.
[root@linux1:~]# cat .ssh/known_hosts
15:13:34
#ssh-keygen -P rootpass -f .ssh/id_rsa.pub
root     pts/10   net.nt           11:43    3:09   0.22s  0.07s script -f -q /root/.lilalo//197061024767539103-1180601008.scri
root     pts/22   net.nt           13:39   21.00s  0.18s  0.05s script -f -q /root/.lilalo//13027106061357414589-1180607967.sc
root     pts/13   linux2.net.nt    13:42   11:32m  0.08s  0.03s script -f -q /root/.lilalo//21166266812737827392-1180608127.sc
root     pts/0    :pts/23:S.0      14:57    1.00s  0.02s  0.01s script -f -q /root/.lilalo//18465298192964120129-1180612621.sc
user     pts/2    :0.0             14:57    1.00s  0.27s  0.26s script -f -q /home/user/.lilalo//2749326346844122774-118061262
root     pts/6    linux4.net.nt    14:57   11:22m  0.02s  0.02s script -f -q /root/.lilalo//1968358151988330022-1180612632.scr
[root@linux1:~]#
[root@linux1:~]#
[root@linux1:~]#
[root@linux1:~]# ssh-keygen -R IP
[root@linux1:~]#
[root@linux1:~]#
[root@linux1:~]#
|1|NYcDD6IBokzLlZTC0p89iMib73w=|n2OjOLEPrm4hKg+jvvY4paN/G1s= ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA14kGxTpUCEp7aOMtvkIMqRAT1u8HHpDguIdbnGHNcmR1jIddljvbyfap527tOjq13EBrS8W6vfmn3YFT5W5iCjs2XM5a5VAy/IlxNuN0u7bdVAtt2hYj7gTJvAh3qkMfTjIS4wBPlniufwN0MgRGRTuqyF3Pc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JbxHQwmONRDf1taLjIhNkAjRghfstZBBngVhi3N/bkDuyR9m93R2/qSTPgFWcYtgN0KEcmpJ5Txa7YqK4NcicTBbl3GU1rLjgpn7VHQ2FdNN3s0EYayiGs6j9UdAZtasfofpPWhagLLvdMSSkmcGWWqYEWFECMF0gQePb6V2+101RV/7lwApnQgzy3oj6llyx9iuG0gmpZOfTAE6+03YynwYXZM4+3Q+D0mTEl6L8yz3V62S7Ibv9aW31KFqwS7D
Generating public/private rsa key pair.
.ssh/id_rsa.pub already exists.
Overwrite (y/n)? n
[root@linux1:~]# cat .ssh/known_hosts
15:13:55
#ssh-keygen -N rootpass -f .ssh/id_rsa.pub
root     pts/10   net.nt           11:43    3:09   0.22s  0.07s script -f -q /root/.lilalo//197061024767539103-1180601008.scri
root     pts/22   net.nt           13:39   21.00s  0.18s  0.05s script -f -q /root/.lilalo//13027106061357414589-1180607967.sc
root     pts/13   linux2.net.nt    13:42   11:32m  0.08s  0.03s script -f -q /root/.lilalo//21166266812737827392-1180608127.sc
root     pts/0    :pts/23:S.0      14:57    1.00s  0.02s  0.01s script -f -q /root/.lilalo//18465298192964120129-1180612621.sc
user     pts/2    :0.0             14:57    1.00s  0.27s  0.26s script -f -q /home/user/.lilalo//2749326346844122774-118061262
root     pts/6    linux4.net.nt    14:57   11:22m  0.02s  0.02s script -f -q /root/.lilalo//1968358151988330022-1180612632.scr
[root@linux1:~]#
[root@linux1:~]#
[root@linux1:~]#
[root@linux1:~]# ssh-keygen -R IP
[root@linux1:~]#
[root@linux1:~]#
[root@linux1:~]#
|1|NYcDD6IBokzLlZTC0p89iMib73w=|n2OjOLEPrm4hKg+jvvY4paN/G1s= ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA14kGxTpUCEp7aOMtvkIMqRAT1u8HHpDguIdbnGHNcmR1jIddljvbyfap527tOjq13EBrS8W6vfmn3YFT5W5iCjs2XM5a5VAy/IlxNuN0u7bdVAtt2hYj7gTJvAh3qkMfTjIS4wBPlniufwN0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3GIO9OwKpp2RqJbxHQwmONRDf1taLjIhNkAjRghfstZBBngVhi3N/bkDuyR9m93R2/qSTPgFWcYtgN0KEcmpJ5Txa7YqK4NcicTBbl3GU1rLjgpn7VHQ2FdNN3s0EYayiGs6j9UdAZtasfofpPWhagLLvdMSSkmcGWWqYEWFECMF0gQePb6V2+101RV/7lwApnQgzy3oj6llyx9iuG0gmpZOfTAE6+03YynwYXZM4+3Q+D0mTEl6L8yz3V62S7Ibv9aW31KFqwS7D
Generating public/private rsa key pair.
.ssh/id_rsa.pub already exists.
Overwrite (y/n)? n
[root@linux1:~]# cat .ssh/known_hosts
15:14:12
#ssh-keygen -N-f .ssh/id_rsa.pub
Too many arguments.
Usage: ssh-keygen [options]
Options:
  -a trials   Number of trials for screening DH-GEX moduli.
  -B          Show bubblebabble digest of key file.
  -b bits     Number of bits in the key to create.
  -C comment  Provide new comment.
  -c          Change comment in private and public key files.
  -e          Convert OpenSSH to IETF SECSH key file.
  -F hostname Find hostname in known hosts file.
...
  -p          Change passphrase of private key file.
  -q          Quiet.
  -R hostname Remove host from known_hosts file.
  -r hostname Print DNS resource record.
  -S start    Start point (hex) for generating DH-GEX moduli.
  -T file     Screen candidates for DH-GEX moduli.
  -t type     Specify type of key to create.
  -v          Verbose.
  -W gen      Generator to use for generating DH-GEX moduli.
  -y          Read private key file and print public key.

Файлы

  • .ssh/
  • .ssh/authorized_keys
  • .ssh/known_hosts
  • /etc/motd
  • .ssh/
    >
    ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA6cozkS4v1d7RrYdGWi5ZSJOHTBF/WyMv/2U7efRo28AAoBuSqfnQxWjtGESAqWRnpc/aidikX1fHiYHIxB8j59YKBud
    qThhh6aN76ljMzxZ8xW7O4RqEAK0vY3At2i7o64FCGDMJCZ3a6DS+n5o4pKsv2r86pq4hDIjseWWc8c9c/5VRY14wMCNkdsrfdC4ZGab7fNWg5UUDPjL/j4ceYbBAe3
    PyipsotN62M5X1C+LkURDbpKQXItl7f1AllTP0DrUYDiXDTWAlcc/H5ssVoSBY1krDZ3yJ9/9AKvh4ReP38XdZm0NVUe+aROF9Zw9CBeuczNiWV8UzBXSW8KBxHw==
    root@linux1
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    id_dsa       id_dsa.pub   id_rsa       id_rsa.pub   known_hosts
    ".ssh/id_rsa.pub" 1L, 393C
    -------------------------------------------------------------------------------------------------------------------------------
    
    .ssh/authorized_keys
    >
    ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA6cozkS4v1d7RrYdGWi5ZSJOHTBF/WyMv/2U7efRo28AAoBuSqfnQxWjtGESAqWRnpc/aidikX1fHiYHIxB8j59YKBudqThhh6aN76ljMzxZ8xW7O4RqEAK0vY3At2i7o64FCGDMJCZ3a6DS+n5o4pKsv2r86pq4hDIjseWWc8c9c/5VRY14wMCNkdsrfdC4ZGab7fNWg5UUDPjL/j4ceYbBAe3PyipsotN62M5X1C+LkURDbpKQXItl7f1AllTP0DrUYDiXDTWAlcc/H5ssVoSBY1krDZ3yJ9/9AKvh4ReP38XdZm0NVUe+aROF9Zw9CBeuczNiWV8UzBXSW8KBxHw== root@linux1
    ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA3ua9MwIo3tP+VPybUZfKiSvh01Ubze0Fvc5gDjV48Yx95POdEu1sPV/lRhZFHtChOoLViyPRofrr0t86NirqVfcGlOfPj5DqxePqa3kAVFBBwQ1bZiFKptUM1ML4JDFL2Qj3m4xmF3MEYXk56j8c3VXwm6AgqDakugGKEGlNSkVCmQj8JB7jEFxNsL97jhJLIhFYbEWuupuoWY36cQhepehiHZKHCABAZA8fK1Mv5zAxfETA8oZpKvx9voyjK2lwrP7bnxK5yjlpWibZCpCvD4tO/XOg9You5zKaZWJcmofzb6PsjUSQC8D027ts4Qw9Uf5LyTSXsjuI9j2DrlV1Kw== root@linux3
    ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEApCShz/JrXmVTd0ibaGTAZWhNRkG9LgJ6/Prn6vq/phab47apSiIxm4UnNGPBX1m5E4Bl2L8ow8/Fb/ftWJSkkFPS1Fm4d4dGOKgFZ8wP4RocX0780MZQdydFhra8p5lBuSH3ylYbTSe6IYfZVYZx3+ahwxV7luXJWdvgsZWY8yJAY2FthuSY/1qLUDjWRTJMHYDOagAqI7uLFRiEUtFVkVet5u4pWoauWongAmWzNYA9SLlhZUzZ1Dx630NA2b1Dr+io/iObMWSkpjHnXJz7lqi+Ax+LumxrguB62tqE8nwkU+MnYB5dpHpcB94H3OJLNAozVko1YzQq0HqyHMcEaw== root@linux2
    
    .ssh/known_hosts
    >
    root     pts/22   net.nt           13:39   21.00s  0.18s  0.05s script -f -q /root/.lilalo//13027106061357414589-1180607967.sc
    root     pts/13   linux2.net.nt    13:42   11:32m  0.08s  0.03s script -f -q /root/.lilalo//21166266812737827392-1180608127.sc
    root     pts/0    :pts/23:S.0      14:57    1.00s  0.02s  0.01s script -f -q /root/.lilalo//18465298192964120129-1180612621.sc
    user     pts/2    :0.0             14:57    1.00s  0.27s  0.26s script -f -q /home/user/.lilalo//2749326346844122774-118061262
    root     pts/6    linux4.net.nt    14:57   11:22m  0.02s  0.02s script -f -q /root/.lilalo//1968358151988330022-1180612632.scr
    [root@linux1:~]#
    [root@linux1:~]#
    [root@linux1:~]#
    [root@linux1:~]# ssh-keygen -R IP
    [root@linux1:~]#
    [root@linux1:~]#
    [root@linux1:~]#
    |1|NYcDD6IBokzLlZTC0p89iMib73w=|n2OjOLEPrm4hKg+jvvY4paN/G1s= ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA14kGxTpUCEp7aOMtvkIMqRAT1u8HHpDguIdbnGHNcmR1jIddljvbyfap527tOjq13EBrS8W6vfmn3YFT5W5iCjs2XM5a5VAy/IlxNuN0u7bdVAtt2hYj7gTJvAh3qkMfTjIS4wBPlniufwN0MgRGRTuqyF3PcKAcQB39SN+RNZHbMCe2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NRI95Y5Tm5o= ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAvhALvZKSSK/uwaKBprL2euyVtVc8SFzEj7rIgk247s9E9Tn3+Xx2ANmncMUPjdvK5arWwWrKMiWW+SmCd+esYgxx47FTsqtlgVqeXgs3m7yicYwtluVraADE0c/w3Bz8MLHDm8jjR9t25anFRS4N7cIupHG8UbmIm48u2k/bevME+dUVap9QvJG7v+drcgJulnbnNtJBu9PBLwbRo0OWP4hJilQl8D4Mf8wfu8N75S1nh1t24v6JD81mxYeG1p/78DhHFJGyl3YCgSjkBSNbzhjS2EaX7lOmYCpGGhh4HmcVk5A
    |1|rx968rG6BaRMVwrltMZme1zaz0E=|Uq++cSnjKKPDJBgXDRi3ynXUGDU= ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA4lN8id/+Bd0TnL/m9hxuIRoFXRNueYCind3GIO9OwKpp2RqJbxHQwmONRDf1taLjIhNkAjRghfstZBBngVhi3N/bkDuyR9m93R2/qSTPgFWcYtgN0KEcmpJ5Txa7YqK4NcicTBbl3GU1rLjgpn7VHQ2FdNN3s0EYayiGs6j9UdAZtasfofpPWhagLLvdMSSkmcGWWqYEWFECMF0gQePb6V2+101RV/7lwApnQgzy3oj6llyx9iuG0gmpZOfTAE6+03YynwYXZM4+3Q+D0mTEl6L8yz3V62S7Ibv9aW31KFqwS7D
    [root@linux1:~]# cat .ssh/known_hosts
    
    /etc/motd
    >
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    Linux linux1 2.6.18-4-686 #1 SMP Mon Mar 26 17:17:36 UTC 2007 i686
                 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
                 !!!            LINUX1           !!!
                 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    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.
    -------------------------------------------------------------------------------------------------------------------------------
    

    Статистика

    Время первой команды журнала13:37:19 2007- 5-31
    Время последней команды журнала15:14:12 2007- 5-31
    Количество командных строк в журнале101
    Процент команд с ненулевым кодом завершения, %23.76
    Процент синтаксически неверно набранных команд, %10.89
    Суммарное время работы с терминалом *, час 0.68
    Количество командных строк в единицу времени, команда/мин 2.48
    Частота использования команд
    ssh20|==============| 14.18%
    ssh-keygen19|=============| 13.48%
    cat16|===========| 11.35%
    screen9|======| 6.38%
    >9|======| 6.38%
    authorized_keys'9|======| 6.38%
    ls7|====| 4.96%
    exit7|====| 4.96%
    s4|==| 2.84%
    wall'4|==| 2.84%
    do4|==| 2.84%
    done4|==| 2.84%
    for3|==| 2.13%
    .3|==| 2.13%
    apt-get3|==| 2.13%
    md5sum3|==| 2.13%
    ssh-key2|=| 1.42%
    vim2|=| 1.42%
    ds1|| 0.71%
    ping1|| 0.71%
    while1|| 0.71%
    man1|| 0.71%
    chmod1|| 0.71%
    pkill1|| 0.71%
    pikill1|| 0.71%
    echo1|| 0.71%
    screeen1|| 0.71%
    less1|| 0.71%
    apt-ger1|| 0.71%
    a1|| 0.71%
    w1|| 0.71%
    ____
    *) Интервалы неактивности длительностью 30 минут и более не учитываются

    Справка

    Для того чтобы использовать LiLaLo, не нужно знать ничего особенного: всё происходит само собой. Однако, чтобы ведение и последующее использование журналов было как можно более эффективным, желательно иметь в виду следующее:
    1. В журнал автоматически попадают все команды, данные в любом терминале системы.

    2. Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду w. В поле WHAT, соответствующем текущему терминалу, должна быть указана программа script.

    3. Команды, при наборе которых были допущены синтаксические ошибки, выводятся перечёркнутым текстом:
      $ l s-l
      bash: l: command not found
      

    4. Если код завершения команды равен нулю, команда была выполнена без ошибок. Команды, код завершения которых отличен от нуля, выделяются цветом.
      $ test 5 -lt 4
      Обратите внимание на то, что код завершения команды может быть отличен от нуля не только в тех случаях, когда команда была выполнена с ошибкой. Многие команды используют код завершения, например, для того чтобы показать результаты проверки

    5. Команды, ход выполнения которых был прерван пользователем, выделяются цветом.
      $ 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
      

    6. Команды, выполненные с привилегиями суперпользователя, выделяются слева красной чертой.
      # id
      uid=0(root) gid=0(root) Gruppen=0(root)
      

    7. Изменения, внесённые в текстовый файл с помощью редактора, запоминаются и показываются в журнале в формате ed. Строки, начинающиеся символом "<", удалены, а строки, начинающиеся символом ">" -- добавлены.
      $ vi ~/.bashrc
      2a3,5
      >    if [ -f /usr/local/etc/bash_completion ]; then
      >         . /usr/local/etc/bash_completion
      >        fi
      

    8. Для того чтобы изменить файл в соответствии с показанными в диффшоте изменениями, можно воспользоваться командой patch. Нужно скопировать изменения, запустить программу patch, указав в качестве её аргумента файл, к которому применяются изменения, и всавить скопированный текст:
      $ patch ~/.bashrc
      В данном случае изменения применяются к файлу ~/.bashrc

    9. Для того чтобы получить краткую справочную информацию о команде, нужно подвести к ней мышь. Во всплывающей подсказке появится краткое описание команды.

      Если справочная информация о команде есть, команда выделяется голубым фоном, например: vi. Если справочная информация отсутствует, команда выделяется розовым фоном, например: notepad.exe. Справочная информация может отсутствовать в том случае, если (1) команда введена неверно; (2) если распознавание команды LiLaLo выполнено неверно; (3) если информация о команде неизвестна LiLaLo. Последнее возможно для редких команд.

    10. Большие, в особенности многострочные, всплывающие подсказки лучше всего показываются браузерами KDE Konqueror, Apple Safari и Microsoft Internet Explorer. В браузерах Mozilla и Firefox они отображаются не полностью, а вместо перевода строки выводится специальный символ.

    11. Время ввода команды, показанное в журнале, соответствует времени начала ввода командной строки, которое равно тому моменту, когда на терминале появилось приглашение интерпретатора

    12. Имя терминала, на котором была введена команда, показано в специальном блоке. Этот блок показывается только в том случае, если терминал текущей команды отличается от терминала предыдущей.

    13. Вывод не интересующих вас в настоящий момент элементов журнала, таких как время, имя терминала и других, можно отключить. Для этого нужно воспользоваться формой управления журналом вверху страницы.

    14. Небольшие комментарии к командам можно вставлять прямо из командной строки. Комментарий вводится прямо в командную строку, после символов #^ или #v. Символы ^ и v показывают направление выбора команды, к которой относится комментарий: ^ - к предыдущей, v - к следующей. Например, если в командной строке было введено:

      $ whoami
      
      user
      
      $ #^ Интересно, кто я?
      
      в журнале это будет выглядеть так:
      $ whoami
      
      user
      
      Интересно, кто я?

    15. Если комментарий содержит несколько строк, его можно вставить в журнал следующим образом:

      $ whoami
      
      user
      
      $ cat > /dev/null #^ Интересно, кто я?
      
      Программа whoami выводит имя пользователя, под которым 
      мы зарегистрировались в системе.
      -
      Она не может ответить на вопрос о нашем назначении 
      в этом мире.
      
      В журнале это будет выглядеть так:
      $ whoami
      user
      
      Интересно, кто я?
      Программа whoami выводит имя пользователя, под которым
      мы зарегистрировались в системе.

      Она не может ответить на вопрос о нашем назначении
      в этом мире.
      Для разделения нескольких абзацев между собой используйте символ "-", один в строке.

    16. Комментарии, не относящиеся непосредственно ни к какой из команд, добавляются точно таким же способом, только вместо симолов #^ или #v нужно использовать символы #=

    17. Содержимое файла может быть показано в журнале. Для этого его нужно вывести с помощью программы cat. Если вывод команды отметить симоволами #!, содержимое файла будет показано в журнале в специально отведённой для этого секции.
    18. Для того чтобы вставить скриншот интересующего вас окна в журнал, нужно воспользоваться командой l3shot. После того как команда вызвана, нужно с помощью мыши выбрать окно, которое должно быть в журнале.
    19. Команды в журнале расположены в хронологическом порядке. Если две команды давались одна за другой, но на разных терминалах, в журнале они будут рядом, даже если они не имеют друг к другу никакого отношения.
      1
          2
      3   
          4
      
      Группы команд, выполненных на разных терминалах, разделяются специальной линией. Под этой линией в правом углу показано имя терминала, на котором выполнялись команды. Для того чтобы посмотреть команды только одного сенса, нужно щёкнуть по этому названию.

    О программе

    LiLaLo (L3) расшифровывается как Live Lab Log.
    Программа разработана для повышения эффективности обучения Unix/Linux-системам.
    (c) Игорь Чубин, 2004-2008

    $Id$