星期二, 2月 22, 2005

【SSH 教學】如何 用 Public Key 登入 ? (不用 Password)

【SSH 教學】如何 用 Public Key 登入 ? (唔用 Password)【原創】

目的:
用 Client 去 Login 個 server, 唔駛用password, 淨係用 Public Key...


Server 環境:
Linux, OpenSSH

Client 環境:
Windows, SSH Secure Shell Client


原理:
Step 1 - 8: 0係client(windows)環境下, create一條key....之後upload去server(linux)
Step 9: 將原本create出來(SSH)既key, 轉番做OpenSSH既key.......咁就得喇...


條key既位置:
Server: /root/.ssh2
Client: X:\Documents and Settings\XXX\Application Data\SSH\UserKeys (for WinXP)

0 Comments:

張貼留言

<< Home