|
|
8 anni fa | |
|---|---|---|
| sshpass | 8 anni fa | |
| README.md | 8 anni fa | |
| install.sh | 8 anni fa | |
| ssh_config | 8 anni fa |
Troubleshooting for ssh connection
First, clone the TECLIM/SSH_connection repository. For instance:
git clone ssh://git@www.climate.be:3022/TECLIM/SSH_connection.git
Then, go to the repository, open & adapt the install.sh script: you must change the password!
You can also change the machine name.
And run it:
cd SSH_connection
./install.sh
Now you can add your identity on a remote machine with:
ssh-copy-id -i ~/.ssh/id_rsa.pub remote_machine
A few examples:
# from local elic network
ssh ozone
rsync -av my_folder ozone:~
git clone ssh://egit/TECLIM/Git_Training
# from outside
ssh ozone%gwelic
ssh lemaitre2%gwcism
rsync -av my_folder ozone%gwelic:~
git clone ssh://regit/TECLIM/Git_Training