Main Page: Difference between revisions

From Manu and Loh Lab Wiki
Jump to navigation Jump to search
Line 26: Line 26:
==== Login to talon without passwords ====
==== Login to talon without passwords ====


#Look for your public and private keys inside the ssh directory
Look for your public and private keys inside the ssh directory
<code> cd .ssh <code>
<syntaxhighlight lang="yaml"> cd .ssh </syntaxhighlight>


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


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


#Unlock private key
Unlock private key
<code>ssh-add<code>
<syntaxhighlight lang="yaml">ssh-add</syntaxhighlight>


#Agent forwarding
Agent forwarding to get rid of typing the passphrase when login
<code>ssh -A user_name@talon.und.edu<code>
<syntaxhighlight lang="yaml">ssh -A user_name@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 user_name@talon.und.edu"
##Open the bashrc directory in the home directory
#Open the bashrc directory in the home directory
<code>nano ~/.bashrc<code>
<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
<code>alias talon ="ssh -l user_name -AY talon.und.edu"<code>
<syntaxhighlight lang="yaml">alias talon ="ssh -l user_name -AY talon.und.edu"</syntaxhighlight>


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

Revision as of 06:06, 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 user_name@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 user_name@talon.und.edu

Make a shortcut typing "talon" to login to talon without typing "ssh user_name@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 user_name -AY talon.und.edu"

Other information

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

Getting started