Connect from a unix terminal
- To connect to your EXPLOR work environment, launch from the terminal:
ssh -p <votre_port_de_connexion> <votre_identifiant>@193.54.9.82
Astuce
In order to avoid having to specify the connection port for each command (ssh, scp, rsync, ...) we recommend the use of an SSH alias.
Creating an SSH alias
- Create or edit the file
~/.ssh/configon your personal workstation and add:
Host meso-explor
HostName 193.54.9.82
Port your_connection_port
User your_login
- Modify the file permissions:
chmod 644 ~/.ssh/config
- You can now connect to the mesocenter with:
ssh meso-explor
- To copy a folder from your workstation to your EXPLOR workspace:
scp -r dossier_posteperso meso-explor:.
- Instead of:
scp -r -P your_connection_port dossier_posteperso your_login@193.54.9.82:.
Change the default password
To change the password, use the command:
passwd
warning
Please change your password on your first connection.
Login without password
After changing your password, you can choose to log in without a password using an authentication key.
- From your personal workstation run:
ssh-keygen -t rsa
-
Press Enter twice (to accept defaults and no passphrase, or follow prompts to set one).
-
Copy the generated public key to your EXPLOR environment:
scp ~/.ssh/id_rsa.pub meso-explor:.ssh/authorized_keys
Quick security notes
- Protect your private key (
~/.ssh/id_rsa): set permissions to 600. - Only add public keys you control.
- Change your password regularly if required by your policy.