阅读1018 返回首页    go 阿里云 go 技术社区[云栖]


Automatic logon configuration on Linux OS

Automatic logon configuration on Linux OS


1. Regarding to DSA:
a) ssh-keygen -t dsa 
b) cat ~/.ssh/id_dsa.pub | ssh <username>@<remote-host> "cat - >> ~/.ssh/authorized_keys"


2. Regarding to RSA:
a) ssh-keygen -t rsa 
b) ssh-copy-id <username>@<remote-host>


3. Switching different node
NODE=<node-name>; ssh -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o ConnectTimeout=10 ${NODE}

最后更新:2017-04-03 05:39:33

  上一篇:go Android 适配器教程(五)
  下一篇:go 利用Ptrace在Android平台实现应用程序控制