cluster:public_key
Differences
This shows you the differences between two versions of the page.
cluster:public_key [2018/10/02 13:22] – created schroeder | cluster:public_key [2024/11/11 17:52] (current) – removed mcloughlin | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ======Public Key Authentication====== | ||
- | |||
- | [[http:// | ||
- | |||
- | For those of you that use openssh to login with Cygwin, [[http:// | ||
- | |||
- | =====Intra-cluster===== | ||
- | If you would like to be able to ssh between cluster machines without having to use passwords you should be able to do this when just logged in: | ||
- | < | ||
- | ssh-keygen -t rsa -b 4096 -f id_cluster_rsa</ | ||
- | this will generate two file id_cluster_rsa (the private key) and id and ask for a password. for passwordless logins leave it blank | ||
- | < | ||
- | Then you when ssh-ing between nodes, you need to tell ssh to use your identity file (private key). There are two methods | ||
- | |||
- | 1. If you never ssh out of the cluster then | ||
- | < | ||
- | 2. If you ssh from the cluster to non-cluster machines and use different keys when connecting to different machines (a good security practice), then you can also create a ~/ | ||
- | |||
- | < | ||
- | HostName econ0 | ||
- | User putyourusernamehere | ||
- | IdentityFile ~/ | ||
- | Host econ1 | ||
- | HostName econ1 | ||
- | User putyourusernamehere | ||
- | IdentityFile ~/ | ||
- | Host econ2 | ||
- | HostName econ2 | ||
- | User putyourusernamehere | ||
- | IdentityFile ~/ | ||
- | etc.</ | ||
cluster/public_key.1538486570.txt.gz · Last modified: 2018/10/02 13:22 by schroeder