Main Page: Difference between revisions

From Manu and Loh Lab Wiki
Jump to navigation Jump to search
Line 24: Line 24:
==== Experiments ====
==== Experiments ====


==== Login to talon without passwords ====
==== Talon ====
 
* [[Login to talon without password]]
Look for your public and private keys inside the ssh directory
<syntaxhighlight lang="yaml"> cd .ssh </syntaxhighlight>
 
Copy your keys to th .ssh directory in talon
<syntaxhighlight lang="yaml"> scp <keys> username@talon.und.edu:.ssh</syntaxhighlight>
 
Compare the differences between the copied keys
<syntaxhighlight lang="yaml">diff <authorized_keys> <public key></syntaxhighlight>
 
Unlock private key
<syntaxhighlight lang="yaml">ssh-add</syntaxhighlight>
 
Agent forwarding to get rid of typing the passphrase when login
<syntaxhighlight lang="yaml">ssh -A username@talon.und.edu</syntaxhighlight>
 
Make a shortcut typing "talon" to login to talon without typing "ssh username@talon.und.edu"
Open the bashrc directory in the home directory
<syntaxhighlight lang="yaml">nano ~/.bashrc</syntaxhighlight>
 
Type the below statement in your bashrc file and save
<syntaxhighlight lang="yaml">alias talon ="ssh -l username -AY talon.und.edu"</syntaxhighlight>


=== Other information ===
=== Other information ===

Revision as of 05:18, 17 July 2025