---------- Forwarded message ----------
From: XIE WEN-MFK346 <wenxie at motorola.com>
Date: 2008/8/20
Subject: ssh自动登录netapp filer
To: xiewenxiewen at gmail.com
1. 启用netapp的ssh登录方式
默认没有启用ssh登录方式
先telnet登录到netapp
检查系统配置,发现没有打开ssh
options ssh
修改ssh配置
options ssh.enable on
按屏幕提示运行secureadmin setup ssh
按四次回车,即可
运行secureadmin enable ssh
ssh已被启用了
options ssh
按ctrl-d退出
现在可以用ssh登录了
但仍需要输入密码
下面配置自动登录,不用密码登录
2. 配置自动登录
回到unix
生成ssh密钥
运行ssh-keygen -t dsa
回车3次,不要输入私钥密码
生成了一个私钥id_dsa, 和公钥id_dsa.pub
root用户挂载netapp根卷vol0
将刚才生成的公钥添加到 etc/sshd/root/.ssh/authorized_keys 文件内
卸载vol0根卷
回到s3op1用户,ssh登录不用输入密码了
Xie wen(谢文)
Network & Operations,
Mobile Software Solutions (MDB)
MOTOROLA Inc.
No. 108 Jian Guo Road, Chao Yang District, Beijing
100022 P. R. China
e-mail wenxie at motorola.com
-fin-
Blog Archive
-
▼
2008
(27)
-
▼
August
(7)
- nessus installation snapshots - nessus安装截图
- how to determine oracle block size - 如何查看oracle块大小
- setup ssh for netapp filer - 配置netapp filer文件存储系统的...
- ssh tunnel - ssh 隧道
- recover from cold backup of control files - 恢复冷备份的...
- escaping special characters in Oracle - 转义Oracle的特殊字符
- generate sequence numbers - 用SQL语句生成序号
-
▼
August
(7)
Wednesday, August 20, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment