[root@localhost ~]# vi .htaccess php_flag error_reporting = E_ALL php_flag display_errors = Off
出處: php_flag in .htaccess
[root@localhost ~]# vi .htaccess php_flag error_reporting = E_ALL php_flag display_errors = Off
[root@local ~]# ssh-keygen -t rsa Generating public/private rsa key pair. Enter file in which to save the key (/root/.ssh/id_rsa): Created directory '/root/.ssh'. 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: 7e:16:f4:57:87:5c:60:be:91:70:82:ac:cc:a9:95:74 root@localhost.localdomain
[root@local ~]# scp /root/.ssh/id_dsa.pub root@remote:/root/.ssh/id_dsa.pub root@remote 's password: id_dsa.pub 100% |*****************************| 718 00:00
[root@remote ~]# cat /root/.ssh/id_dsa.pub >> /root/.ssh/authorized_keys
[root@local ~]# ssh root@remote