|
|
````
|
|
|
A public and private key pair with no passphrase will be automaticly created when you login
|
|
|
to Shark and there is no .ssh directory. If your SSH key pair does not work any more just delete
|
|
|
your .ssh directory, log out and back in again, then the SSH key pair will be created again.
|
|
|
````
|
|
|
# Configuring public key authentication
|
|
|
|
|
|
Without any configuration, connecting to any worker node from the head node (e.g., `qlogin`) will require password authentication. It is more convenient to use public key authentication, especially if you're using `qmake`.
|
|
|
|
|
|
To create a private/public key pair, type (on the head node):
|
|
|
To create a private/public key pair your self, type (on the head node):
|
|
|
|
|
|
|
|
|
ssh-keygen -t rsa -C "your.email@lumc.nl on shark"
|
... | ... | @@ -19,4 +24,4 @@ After that (still on the head node): |
|
|
chmod go-rw ~/.ssh/authorized_keys
|
|
|
|
|
|
|
|
|
You can test your configuration by runninge `qlogin`. If everything works properly, you will not be asked for a password. |
|
|
\ No newline at end of file |
|
|
You can test your configuration by running `qlogin`. If everything works properly, you will not be asked for a password. |
|
|
\ No newline at end of file |