-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #388 from hpcleuven/feature/MFA_authentication
More tips on MFA with e.g. NX
- Loading branch information
Showing
2 changed files
with
16 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -120,10 +120,16 @@ First of all, verify that your agent is running. You can do this by executing:: | |
|
||
If the agent is not running, you will get a | ||
``Could not open a connection to your authentication agent.`` message. In this | ||
case you can start the agent with:: | ||
case you can start an instance of the agent with:: | ||
|
||
eval $(ssh-agent) | ||
|
||
.. note:: | ||
If you start your agent in this way, it is only accessible within the context of your | ||
current shell. If you want to connect with NoMachine NX, you should also start your | ||
NoMachine client from within this shell via the ``nxplayer`` command. Otherwise it will | ||
not be able to access the certificate stored in your agent. | ||
|
||
(to kill the agent use ``eval "$(ssh-agent -k)"``) | ||
|
||
If your agent is running, the ``ssh-add -l`` will list the identities that were | ||
|
@@ -157,10 +163,13 @@ continuing: | |
The indentation is not strictly necessary, but is recommended for readability. | ||
|
||
If you now connect to the cluster using your standard ``ssh`` command, the | ||
certificate will automatically be stored for as long as your agent lives. If | ||
you want to use apps that use ``ssh`` in the background (NX, FileZilla), you will | ||
have to do this connection to the cluster as well. You are free to log out of | ||
that session afterwards. | ||
certificate will automatically be stored for as long as your agent lives. | ||
|
||
If you want to use apps that use ``ssh`` in the background (NX, FileZilla), you | ||
should also first inject a certificate in your agent before trying to connect. | ||
This can be done by connecting to the VSC firewall page with agent forwarding:: | ||
|
||
ssh -A [email protected] | ||
|
||
.. note:: | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters