17.08.2015 Views

Symantec VirtualStore 安 装 和 配 置 指 南

Symantec™ VirtualStore 安装和配置指南: Linux

Symantec™ VirtualStore 安装和配置指南: Linux

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

352<strong>配</strong> <strong>置</strong> <strong>安</strong> 全 shell 或 远 程 shell 以 进 行 通 信手 动 <strong>配</strong> <strong>置</strong> 无 密 码 ssh4 在 sftp 提 示 符 下 , 键 入 以 下 命 令 :sftp> put /root/.ssh/id_dsa.pub将 显 示 如 下 输 出 :Uploading /root/.ssh/id_dsa.pub to /root/id_dsa.pub5 要 退 出 SFTP 会 话 , 请 键 入 以 下 命 令 :sftp> quit6 将 id_dsa.pub 密 钥 添 加 到 目 标 系 统 上 的 authorized_keys 文 件 。 要 在 目 标 系统 ( 在 此 示 例 中 是 system2) 上 开 始 ssh 会 话 , 请 在 system1 上 键 入 以 下 命令 :system1 # ssh system2在 系 统 提 示 时 输 入 system2 的 root 密 码 :password:在 system2 上 键 入 以 下 命 令 :system2 # cat /root/id_dsa.pub >> /root/.ssh/authorized_keyssystem2 # rm /root/id_dsa.pub

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!