/l3/users/10-09-2007/nt-bsdnet/fbsd3.unix.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 |
|
#cat id_rsa.pub | ssh root@192.168.15.242 'cat >> /root/.ssh/
uthorized_keys2' Enter passphrase for key '/root/.ssh/id_dsa': |
#cat id_rsa.pub | ssh root@192.168.15.242 'cat >> /root/.ssh/
uthorized_keys2' Enter passphrase for key '/root/.ssh/id_dsa': |
#ll
total 18 -rw-r--r-- 1 root wheel 800 Sep 11 16:33 authorized_keys -rw------- 1 root wheel 744 Sep 12 10:34 id_dsa -rw-r--r-- 1 root wheel 608 Sep 12 10:34 id_dsa.pub -rw------- 1 root wheel 1743 Sep 12 10:34 id_rsa -rw-r--r-- 1 root wheel 400 Sep 12 10:34 id_rsa.pub -rw------- 1 root wheel 981 Sep 12 10:32 identity -rw-r--r-- 1 root wheel 645 Sep 12 10:32 identity.pub -rw-r--r-- 1 root wheel 3618 Sep 12 10:16 known_hosts |
#ll
total 18 -rw-r--r-- 1 root wheel 800 Sep 11 16:33 authorized_keys -rw------- 1 root wheel 744 Sep 12 10:34 id_dsa -rw-r--r-- 1 root wheel 608 Sep 12 10:34 id_dsa.pub -rw------- 1 root wheel 1743 Sep 12 10:34 id_rsa -rw-r--r-- 1 root wheel 400 Sep 12 10:34 id_rsa.pub -rw------- 1 root wheel 981 Sep 12 10:32 identity -rw-r--r-- 1 root wheel 645 Sep 12 10:32 identity.pub -rw-r--r-- 1 root wheel 3618 Sep 12 10:16 known_hosts |
#ll
total 26 -rw------- 1 root wheel 645 Sep 12 10:46 authorized_keys -rw-r--r-- 1 root wheel 1008 Sep 12 10:48 authorized_keys2 -rw------- 1 root wheel 736 Sep 12 10:44 id_dsa -rw-r--r-- 1 root wheel 608 Sep 12 10:44 id_dsa.pub -rw------- 1 root wheel 1743 Sep 12 10:42 id_rsa -rw-r--r-- 1 root wheel 400 Sep 12 10:42 id_rsa.pub -rw------- 1 root wheel 981 Sep 12 10:40 identity -rw-r--r-- 1 root wheel 645 Sep 12 10:40 identity.pub -rw------- 1 root wheel 4204 Sep 12 10:28 known_hosts -rw-r--r-- 1 root wheel 3613 Sep 11 16:02 known_hosts.old |
#ll
total 26 -rw------- 1 root wheel 645 Sep 12 10:46 authorized_keys -rw-r--r-- 1 root wheel 1008 Sep 12 10:48 authorized_keys2 -rw------- 1 root wheel 736 Sep 12 10:44 id_dsa -rw-r--r-- 1 root wheel 608 Sep 12 10:44 id_dsa.pub -rw------- 1 root wheel 1743 Sep 12 10:42 id_rsa -rw-r--r-- 1 root wheel 400 Sep 12 10:42 id_rsa.pub -rw------- 1 root wheel 981 Sep 12 10:40 identity -rw-r--r-- 1 root wheel 645 Sep 12 10:40 identity.pub -rw------- 1 root wheel 4204 Sep 12 10:28 known_hosts -rw-r--r-- 1 root wheel 3613 Sep 11 16:02 known_hosts.old |
#ll
total 26 -rw------- 1 root wheel 645 Sep 12 10:46 authorized_keys -rw-r--r-- 1 root wheel 1008 Sep 12 10:48 authorized_keys2 -rw------- 1 root wheel 736 Sep 12 10:44 id_dsa -rw-r--r-- 1 root wheel 608 Sep 12 10:44 id_dsa.pub -rw------- 1 root wheel 1743 Sep 12 10:42 id_rsa -rw-r--r-- 1 root wheel 400 Sep 12 10:42 id_rsa.pub -rw------- 1 root wheel 981 Sep 12 10:40 identity -rw-r--r-- 1 root wheel 645 Sep 12 10:40 identity.pub -rw------- 1 root wheel 4204 Sep 12 10:28 known_hosts -rw-r--r-- 1 root wheel 3613 Sep 11 16:02 known_hosts.old |
#ll
total 26 -rw------- 1 root wheel 645 Sep 12 10:46 authorized_keys -rw-r--r-- 1 root wheel 1008 Sep 12 10:48 authorized_keys2 -rw------- 1 root wheel 736 Sep 12 10:44 id_dsa -rw-r--r-- 1 root wheel 608 Sep 12 10:44 id_dsa.pub -rw------- 1 root wheel 1743 Sep 12 10:42 id_rsa -rw-r--r-- 1 root wheel 400 Sep 12 10:42 id_rsa.pub -rw------- 1 root wheel 981 Sep 12 10:40 identity -rw-r--r-- 1 root wheel 645 Sep 12 10:40 identity.pub -rw------- 1 root wheel 4204 Sep 12 10:28 known_hosts -rw-r--r-- 1 root wheel 3613 Sep 11 16:02 known_hosts.old |
#ll
total 26 -rw------- 1 root wheel 645 Sep 12 10:46 authorized_keys -rw-r--r-- 1 root wheel 1008 Sep 12 10:48 authorized_keys2 -rw------- 1 root wheel 736 Sep 12 10:44 id_dsa -rw-r--r-- 1 root wheel 608 Sep 12 10:44 id_dsa.pub -rw------- 1 root wheel 1743 Sep 12 10:42 id_rsa -rw-r--r-- 1 root wheel 400 Sep 12 10:42 id_rsa.pub -rw------- 1 root wheel 981 Sep 12 10:40 identity -rw-r--r-- 1 root wheel 645 Sep 12 10:40 identity.pub -rw------- 1 root wheel 4204 Sep 12 10:28 known_hosts -rw-r--r-- 1 root wheel 3613 Sep 11 16:02 known_hosts.old |
#ll
total 26 -rw------- 1 root wheel 645 Sep 12 10:46 authorized_keys -rw-r--r-- 1 root wheel 1008 Sep 12 10:48 authorized_keys2 -rw------- 1 root wheel 736 Sep 12 10:44 id_dsa -rw-r--r-- 1 root wheel 608 Sep 12 10:44 id_dsa.pub -rw------- 1 root wheel 1743 Sep 12 10:42 id_rsa -rw-r--r-- 1 root wheel 400 Sep 12 10:42 id_rsa.pub -rw------- 1 root wheel 981 Sep 12 10:40 identity -rw-r--r-- 1 root wheel 645 Sep 12 10:40 identity.pub -rw------- 1 root wheel 4204 Sep 12 10:28 known_hosts -rw-r--r-- 1 root wheel 3613 Sep 11 16:02 known_hosts.old |
#ll
total 26 -rw------- 1 root wheel 645 Sep 12 10:46 authorized_keys -rw-r--r-- 1 root wheel 1008 Sep 12 10:48 authorized_keys2 -rw------- 1 root wheel 736 Sep 12 10:44 id_dsa -rw-r--r-- 1 root wheel 608 Sep 12 10:44 id_dsa.pub -rw------- 1 root wheel 1743 Sep 12 10:42 id_rsa -rw-r--r-- 1 root wheel 400 Sep 12 10:42 id_rsa.pub -rw------- 1 root wheel 981 Sep 12 10:40 identity -rw-r--r-- 1 root wheel 645 Sep 12 10:40 identity.pub -rw------- 1 root wheel 4204 Sep 12 10:28 known_hosts -rw-r--r-- 1 root wheel 3613 Sep 11 16:02 known_hosts.old |
#ll
total 26 -rw------- 1 root wheel 645 Sep 12 10:46 authorized_keys -rw-r--r-- 1 root wheel 1008 Sep 12 10:48 authorized_keys2 -rw------- 1 root wheel 736 Sep 12 10:44 id_dsa -rw-r--r-- 1 root wheel 608 Sep 12 10:44 id_dsa.pub -rw------- 1 root wheel 1743 Sep 12 10:42 id_rsa -rw-r--r-- 1 root wheel 400 Sep 12 10:42 id_rsa.pub -rw------- 1 root wheel 981 Sep 12 10:40 identity -rw-r--r-- 1 root wheel 645 Sep 12 10:40 identity.pub -rw------- 1 root wheel 4204 Sep 12 10:28 known_hosts -rw-r--r-- 1 root wheel 3613 Sep 11 16:02 known_hosts.old |
#exit
Connection to 192.168.15.242 closed. |
#exit
Connection to 192.168.15.242 closed. |
#exit
Connection to 192.168.15.242 closed. |
#exit
Connection to 192.168.15.242 closed. |
#exit
Connection to 192.168.15.242 closed. |
#exit
Connection to 192.168.15.242 closed. |
#exit
Connection to 192.168.15.242 closed. |
#exit
Connection to 192.168.15.242 closed. |
#ssh root@192.168.15.242
Enter passphrase for key '/root/.ssh/id_rsa': Last login: Wed Sep 12 10:27:47 2007 from host237.unix.nt Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.2-RELEASE (SMP) #0: Fri Jan 12 11:05:30 UTC 2007 Welcome to FreeBSD! Before seeking technical support, please use the following resources: o Security advisories and updated errata information for all releases are at http://www.FreeBSD.org/releases/ - always consult the ERRATA section for your release first as it's updated frequently. ... http://www.FreeBSD.org/search/. If the doc distribution has been installed, they're also available formatted in /usr/share/doc. If you still have a question or problem, please take the output of `uname -a', along with any relevant error messages, and email it as a question to the questions@FreeBSD.org mailing list. If you are unfamiliar with FreeBSD's directory layout, please refer to the hier(7) manual page. If you are not familiar with manual pages, type `man man'. You may also use sysinstall(8) to re-enter the installation and configuration utility. Edit /etc/motd to change this login announcement. Removing stale pidfile |
#ssh root@192.168.15.242
Enter passphrase for key '/root/.ssh/id_rsa': Last login: Wed Sep 12 10:27:47 2007 from host237.unix.nt Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.2-RELEASE (SMP) #0: Fri Jan 12 11:05:30 UTC 2007 Welcome to FreeBSD! Before seeking technical support, please use the following resources: o Security advisories and updated errata information for all releases are at http://www.FreeBSD.org/releases/ - always consult the ERRATA section for your release first as it's updated frequently. ... http://www.FreeBSD.org/search/. If the doc distribution has been installed, they're also available formatted in /usr/share/doc. If you still have a question or problem, please take the output of `uname -a', along with any relevant error messages, and email it as a question to the questions@FreeBSD.org mailing list. If you are unfamiliar with FreeBSD's directory layout, please refer to the hier(7) manual page. If you are not familiar with manual pages, type `man man'. You may also use sysinstall(8) to re-enter the installation and configuration utility. Edit /etc/motd to change this login announcement. Removing stale pidfile |
#ssh root@192.168.15.242
Enter passphrase for key '/root/.ssh/id_rsa': Last login: Wed Sep 12 10:27:47 2007 from host237.unix.nt Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.2-RELEASE (SMP) #0: Fri Jan 12 11:05:30 UTC 2007 Welcome to FreeBSD! Before seeking technical support, please use the following resources: o Security advisories and updated errata information for all releases are at http://www.FreeBSD.org/releases/ - always consult the ERRATA section for your release first as it's updated frequently. ... http://www.FreeBSD.org/search/. If the doc distribution has been installed, they're also available formatted in /usr/share/doc. If you still have a question or problem, please take the output of `uname -a', along with any relevant error messages, and email it as a question to the questions@FreeBSD.org mailing list. If you are unfamiliar with FreeBSD's directory layout, please refer to the hier(7) manual page. If you are not familiar with manual pages, type `man man'. You may also use sysinstall(8) to re-enter the installation and configuration utility. Edit /etc/motd to change this login announcement. Removing stale pidfile |
#ssh root@192.168.15.242
Enter passphrase for key '/root/.ssh/id_rsa': Last login: Wed Sep 12 10:27:47 2007 from host237.unix.nt Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.2-RELEASE (SMP) #0: Fri Jan 12 11:05:30 UTC 2007 Welcome to FreeBSD! Before seeking technical support, please use the following resources: o Security advisories and updated errata information for all releases are at http://www.FreeBSD.org/releases/ - always consult the ERRATA section for your release first as it's updated frequently. ... http://www.FreeBSD.org/search/. If the doc distribution has been installed, they're also available formatted in /usr/share/doc. If you still have a question or problem, please take the output of `uname -a', along with any relevant error messages, and email it as a question to the questions@FreeBSD.org mailing list. If you are unfamiliar with FreeBSD's directory layout, please refer to the hier(7) manual page. If you are not familiar with manual pages, type `man man'. You may also use sysinstall(8) to re-enter the installation and configuration utility. Edit /etc/motd to change this login announcement. Removing stale pidfile |
#ssh root@192.168.15.242
Enter passphrase for key '/root/.ssh/id_rsa': Last login: Wed Sep 12 10:27:47 2007 from host237.unix.nt Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.2-RELEASE (SMP) #0: Fri Jan 12 11:05:30 UTC 2007 Welcome to FreeBSD! Before seeking technical support, please use the following resources: o Security advisories and updated errata information for all releases are at http://www.FreeBSD.org/releases/ - always consult the ERRATA section for your release first as it's updated frequently. ... http://www.FreeBSD.org/search/. If the doc distribution has been installed, they're also available formatted in /usr/share/doc. If you still have a question or problem, please take the output of `uname -a', along with any relevant error messages, and email it as a question to the questions@FreeBSD.org mailing list. If you are unfamiliar with FreeBSD's directory layout, please refer to the hier(7) manual page. If you are not familiar with manual pages, type `man man'. You may also use sysinstall(8) to re-enter the installation and configuration utility. Edit /etc/motd to change this login announcement. Removing stale pidfile |
#ssh root@192.168.15.242
Enter passphrase for key '/root/.ssh/id_rsa': Last login: Wed Sep 12 10:27:47 2007 from host237.unix.nt Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.2-RELEASE (SMP) #0: Fri Jan 12 11:05:30 UTC 2007 Welcome to FreeBSD! Before seeking technical support, please use the following resources: o Security advisories and updated errata information for all releases are at http://www.FreeBSD.org/releases/ - always consult the ERRATA section for your release first as it's updated frequently. ... http://www.FreeBSD.org/search/. If the doc distribution has been installed, they're also available formatted in /usr/share/doc. If you still have a question or problem, please take the output of `uname -a', along with any relevant error messages, and email it as a question to the questions@FreeBSD.org mailing list. If you are unfamiliar with FreeBSD's directory layout, please refer to the hier(7) manual page. If you are not familiar with manual pages, type `man man'. You may also use sysinstall(8) to re-enter the installation and configuration utility. Edit /etc/motd to change this login announcement. Removing stale pidfile |
#ssh root@192.168.15.242
Enter passphrase for key '/root/.ssh/id_rsa': Last login: Wed Sep 12 10:27:47 2007 from host237.unix.nt Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.2-RELEASE (SMP) #0: Fri Jan 12 11:05:30 UTC 2007 Welcome to FreeBSD! Before seeking technical support, please use the following resources: o Security advisories and updated errata information for all releases are at http://www.FreeBSD.org/releases/ - always consult the ERRATA section for your release first as it's updated frequently. ... http://www.FreeBSD.org/search/. If the doc distribution has been installed, they're also available formatted in /usr/share/doc. If you still have a question or problem, please take the output of `uname -a', along with any relevant error messages, and email it as a question to the questions@FreeBSD.org mailing list. If you are unfamiliar with FreeBSD's directory layout, please refer to the hier(7) manual page. If you are not familiar with manual pages, type `man man'. You may also use sysinstall(8) to re-enter the installation and configuration utility. Edit /etc/motd to change this login announcement. Removing stale pidfile |
#exit
Connection to 192.168.15.242 closed. |
#exit
Connection to 192.168.15.242 closed. |
#exit
Connection to 192.168.15.242 closed. |
#exit
Connection to 192.168.15.242 closed. |
#exit
Connection to 192.168.15.242 closed. |
#exit
Connection to 192.168.15.242 closed. |
#exit
Connection to 192.168.15.242 closed. |
#ssh 192.168.15.242
Enter passphrase for key '/root/.ssh/id_rsa': Last login: Wed Sep 12 10:49:06 2007 from host237.unix.nt Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.2-RELEASE (SMP) #0: Fri Jan 12 11:05:30 UTC 2007 Welcome to FreeBSD! Before seeking technical support, please use the following resources: o Security advisories and updated errata information for all releases are at http://www.FreeBSD.org/releases/ - always consult the ERRATA section for your release first as it's updated frequently. ... http://www.FreeBSD.org/search/. If the doc distribution has been installed, they're also available formatted in /usr/share/doc. If you still have a question or problem, please take the output of `uname -a', along with any relevant error messages, and email it as a question to the questions@FreeBSD.org mailing list. If you are unfamiliar with FreeBSD's directory layout, please refer to the hier(7) manual page. If you are not familiar with manual pages, type `man man'. You may also use sysinstall(8) to re-enter the installation and configuration utility. Edit /etc/motd to change this login announcement. Removing stale pidfile |
#exit
Connection to 192.168.15.242 closed. |
#ssh -vot@192.168.15.242
OpenSSH_4.5p1 FreeBSD-20061110, OpenSSL 0.9.7e-p1 25 Oct 2004 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Connecting to 192.168.15.242 [192.168.15.242] port 22. debug1: Connection established. debug1: permanently_set_uid: 0/0 debug1: identity file /root/.ssh/identity type 0 debug1: identity file /root/.ssh/id_rsa type 1 debug1: identity file /root/.ssh/id_dsa type 2 debug1: Remote protocol version 2.0, remote software version OpenSSH_4.5p1 FreeBSD-20061110 debug1: match: OpenSSH_4.5p1 FreeBSD-20061110 pat OpenSSH* ... debug1: SSH2_MSG_NEWKEYS received debug1: SSH2_MSG_SERVICE_REQUEST sent debug1: SSH2_MSG_SERVICE_ACCEPT received debug1: Authentications that can continue: publickey,keyboard-interactive debug1: Next authentication method: publickey debug1: Offering public key: /root/.ssh/id_rsa debug1: Server accepts key: pkalg ssh-rsa blen 277 debug1: PEM_read_PrivateKey failed debug1: read PEM private key done: type <unknown> Enter passphrase for key '/root/.ssh/id_rsa': |
#ssh -vot@192.168.15.242
OpenSSH_4.5p1 FreeBSD-20061110, OpenSSL 0.9.7e-p1 25 Oct 2004 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Connecting to 192.168.15.242 [192.168.15.242] port 22. debug1: Connection established. debug1: permanently_set_uid: 0/0 debug1: identity file /root/.ssh/identity type 0 debug1: identity file /root/.ssh/id_rsa type 1 debug1: identity file /root/.ssh/id_dsa type 2 debug1: Remote protocol version 2.0, remote software version OpenSSH_4.5p1 FreeBSD-20061110 debug1: match: OpenSSH_4.5p1 FreeBSD-20061110 pat OpenSSH* ... debug1: SSH2_MSG_NEWKEYS received debug1: SSH2_MSG_SERVICE_REQUEST sent debug1: SSH2_MSG_SERVICE_ACCEPT received debug1: Authentications that can continue: publickey,keyboard-interactive debug1: Next authentication method: publickey debug1: Offering public key: /root/.ssh/id_rsa debug1: Server accepts key: pkalg ssh-rsa blen 277 debug1: PEM_read_PrivateKey failed debug1: read PEM private key done: type <unknown> Enter passphrase for key '/root/.ssh/id_rsa': |
#ssh -vot@192.168.15.242
OpenSSH_4.5p1 FreeBSD-20061110, OpenSSL 0.9.7e-p1 25 Oct 2004 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Connecting to 192.168.15.242 [192.168.15.242] port 22. debug1: Connection established. debug1: permanently_set_uid: 0/0 debug1: identity file /root/.ssh/identity type 0 debug1: identity file /root/.ssh/id_rsa type 1 debug1: identity file /root/.ssh/id_dsa type 2 debug1: Remote protocol version 2.0, remote software version OpenSSH_4.5p1 FreeBSD-20061110 debug1: match: OpenSSH_4.5p1 FreeBSD-20061110 pat OpenSSH* ... debug1: SSH2_MSG_NEWKEYS received debug1: SSH2_MSG_SERVICE_REQUEST sent debug1: SSH2_MSG_SERVICE_ACCEPT received debug1: Authentications that can continue: publickey,keyboard-interactive debug1: Next authentication method: publickey debug1: Offering public key: /root/.ssh/id_rsa debug1: Server accepts key: pkalg ssh-rsa blen 277 debug1: PEM_read_PrivateKey failed debug1: read PEM private key done: type <unknown> Enter passphrase for key '/root/.ssh/id_rsa': |
#ssh -vot@192.168.15.242
OpenSSH_4.5p1 FreeBSD-20061110, OpenSSL 0.9.7e-p1 25 Oct 2004 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Connecting to 192.168.15.242 [192.168.15.242] port 22. debug1: Connection established. debug1: permanently_set_uid: 0/0 debug1: identity file /root/.ssh/identity type 0 debug1: identity file /root/.ssh/id_rsa type 1 debug1: identity file /root/.ssh/id_dsa type 2 debug1: Remote protocol version 2.0, remote software version OpenSSH_4.5p1 FreeBSD-20061110 debug1: match: OpenSSH_4.5p1 FreeBSD-20061110 pat OpenSSH* ... debug1: SSH2_MSG_NEWKEYS received debug1: SSH2_MSG_SERVICE_REQUEST sent debug1: SSH2_MSG_SERVICE_ACCEPT received debug1: Authentications that can continue: publickey,keyboard-interactive debug1: Next authentication method: publickey debug1: Offering public key: /root/.ssh/id_rsa debug1: Server accepts key: pkalg ssh-rsa blen 277 debug1: PEM_read_PrivateKey failed debug1: read PEM private key done: type <unknown> Enter passphrase for key '/root/.ssh/id_rsa': |
#ssh -vot@192.168.15.242
OpenSSH_4.5p1 FreeBSD-20061110, OpenSSL 0.9.7e-p1 25 Oct 2004 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Connecting to 192.168.15.242 [192.168.15.242] port 22. debug1: Connection established. debug1: permanently_set_uid: 0/0 debug1: identity file /root/.ssh/identity type 0 debug1: identity file /root/.ssh/id_rsa type 1 debug1: identity file /root/.ssh/id_dsa type 2 debug1: Remote protocol version 2.0, remote software version OpenSSH_4.5p1 FreeBSD-20061110 debug1: match: OpenSSH_4.5p1 FreeBSD-20061110 pat OpenSSH* ... debug1: SSH2_MSG_NEWKEYS received debug1: SSH2_MSG_SERVICE_REQUEST sent debug1: SSH2_MSG_SERVICE_ACCEPT received debug1: Authentications that can continue: publickey,keyboard-interactive debug1: Next authentication method: publickey debug1: Offering public key: /root/.ssh/id_rsa debug1: Server accepts key: pkalg ssh-rsa blen 277 debug1: PEM_read_PrivateKey failed debug1: read PEM private key done: type <unknown> Enter passphrase for key '/root/.ssh/id_rsa': |
#ssh -vot@192.168.15.242
OpenSSH_4.5p1 FreeBSD-20061110, OpenSSL 0.9.7e-p1 25 Oct 2004 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Connecting to 192.168.15.242 [192.168.15.242] port 22. debug1: Connection established. debug1: permanently_set_uid: 0/0 debug1: identity file /root/.ssh/identity type 0 debug1: identity file /root/.ssh/id_rsa type 1 debug1: identity file /root/.ssh/id_dsa type 2 debug1: Remote protocol version 2.0, remote software version OpenSSH_4.5p1 FreeBSD-20061110 debug1: match: OpenSSH_4.5p1 FreeBSD-20061110 pat OpenSSH* ... debug1: SSH2_MSG_NEWKEYS received debug1: SSH2_MSG_SERVICE_REQUEST sent debug1: SSH2_MSG_SERVICE_ACCEPT received debug1: Authentications that can continue: publickey,keyboard-interactive debug1: Next authentication method: publickey debug1: Offering public key: /root/.ssh/id_rsa debug1: Server accepts key: pkalg ssh-rsa blen 277 debug1: PEM_read_PrivateKey failed debug1: read PEM private key done: type <unknown> Enter passphrase for key '/root/.ssh/id_rsa': |
#ssh -vot@192.168.15.242
OpenSSH_4.5p1 FreeBSD-20061110, OpenSSL 0.9.7e-p1 25 Oct 2004 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Connecting to 192.168.15.242 [192.168.15.242] port 22. debug1: Connection established. debug1: permanently_set_uid: 0/0 debug1: identity file /root/.ssh/identity type 0 debug1: identity file /root/.ssh/id_rsa type 1 debug1: identity file /root/.ssh/id_dsa type 2 debug1: Remote protocol version 2.0, remote software version OpenSSH_4.5p1 FreeBSD-20061110 debug1: match: OpenSSH_4.5p1 FreeBSD-20061110 pat OpenSSH* ... debug1: SSH2_MSG_NEWKEYS received debug1: SSH2_MSG_SERVICE_REQUEST sent debug1: SSH2_MSG_SERVICE_ACCEPT received debug1: Authentications that can continue: publickey,keyboard-interactive debug1: Next authentication method: publickey debug1: Offering public key: /root/.ssh/id_rsa debug1: Server accepts key: pkalg ssh-rsa blen 277 debug1: PEM_read_PrivateKey failed debug1: read PEM private key done: type <unknown> Enter passphrase for key '/root/.ssh/id_rsa': |
#ll /home/user/.s
.shrc .ssh/ |
#ll /home/user/.s
.shrc .ssh/ |
#ll /home/user/.s
.shrc .ssh/ |
#ll /home/user/.s
.shrc .ssh/ |
#ll /home/user/.s
.shrc .ssh/ |
#ll /home/user/.s
.shrc .ssh/ |
#ll /home/user/.ssh/
total 4 -rw-r--r-- 1 root wheel 400 Sep 11 16:28 authorized_keys -rw-r--r-- 1 user wheel 1812 Sep 11 16:46 known_hosts |
#ll /home/user/.ssh/
total 4 -rw-r--r-- 1 root wheel 400 Sep 11 16:28 authorized_keys -rw-r--r-- 1 user wheel 1812 Sep 11 16:46 known_hosts |
#ssh-agent
SSH_AUTH_SOCK=/tmp/ssh-Dvw7icmuot/agent.3536; export SSH_AUTH_SOCK; SSH_AGENT_PID=3537; export SSH_AGENT_PID; echo Agent pid 3537; |
#ssh-agent
SSH_AUTH_SOCK=/tmp/ssh-Dvw7icmuot/agent.3536; export SSH_AUTH_SOCK; SSH_AGENT_PID=3537; export SSH_AGENT_PID; echo Agent pid 3537; |
#ssh-agent
SSH_AUTH_SOCK=/tmp/ssh-Dvw7icmuot/agent.3536; export SSH_AUTH_SOCK; SSH_AGENT_PID=3537; export SSH_AGENT_PID; echo Agent pid 3537; |
#chown user:wheel /home/user/.ssh/authorized_keys
|
#chown user:wheel /home/user/.ssh/authorized_keys
|
#chown user:wheel /home/user/.ssh/authorized_keys
|
#eval 'ssh-agent'
SSH_AUTH_SOCK=/tmp/ssh-nKqWE5LIkA/agent.3543; export SSH_AUTH_SOCK; SSH_AGENT_PID=3544; export SSH_AGENT_PID; echo Agent pid 3544; |
#eval 'ssh-agent'
SSH_AUTH_SOCK=/tmp/ssh-nKqWE5LIkA/agent.3543; export SSH_AUTH_SOCK; SSH_AGENT_PID=3544; export SSH_AGENT_PID; echo Agent pid 3544; |
#eval 'ssh-agent'
SSH_AUTH_SOCK=/tmp/ssh-nKqWE5LIkA/agent.3543; export SSH_AUTH_SOCK; SSH_AGENT_PID=3544; export SSH_AGENT_PID; echo Agent pid 3544; |
#eval 'ssh-agent'
SSH_AUTH_SOCK=/tmp/ssh-nKqWE5LIkA/agent.3543; export SSH_AUTH_SOCK; SSH_AGENT_PID=3544; export SSH_AGENT_PID; echo Agent pid 3544; |
#env
SHELL=/usr/local/bin/bash TERM=xterm L3_PARENT_TTY=/dev/ttyp6 L3_TAMPERED_EDITORS= vi ee vim USER=root FTP_PASSIVE_MODE=YES PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin MAIL=/var/mail/root L3_SESSION_ID=26204184161143813802-1189579050 BLOCKSIZE=K PWD=/root/.ssh PS1=\[v2#\!#$?#$UID#$$#$(/bin/date +%s)$(l3_save_last_line)#$PWD#\033[1024D\033[K\]\[\033[0;31m\][\u@\h:\W]\$ \[\033[0m\] L3_HOME=/root/.lilalo/ HOME=/root SHLVL=1 _=/usr/bin/env OLDPWD=/root |
#setenv
bash: setenv: command not found |
#setenv
bash: setenv: command not found |
#setenv
bash: setenv: command not found |
#setenv
bash: setenv: command not found |
#set
OPTERR=1 OPTIND=1 OSTYPE=freebsd6.2 PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin PIPESTATUS=([0]="127") PPID=1502 PS1='\[v2#\!#$?#$UID#$$#$(/bin/date +%s)$(l3_save_last_line)#$PWD#\033[1024D\033[K\]\[\033[0;31m\][\u@\h:\W]\$ \[\033[0m\]' PS2='> ' PS4='+ ' PWD=/root/.ssh ... /bin/cp -- "$1" "$old_file" 2>/dev/null; /usr/local/bin/vim "$@" || ERR=$?; [ -e "$old_file" ] && diff "$old_file" "$1" >"$L3_HOME/$DIFFNAME" 2>/dev/null; if [ 0 == 2 ]; then diff /dev/null "$1" >"$L3_HOME/$DIFFNAME" 2>/dev/null; fi; /bin/rm "$old_file" 2>/dev/null; return $ERR; fi } |
#set
OPTERR=1 OPTIND=1 OSTYPE=freebsd6.2 PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin PIPESTATUS=([0]="127") PPID=1502 PS1='\[v2#\!#$?#$UID#$$#$(/bin/date +%s)$(l3_save_last_line)#$PWD#\033[1024D\033[K\]\[\033[0;31m\][\u@\h:\W]\$ \[\033[0m\]' PS2='> ' PS4='+ ' PWD=/root/.ssh ... /bin/cp -- "$1" "$old_file" 2>/dev/null; /usr/local/bin/vim "$@" || ERR=$?; [ -e "$old_file" ] && diff "$old_file" "$1" >"$L3_HOME/$DIFFNAME" 2>/dev/null; if [ 0 == 2 ]; then diff /dev/null "$1" >"$L3_HOME/$DIFFNAME" 2>/dev/null; fi; /bin/rm "$old_file" 2>/dev/null; return $ERR; fi } |
#set
OPTERR=1 OPTIND=1 OSTYPE=freebsd6.2 PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin PIPESTATUS=([0]="127") PPID=1502 PS1='\[v2#\!#$?#$UID#$$#$(/bin/date +%s)$(l3_save_last_line)#$PWD#\033[1024D\033[K\]\[\033[0;31m\][\u@\h:\W]\$ \[\033[0m\]' PS2='> ' PS4='+ ' PWD=/root/.ssh ... /bin/cp -- "$1" "$old_file" 2>/dev/null; /usr/local/bin/vim "$@" || ERR=$?; [ -e "$old_file" ] && diff "$old_file" "$1" >"$L3_HOME/$DIFFNAME" 2>/dev/null; if [ 0 == 2 ]; then diff /dev/null "$1" >"$L3_HOME/$DIFFNAME" 2>/dev/null; fi; /bin/rm "$old_file" 2>/dev/null; return $ERR; fi } |
#set
OPTERR=1 OPTIND=1 OSTYPE=freebsd6.2 PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin PIPESTATUS=([0]="127") PPID=1502 PS1='\[v2#\!#$?#$UID#$$#$(/bin/date +%s)$(l3_save_last_line)#$PWD#\033[1024D\033[K\]\[\033[0;31m\][\u@\h:\W]\$ \[\033[0m\]' PS2='> ' PS4='+ ' PWD=/root/.ssh ... /bin/cp -- "$1" "$old_file" 2>/dev/null; /usr/local/bin/vim "$@" || ERR=$?; [ -e "$old_file" ] && diff "$old_file" "$1" >"$L3_HOME/$DIFFNAME" 2>/dev/null; if [ 0 == 2 ]; then diff /dev/null "$1" >"$L3_HOME/$DIFFNAME" 2>/dev/null; fi; /bin/rm "$old_file" 2>/dev/null; return $ERR; fi } |
#set
OPTERR=1 OPTIND=1 OSTYPE=freebsd6.2 PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin PIPESTATUS=([0]="127") PPID=1502 PS1='\[v2#\!#$?#$UID#$$#$(/bin/date +%s)$(l3_save_last_line)#$PWD#\033[1024D\033[K\]\[\033[0;31m\][\u@\h:\W]\$ \[\033[0m\]' PS2='> ' PS4='+ ' PWD=/root/.ssh ... /bin/cp -- "$1" "$old_file" 2>/dev/null; /usr/local/bin/vim "$@" || ERR=$?; [ -e "$old_file" ] && diff "$old_file" "$1" >"$L3_HOME/$DIFFNAME" 2>/dev/null; if [ 0 == 2 ]; then diff /dev/null "$1" >"$L3_HOME/$DIFFNAME" 2>/dev/null; fi; /bin/rm "$old_file" 2>/dev/null; return $ERR; fi } |
#man eval
|
#man eval
|
#man eval
|
#man eval
|
#man eval
|
#man eval
|
#eval 'ssh-agent'
SSH_AUTH_SOCK=/tmp/ssh-415PxFZL0t/agent.3596; export SSH_AUTH_SOCK; SSH_AGENT_PID=3597; export SSH_AGENT_PID; echo Agent pid 3597; |
#echo $SSH_AUTH_SOCK
|
#echo $SSH_AUTH_SOCK
|
#echo $SSH_AUTH_SOCK
/tmp/ssh-415PxFZL0t/agent.3596 |
#echo $SSH_AUTH_SOCK
|
#echo $SSH_AUTH_SOCK
/tmp/ssh-415PxFZL0t/agent.3596 |
#echo $SSH_AUTH_SOCK
|
#echo $SSH_AUTH_SOCK
/tmp/ssh-415PxFZL0t/agent.3596 |
#export SSH_AGENT_PID=3597
|
#export SSH_AGENT_PID=3597
|
#export SSH_AGENT_PID=3597
|
#echo $SSH_AGENT_PID
3597 |
#echo $SSH_AGENT_PID
3597 |
#ssh-add -l
The agent has no identities. |
#ssh-add -l
The agent has no identities. |
#ssh-add -l
The agent has no identities. |
#ssh-add -l
The agent has no identities. |
#ssh-add -l
The agent has no identities. |
#ssh-add -l
The agent has no identities. |
#ssh-add
Enter passphrase for /root/.ssh/id_rsa: Identity added: /root/.ssh/id_rsa (/root/.ssh/id_rsa) Identity added: /root/.ssh/id_dsa (/root/.ssh/id_dsa) Identity added: /root/.ssh/identity (root@fbsd3.unix.nt) |
#ssh-add
Enter passphrase for /root/.ssh/id_rsa: Identity added: /root/.ssh/id_rsa (/root/.ssh/id_rsa) Identity added: /root/.ssh/id_dsa (/root/.ssh/id_dsa) Identity added: /root/.ssh/identity (root@fbsd3.unix.nt) |
#ssh-add
Enter passphrase for /root/.ssh/id_rsa: Identity added: /root/.ssh/id_rsa (/root/.ssh/id_rsa) Identity added: /root/.ssh/id_dsa (/root/.ssh/id_dsa) Identity added: /root/.ssh/identity (root@fbsd3.unix.nt) |
Время первой команды журнала | 10:47:34 2007- 9-12 | ||||||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 11:10:25 2007- 9-12 | ||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | ||||||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 5.94 | ||||||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 3.96 | ||||||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 0.38 | ||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 4.42 | ||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду 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