Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
tools:ssh [2020/02/17 14:03] – ↷ Page déplacée et renommée de tools_ssh à tools:ssh webersa | tools:ssh [2020/02/17 16:37] (Version actuelle) – webersa | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | ===== SSH ===== | + | ====== SSH ====== |
- | With a Mac, you have to open the connection (by typing apple+K from a Finder windows) to | + | < |
- | < | + | There is a [[https://intragere.univ-grenoble-alpes.fr/ |
- | </ | + | |
- | To open the connection with ssh: ssh login@ssh.ige-grenoble.fr | + | First, you have to know the IP adresse of your computer. In a terminal, enter |
- | The use of the Cisco VPN is required to avoid security issues when working from outside the lab (connection | + | ip a |
+ | |||
+ | It should return something like | ||
+ | |||
+ | 1: lo: < | ||
+ | link/ | ||
+ | inet 127.0.0.1/8 scope host lo | ||
+ | | ||
+ | inet6 ::1/128 scope host | ||
+ | | ||
+ | 2: enp0s25: < | ||
+ | link/ether 34: | ||
+ | inet 152.77.132.162/ | ||
+ | | ||
+ | inet6 fe80:: | ||
+ | | ||
+ | 3: wlo1: < | ||
+ | link/ether be: | ||
+ | |||
+ | We are looking for the ethernet adresse | ||
+ | |||
+ | |||
+ | Then, the IGE use a ssh passerelle, so we need to use it each time. For instance, with this config in '' | ||
+ | |||
+ | Host 152.77.132.162 | ||
+ | ProxyCommand nohup ssh login@ssh.ige-grenoble.fr nc -w1 %h %p | ||
+ | |||
+ | Then, to open a ssh connection, in a terminal enter: | ||
+ | |||
+ | ssh login@152.77.132.162 | ||
+ | |||
+ | <note tip>You may want to setup an ssh key in order not to enter your password every time... There are plenty of tutorial on how to do it (https:// | ||