All pastes #749351 Raw Edit

Miscellany

public text v1 · immutable
#749351 ·published 2007-10-25 17:16 UTC
rendered paste body
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2007.10.25 12:43:56 =~=~=~=~=~=~=~=~=~=~=~=
login as: ARRICK      arrick
arrick@www.arrick.org's password: 
Linux sshserver 2.6.15-26-server #1 SMP Thu Aug 3 04:09:15 UTC 2006 i686 GNU/Linux

The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.
Last login: Thu Oct 25 07:55:06 2007 from 65.245.98.194

]0;arrick@sshserver: ~arrick@sshserver:~$ lkhglkhjyu
-bash: lkhglkhjyu: command not found
]0;arrick@sshserver: ~arrick@sshserver:~$ cd v/var/
]0;arrick@sshserver: /vararrick@sshserver:/var$ ls
backups  cache  lib  local  lock  log  mail  opt  run  spool  tmp
]0;arrick@sshserver: /vararrick@sshserver:/var$ cdcd log
]0;arrick@sshserver: /var/logarrick@sshserver:/var/log$ ls
aptitude    dmesg              faillog    mail.err   news      uucp.log
auth.log    dpkg.log           installer  mail.info  syslog    wtmp
btmp        evms-engine.1.log  kern.log   mail.log   syslog.0
daemon.log  evms-engine.2.log  lastlog    mail.warn  udev
debug       evms-engine.log    lpr.log    messages   user.log
]0;arrick@sshserver: /var/logarrick@sshserver:/var/log$ cd ..
]0;arrick@sshserver: /vararrick@sshserver:/var$ cd ..
]0;arrick@sshserver: /arrick@sshserver:/$ /nanpoo /ets/ssh/sshd_config
[?1049h(B[?7h[?12l[?25h[?1h=[?1h=[?1h=(B(B  GNU nano 1.3.10          File: /ets/ssh/sshd_config                           [ New File ]
^G(B Get Help  (B^O(B WriteOut  (B^R(B Read File (B^Y(B Prev Page (B^K(B Cut Text  (B^C(B Cur Pos
(B^X(B Exit(B^J(B Justify   (B^W(B Where Is  (B^V(B Next Page (B^U(B UnCut Txt (B^T(B To Spell
[?1049l
[?1l>]0;arrick@sshserver: /arrick@sshserver:/$ nano /ets/ssh/sshd_config
arrick@sshserver:/$ nano /e
arrick@sshserver:/$ nano /et/ssh/sshd_configc/ssh/sshd_config
[?1049h(B[?7h[?12l[?25h[?1h=[?1h=[?1h=(B(B  GNU nano 1.3.10          File: /etc/ssh/sshd_config                           (B# Package generated configuration file
# See the sshd(8) manpage for details
# What ports, IPs and protocols we listen for
Port 22
# Use these options to restrict which interfaces/protocols sshd will bind to
#ListenAddress ::
#ListenAddress 0.0.0.0
Protocol 2
# HostKeys for protocol version 2
HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_dsa_key
#Privilege Separation is turned on for security
UsePrivilegeSeparation yes
# Lifetime and size of ephemeral version 1 server key
KeyRegenerationInterval 3600
ServerKeyBits 768(B[ Read 77 lines ]
^G(B Get Help  (B^O(B WriteOut  (B^R(B Read File (B^Y(B Prev Page (B^K(B Cut Text  (B^C(B Cur Pos
(B^X(B Exit(B^J(B Justify   (B^W(B Where Is  (B^V(B Next Page (B^U(B UnCut Txt (B^T(B To Spell
78# Logging
SyslogFacility AUTH
LogLevel INFO
# Authentication:
LoginGraceTime 120
PermitRootLogin yes
StrictModes yes
78RSAAuthentication yes
PubkeyAuthentication yes
#AuthorizedKeysFile     %h/.ssh/authorized_keys
# Don't read the user's ~/.rhosts and ~/.shosts files
IgnoreRhosts yes
# For this to work you will also need host keys in /etc/ssh_known_hosts
RhostsRSAAuthentication no
# similar for protocol version 2
78HostbasedAuthentication no
# Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication
#IgnoreUserKnownHosts yes
# To enable empty passwords, change to yes (NOT RECOMMENDED)
PermitEmptyPasswords no
# Change to yes to enable challenge-response passwords (beware issues with
# some PAM modules and threads)
78ChallengeResponseAuthentication no
# Change to no to disable tunnelled clear text passwords
#PasswordAuthentication yes
# Kerberos options
#KerberosAuthentication no
#KerberosGetAFSToken no
#KerberosOrLocalPasswd yes
78#KerberosTicketCleanup yes
# GSSAPI options
#GSSAPIAuthentication no
#GSSAPICleanupCredentials yes
X11Forwarding yes
X11DisplayOffset 10
PrintMotd no
78PrintLastLog yes
KeepAlive yes
#UseLogin no
#MaxStartups 10:30:60
#Banner /etc/issue.net
# Allow client to pass locale environment variables
AcceptEnv LANG LC_*
78Subsystem sftp /usr/lib/openssh/sftp-server
UsePAM yes
#KerberosOrLocalPasswd yes
#KerberosTicketCleanup yes
# GSSAPI options
#GSSAPIAuthentication no
#GSSAPICleanupCredentials yes
X11Forwarding yes
X11DisplayOffset 10
# some PAM modules and threads)
ChallengeResponseAuthentication no
# Change to no to disable tunnelled clear text passwords
#PasswordAuthentication yes
# Kerberos options
#KerberosAuthentication no
#KerberosGetAFSToken no
# similar for protocol version 2
HostbasedAuthentication no
# Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication
#IgnoreUserKnownHosts yes
# To enable empty passwords, change to yes (NOT RECOMMENDED)
PermitEmptyPasswords no
# Change to yes to enable challenge-response passwords (beware issues with
RSAAuthentication yes
PubkeyAuthentication yes
#AuthorizedKeysFile     %h/.ssh/authorized_keys
# Don't read the user's ~/.rhosts and ~/.shosts files
IgnoreRhosts yes
# For this to work you will also need host keys in /etc/ssh_known_hosts
RhostsRSAAuthentication no
[?1049l
[?1l>]0;arrick@sshserver: /arrick@sshserver:/$ nano /etc/var/log/syslog
[?1049h(B[?7h[?12l[?25h[?1h=[?1h=[?1h=(B(B  GNU nano 1.3.10            File: /var/log/syslog                              (BOct 25 06:25:20 sshserver syslogd 1.4.1#17ubuntu7: restart.
Oct 25 06:45:20 sshserver -- MARK --
Oct 25 07:05:21 sshserver -- MARK --
Oct 25 07:17:01 sshserver /USR/SBIN/CRON[5145]: (root) CMD (   run-parts --repo$Oct 25 07:45:22 sshserver -- MARK --
Oct 25 08:05:22 sshserver -- MARK --(B[ Read 6 lines ]
^G(B Get Help  (B^O(B WriteOut  (B^R(B Read File (B^Y(B Prev Page (B^K(B Cut Text  (B^C(B Cur Pos
(B^X(B Exit(B^J(B Justify   (B^W(B Where Is  (B^V(B Next Page (B^U(B UnCut Txt (B^T(B To Spell
[?1049l
[?1l>[?1049h[?12l[?25h(B[?7h(B  GNU nano 1.3.10            File: /var/log/syslog                              
(BOct 25 06:25:20 sshserver syslogd 1.4.1#17ubuntu7: restart.
Oct 25 06:45:20 sshserver -- MARK --
Oct 25 07:05:21 sshserver -- MARK --
Oct 25 07:17:01 sshserver /USR/SBIN/CRON[5145]: (root) CMD (   run-parts --repo$
Oct 25 07:45:22 sshserver -- MARK --
Oct 25 08:05:22 sshserver -- MARK --(B[ Read 6 lines ]
^G(B Get Help  (B^O(B WriteOut  (B^R(B Read File (B^Y(B Prev Page (B^K(B Cut Text  (B^C(B Cur Pos
(B^X(B Exit(B^J(B Justify   (B^W(B Where Is  (B^V(B Next Page (B^U(B UnCut Txt (B^T(B To Spell
[?1h=[?1h=[?1h=(B  GNU nano 1.3.10            File: /var/log/syslog                              
(BOct 25 06:25:20 sshserver syslogd 1.4.1#17ubuntu7: restart.
Oct 25 06:45:20 sshserver -- MARK --
Oct 25 07:05:21 sshserver -- MARK --
Oct 25 07:17:01 sshserver /USR/SBIN/CRON[5145]: (root) CMD (   run-parts --repo$
Oct 25 07:45:22 sshserver -- MARK --
Oct 25 08:05:22 sshserver -- MARK --(B[ Read 6 lines ]
^G(B Get Help  (B^O(B WriteOut  (B^R(B Read File (B^Y(B Prev Page (B^K(B Cut Text  (B^C(B Cur Pos
(B^X(B Exit(B^J(B Justify   (B^W(B Where Is  (B^V(B Next Page (B^U(B UnCut Txt (B^T(B To Spell
(B                     File: /var/log/syslog                                                                                        (Brt /etc/cron.hourly)
(B^O(B WriteOut(B^R(B Read File         (B^Y(B Prev Page(B^K(B Cut Text(B^C(B Cur Pos(B^J(B Justify(B^W(B Where Is(B^V(B Next Page(B^U(B UnCut Txt(B^T(B To Spell
[?1049l
[?1l>]0;arrick@sshserver: /arrick@sshserver:/$ nano /var/log/syslogetc/ssh/sshd_config
[?1049h(B[?7h[?12l[?25h[?1h=[?1h=[?1h=(B(B  GNU nano 1.3.10                                       File: /etc/ssh/sshd_config                                                                                    (B# Package generated configuration file
# See the sshd(8) manpage for details
# What ports, IPs and protocols we listen for
Port 22
# Use these options to restrict which interfaces/protocols sshd will bind to
#ListenAddress ::
#ListenAddress 0.0.0.0
Protocol 2
# HostKeys for protocol version 2
HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_dsa_key
#Privilege Separation is turned on for security
UsePrivilegeSeparation yes
# Lifetime and size of ephemeral version 1 server key
KeyRegenerationInterval 3600
ServerKeyBits 768(B[ Read 77 lines ]
^G(B Get Help(B^O(B WriteOut(B^R(B Read File(B^Y(B Prev Page(B^K(B Cut Text(B^C(B Cur Pos
(B^X(B Exit(B^J(B Justify(B^W(B Where Is(B^V(B Next Page(B^U(B UnCut Txt(B^T(B To Spell
78# Logging
SyslogFacility AUTH
LogLevel INFO
# Authentication:
LoginGraceTime 120
PermitRootLogin yes
StrictModes yes
(BModified(B    DEBUG
(BFile Name to Write: /etc/ssh/sshd_config                                                                                                                              (B(B^T(B To Files (BM-M(B Mac Format(BM-P(B Prepend(BC(B Cancel(BM-D(B DOS Format           (BM-A(B Append (BM-B(B Backup File (B[ Error writing /etc/ssh/sshd_config: Permission denied ](B(B^O(B WriteOut(B^R(B Read File(B^Y(B Prev Page   (B^K(B Cut Text(B^C(B Cur Pos(BX(B Exit  (B^J(B Justify(B^W(B Where Is(B^V(B Next Page(B^U(B UnCut Txt(B^T(B To Spell
(BSave modified buffer (ANSWERING "No" WILL DESTROY CHANGES) ?                                                                                                           Y(B Yes
(B N(B No  (B^C(B Cancel
(BFile Name to Write: /etc/ssh/sshd_config                    
^G(B Get Help(B^T(B To Files(BM-M(B Mac Format(BM-P(B Prepend
(B^C(B Cancel         (BM-D(B DOS Format(BM-A(B Append(BM-B(B Backup File (B[ Error writing /etc/ssh/sshd_config: Permission denied ](B(B^O(B WriteOut(B^R(B Read File(B^Y(B Prev Page   (B^K(B Cut Text(B^C(B Cur Pos(BX(B Exit  (B^J(B Justify(B^W(B Where Is(B^V(B Next Page(B^U(B UnCut Txt(B^T(B To Spell
(BSave modified buffer (ANSWERING "No" WILL DESTROY CHANGES) ?                                                                                                           Y(B Yes
(B N(B No  (B^C(B Cancel
(BFile Name to Write: /etc/ssh/sshd_config                    
^G(B Get Help(B^T(B To Files(BM-M(B Mac Format(BM-P(B Prepend
(B^C(B Cancel         (BM-D(B DOS Format(BM-A(B Append(BM-B(B Backup File (B[ Error writing /etc/ssh/sshd_config: Permission denied ](B(B^O(B WriteOut(B^R(B Read File(B^Y(B Prev Page   (B^K(B Cut Text(B^C(B Cur Pos(BX(B Exit  (B^J(B Justify(B^W(B Where Is(B^V(B Next Page(B^U(B UnCut Txt(B^T(B To Spell
(BSave modified buffer (ANSWERING "No" WILL DESTROY CHANGES) ?                                                                                                           Y(B Yes
(B N(B No  (B^C(B Cancel (B[ Cancelled ](B
(B^G(B Get Help(B^O(B WriteOut(B^R(B Read File(B^Y(B Prev Page(B^K(B Cut Text(B^C(B Cur Pos
(B^X(B Exit           (B^J(B Justify(B^W(B Where Is(B^V(B Next Page(B^U(B UnCut Txt(B^T(B To Spell
(BSave modified buffer (ANSWERING "No" WILL DESTROY CHANGES) ?                                                                                                           Y(B Yes
(B N(B No  (B^C(B Cancel
(BFile Name to Write: /etc/ssh/sshd_config                    
^G(B Get Help(B^T(B To Files(BM-M(B Mac Format(BM-P(B Prepend
(B^C(B Cancel         (BM-D(B DOS Format(BM-A(B Append(BM-B(B Backup File (B[ Error writing /etc/ssh/sshd_config: Permission denied ](B(B^O(B WriteOut(B^R(B Read File(B^Y(B Prev Page   (B^K(B Cut Text(B^C(B Cur Pos(BX(B Exit  (B^J(B Justify(B^W(B Where Is(B^V(B Next Page(B^U(B UnCut Txt(B^T(B To Spell
(BFile Name to Write: /etc/ssh/sshd_config                                                                                                                              (B(B^T(B To Files (BM-M(B Mac Format(BM-P(B Prepend(BC(B Cancel(BM-D(B DOS Format           (BM-A(B Append (BM-B(B Backup File (B[ Error writing /etc/ssh/sshd_config: Permission denied ](B(B^O(B WriteOut(B^R(B Read File(B^Y(B Prev Page   (B^K(B Cut Text(B^C(B Cur Pos(BX(B Exit  (B^J(B Justify(B^W(B Where Is(B^V(B Next Page(B^U(B UnCut Txt(B^T(B To Spell
(BSave modified buffer (ANSWERING "No" WILL DESTROY CHANGES) ?                                                                                                           Y(B Yes
(B N(B No  (B^C(B Cancel
[?1049l
[?1l>]0;arrick@sshserver: /arrick@sshserver:/$ nano /etc/ssh/sshd_config

arrick@sshserver:/$ [1@s[1@u[1@d[1@o[1@ 
Password:
[?1049h(B[?7h[?12l[?25h[?1h=[?1h=[?1h=(B(B  GNU nano 1.3.10                                       File: /etc/ssh/sshd_config                                                                                    (B# Package generated configuration file
# See the sshd(8) manpage for details
# What ports, IPs and protocols we listen for
Port 22
# Use these options to restrict which interfaces/protocols sshd will bind to
#ListenAddress ::
#ListenAddress 0.0.0.0
Protocol 2
# HostKeys for protocol version 2
HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_dsa_key
#Privilege Separation is turned on for security
UsePrivilegeSeparation yes
# Lifetime and size of ephemeral version 1 server key
KeyRegenerationInterval 3600
ServerKeyBits 768(B[ Read 77 lines ]
^G(B Get Help(B^O(B WriteOut(B^R(B Read File(B^Y(B Prev Page(B^K(B Cut Text(B^C(B Cur Pos
(B^X(B Exit(B^J(B Justify(B^W(B Where Is(B^V(B Next Page(B^U(B UnCut Txt(B^T(B To Spell
78# Logging
SyslogFacility AUTH
LogLevel INFO
# Authentication:
LoginGraceTime 120
PermitRootLogin yes
StrictModes yes
(BModified(B    DEBIUG   UG
(BFile Name to Write: /etc/ssh/sshd_config                                                                                                                              (B(B^T(B To Files (BM-M(B Mac Format(BM-P(B Prepend(BC(B Cancel(BM-D(B DOS Format           (BM-A(B Append (BM-B(B Backup File(B        (B (B[ Wrote 77 lines ](B(B^O(B WriteOut(B^R(B Read File(B^Y(B Prev Page   (B^K(B Cut Text(B^C(B Cur Pos(BX(B Exit  (B^J(B Justify(B^W(B Where Is(B^V(B Next Page(B^U(B UnCut Txt(B^T(B To Spell
[?1049l
[?1l>]0;arrick@sshserver: /arrick@sshserver:/$ exit
logout