Main Page: Difference between revisions

From Manu and Loh Lab Wiki
Jump to navigation Jump to search
Line 30: Line 30:


Copy your keys to th .ssh directory in talon
Copy your keys to th .ssh directory in talon
<syntaxhighlight lang="yaml"> scp keys user_name@talon.und.edu:.ssh</syntaxhighlight>
<syntaxhighlight lang="yaml"> scp <keys> username@talon.und.edu:.ssh</syntaxhighlight>


Compare the differences between the copied keys
Compare the differences between the copied keys
<syntaxhighlight lang="yaml">diff authorized_keys public key</syntaxhighlight>
<syntaxhighlight lang="yaml">diff <authorized_keys> <public key></syntaxhighlight>


Unlock private key
Unlock private key
Line 39: Line 39:


Agent forwarding to get rid of typing the passphrase when login
Agent forwarding to get rid of typing the passphrase when login
<syntaxhighlight lang="yaml">ssh -A user_name@talon.und.edu</syntaxhighlight>
<syntaxhighlight lang="yaml">ssh -A username@talon.und.edu</syntaxhighlight>


Make a shortcut typing "talon" to login to talon without typing "ssh user_name@talon.und.edu"
Make a shortcut typing "talon" to login to talon without typing "ssh username@talon.und.edu"
#Open the bashrc directory in the home directory
#Open the bashrc directory in the home directory
<syntaxhighlight lang="yaml">nano ~/.bashrc</syntaxhighlight>
<syntaxhighlight lang="yaml">nano ~/.bashrc</syntaxhighlight>


#Type the below statement in your bashrc file and save
#Type the below statement in your bashrc file and save
<syntaxhighlight lang="yaml">alias talon ="ssh -l user_name -AY talon.und.edu"</syntaxhighlight>
<syntaxhighlight lang="yaml">alias talon ="ssh -l username -AY talon.und.edu"</syntaxhighlight>


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

Revision as of 06:09, 8 July 2025

Welcome to the Manu and Loh labs' wiki

This wiki is a place to document howtos, protocols, recipes etc. specific to the Manu and/or the Loh labs.

Loh lab

Manu lab

Data transfers

JupyterHub

Experiments

Login to talon without passwords

Look for your public and private keys inside the ssh directory

 cd .ssh

Copy your keys to th .ssh directory in talon

 scp <keys> username@talon.und.edu:.ssh

Compare the differences between the copied keys

diff <authorized_keys> <public key>

Unlock private key

ssh-add

Agent forwarding to get rid of typing the passphrase when login

ssh -A username@talon.und.edu

Make a shortcut typing "talon" to login to talon without typing "ssh username@talon.und.edu"

  1. Open the bashrc directory in the home directory
nano ~/.bashrc
  1. Type the below statement in your bashrc file and save
alias talon ="ssh -l username -AY talon.und.edu"

Other information

Consult the User's Guide for information on using the wiki software.

Getting started