flagflag  
2: 2009-04-20 (Mon) 02:12:26 iseki source 3: 2020-08-21 (Fri) 21:29:06 iseki source
Line 1: Line 1:
** sshd [#mb3ce374] ** sshd [#mb3ce374]
 +*** 公開鍵暗号でパスワードなしでログイン [#qa7d63c1]
 + $ ssh-keygen -t rsa
 + $ ssh-copy-id 192.168.27.20
 + $ ssh 192.168.27.20
 + $
 +
 +- ssh-keygen
 +-- 公開鍵暗号のペアキーを生成する
 +-- ./ssh/id_rsa (秘密鍵:パーミッション注意)
 +-- ./ssh/id_rsa.pub (公開鍵)
 +- ssh-copy-id
 +-- 公開鍵を転送
 +-- 相手側に .ssh/authorized_keys(公開鍵)ができる.
 +
 +#br
*** root でのログイン禁止 [#d85e67b3] *** root でのログイン禁止 [#d85e67b3]
- /etc/ssh/sshd_config~ - /etc/ssh/sshd_config~
 PermitRootLogin no  PermitRootLogin no
 +#br


Front page   New List of Pages Search Recent changes   Help   RSS of recent changes (RSS 1.0) RSS of recent changes (RSS 2.0) RSS of recent changes (RSS Atom)

Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthMay 2024Next Month
Su Mo Tu We Th Fr Sa
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
Today

Who's Online

71 user(s) are online (22 user(s) are browsing xpwiki)

Members: 0
Guests: 71

more...

Access Counter

Today : 863863863
Yesterday : 8599859985998599
Total : 2364786923647869236478692364786923647869236478692364786923647869
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com