$openssl s_client -connect xxx.xxx.xxx.xxx:443 -ssl3 -cipher EDH-RSA-DES-CBC-SHA
短い暗号鍵を使ってるのを確認したい場合に使います。
まぁほとんどの人は使う必要がありません。
sshの接続でタイトルのエラーがでた場合の対処法
1.まず/var/log/auth.logを確認
Sep 16 17:10:10 system sshd[3194]: pam_unix(sshd:session): session opened for user xxxxxx by (uid=0)
こんなメッセージが出てたら、sshd_configのAllowUsersを編集
2.sshd_config編集
$sudo nano /etc/ssh/sshd_config
AllowUsers xxxxxxx ← xxxxxxの部分にユーザ名を半角空白区切りで入力
3.設定のリロード
$sudo /etc/init.d/ssh reload
なんだかんだでたまにやるとはまります。
1.まず/var/log/auth.logを確認
Sep 16 17:10:10 system sshd[3194]: pam_unix(sshd:session): session opened for user xxxxxx by (uid=0)
こんなメッセージが出てたら、sshd_configのAllowUsersを編集
2.sshd_config編集
$sudo nano /etc/ssh/sshd_config
AllowUsers xxxxxxx ← xxxxxxの部分にユーザ名を半角空白区切りで入力
3.設定のリロード
$sudo /etc/init.d/ssh reload
なんだかんだでたまにやるとはまります。
【Nessus install】
1.http://www.nessus.org/download/nessus_download.php
2.select [Nessus-4.2.2-ubuntu910_i386.deb]
3.double click *.deb file and install.
【get [activation code] and configure】
1.access [http://www.nessus.org/plugins/?view=register-info]
2.select [home feed]
3.input your e-mail address and submit
receive your e-mail address activation code
4.register activation code
ubuntu:/opt/nessus/bin$ sudo ./nessus-fetch --register EDE2-028F-43A7-3656-A0A2
[sudo] password for :
Your activation code has been registered properly - thank you.
Now fetching the newest plugin set from plugins.nessus.org...
Your Nessus installation is now up-to-date.
If auto_update is set to 'yes' in nessusd.conf, Nessus will
update the plugins by itself.
【add user】
@ubuntu:~$cd /opt/nessus/
@ubuntu:~$ sudo /opt/nessus/sbin/nessus-adduser
[sudo] password for :
Login :
Login password :
Login password (again) :
Do you want this user to be a Nessus 'admin' user ? (can upload plugins, etc...) (y/n) [n]: y
User rules
----------
nessusd has a rules system which allows you to restrict the hosts
that mandkc has the right to test. For instance, you may want
him to be able to scan his own host only.
Please see the nessus-adduser manual for the rules syntax
Enter the rules for this user, and enter a BLANK LINE once you are done :
(the user can have an empty rules set)
Login :
Password : ***********
This user will have 'admin' privileges within the Nessus server
Rules :
Is that ok ? (y
【start nessus】
1.hiroyuki@ubuntu:/opt/nessus/bin$ sudo /etc/init.d/nessusd start
$Starting Nessus : .
【stop nessus】
1.@ubuntu:/opt/nessus/bin$ sudo /etc/init.d/nessusd stop
$Shutting down Nessus : .
【access nessus server】
1.https://localhost:8834/
1.http://www.nessus.org/download/nessus_download.php
2.select [Nessus-4.2.2-ubuntu910_i386.deb]
3.double click *.deb file and install.
【get [activation code] and configure】
1.access [http://www.nessus.org/plugins/?view=register-info]
2.select [home feed]
3.input your e-mail address and submit
receive your e-mail address activation code
4.register activation code
ubuntu:/opt/nessus/bin$ sudo ./nessus-fetch --register EDE2-028F-43A7-3656-A0A2
[sudo] password for :
Your activation code has been registered properly - thank you.
Now fetching the newest plugin set from plugins.nessus.org...
Your Nessus installation is now up-to-date.
If auto_update is set to 'yes' in nessusd.conf, Nessus will
update the plugins by itself.
【add user】
@ubuntu:~$cd /opt/nessus/
@ubuntu:~$ sudo /opt/nessus/sbin/nessus-adduser
[sudo] password for :
Login :
Login password :
Login password (again) :
Do you want this user to be a Nessus 'admin' user ? (can upload plugins, etc...) (y/n) [n]: y
User rules
----------
nessusd has a rules system which allows you to restrict the hosts
that mandkc has the right to test. For instance, you may want
him to be able to scan his own host only.
Please see the nessus-adduser manual for the rules syntax
Enter the rules for this user, and enter a BLANK LINE once you are done :
(the user can have an empty rules set)
Login :
Password : ***********
This user will have 'admin' privileges within the Nessus server
Rules :
Is that ok ? (y
【start nessus】
1.hiroyuki@ubuntu:/opt/nessus/bin$ sudo /etc/init.d/nessusd start
$Starting Nessus : .
【stop nessus】
1.@ubuntu:/opt/nessus/bin$ sudo /etc/init.d/nessusd stop
$Shutting down Nessus : .
【access nessus server】
1.https://localhost:8834/