other:ssh
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
other:ssh [2020/07/08 21:52] – More details jypeter | other:ssh [2020/07/10 09:51] – Improved the mentions of Putty jypeter | ||
---|---|---|---|
Line 27: | Line 27: | ||
<WRAP center round tip 60%> | <WRAP center round tip 60%> | ||
- | Note: the following will work in a **Linux** terminal, but can also work in a // | + | Note: the following will work in a **Linux** terminal, but can also work in a // |
+ | |||
+ | If you have a Windows computer, it is much easier to use [[# | ||
</ | </ | ||
- | * '' | + | |
- | * If your login is the same on the local and remote computer, you can omit the optional '' | + | * If your login is the same on the local and remote computer, you can omit the optional '' |
+ | * The **first time** you connect to a **new server**, '' | ||
+ | The authenticity of host ' | ||
+ | ECDSA key fingerprint is SHA256: | ||
+ | Are you sure you want to continue connecting (yes/no)? yes | ||
+ | Warning: Permanently added ' | ||
+ | my_login@ssh1.lsce.ipsl.fr' | ||
* Most common options: | * Most common options: | ||
* '' | * '' | ||
* If '' | * If '' | ||
- | * Using the '' | + | * Using the '' |
localhost: | localhost: | ||
- | jypeter@lsce5203: | + | my_login@lsce5203: |
Last login: Wed Jul 8 14:45:31 2020 from 176-142-31-75.abo.bbox.fr | Last login: Wed Jul 8 14:45:31 2020 from 176-142-31-75.abo.bbox.fr | ||
- | [jypeter@ssh1 ~]$ echo $DISPLAY | + | [my_login@ssh1 ~]$ echo $DISPLAY |
DISPLAY: Undefined variable. | DISPLAY: Undefined variable. | ||
- | [jypeter@ssh1 ~]$ logout | + | [my_login@ssh1 ~]$ logout |
Connection to ssh1.lsce.ipsl.fr closed. | Connection to ssh1.lsce.ipsl.fr closed. | ||
- | jypeter@lsce5203: | + | my_login@lsce5203: |
- | [jypeter@ssh1 ~]$ echo $DISPLAY | + | [my_login@ssh1 ~]$ echo $DISPLAY |
localhost: | localhost: | ||
* In order to display graphical windows, you also need to have a local //X server// running! | * In order to display graphical windows, you also need to have a local //X server// running! | ||
Line 60: | Line 69: | ||
< | < | ||
- | alias obelix='ssh -A -X my_LSCE_login@ssh1.lsce.ipsl.fr -t ssh -A -X obelix' | + | # Connecting to LSCE from outside the LSCE network |
+ | alias sobelix='ssh -A -X my_LSCE_login@ssh1.lsce.ipsl.fr -t ssh -A -X obelix' | ||
+ | # Connecting to LSCE from a computer on the LSCE network | ||
+ | alias obelix=' | ||
+ | |||
+ | # Connecting to ciclad @ IPSL | ||
alias ciclad=' | alias ciclad=' | ||
</ | </ | ||
Line 67: | Line 81: | ||
==== Configuration files ==== | ==== Configuration files ==== | ||
- | '' | + | '' |
- | * '' | + | * '' |
* '' | * '' | ||
Line 76: | Line 90: | ||
==== A recommended ssh client for Windows ==== | ==== A recommended ssh client for Windows ==== | ||
+ | |||
+ | [[other: | ||
===== Just transferring files ===== | ===== Just transferring files ===== | ||
+ | Sometimes you just need to copy files from one server to the other. The files can be securely copied //over ssh// with the '' | ||
+ | |||
+ | Note: if you work with big data files, you should keep the files were they are instead of duplicating them, and move the data processing (your scripts, etc...) to the server where the files are located (e.g. the ciclad server) | ||
===== Using ssh keys ===== | ===== Using ssh keys ===== |
other/ssh.txt · Last modified: 2024/11/29 13:58 by jypeter