... | ... | @@ -33,10 +33,10 @@ create a ssh key if you don't have one already (you can choose your passphrase) |
|
|
```
|
|
|
ssh-keygen -t rsa
|
|
|
```
|
|
|
copy this key on braque and AMPL_MEMA
|
|
|
copy this key on braque and ampl01
|
|
|
```
|
|
|
ssh-copy-id -i .ssh/id_rsa.pub braque:
|
|
|
ssh-copy-id -i .ssh/id_rsa.pub AMPL_MEMA:
|
|
|
ssh-copy-id -i .ssh/id_rsa.pub ampl01:
|
|
|
```
|
|
|
add this key to your session keyring
|
|
|
```
|
... | ... | @@ -44,7 +44,7 @@ ssh-add -K .ssh/id_rsa.pub |
|
|
```
|
|
|
you can now connect to the ampl virtual machine simply with
|
|
|
```
|
|
|
ssh AMPL_MEMA
|
|
|
ssh ampl01
|
|
|
```
|
|
|
## transferring files to/from the virtual machine
|
|
|
### from windows
|
... | ... | @@ -53,7 +53,7 @@ Once mobaxterm is connected to leech, you can use the left panel to transfer fil |
|
|
Install fuse and sshfs from [osxfuse](https://osxfuse.github.io/), then create a local directory and mount the remote machine :
|
|
|
```
|
|
|
mkdir ampl_mema
|
|
|
sshfs AMPL_MEMA: ampl_mema
|
|
|
sshfs ampl01: ampl_mema
|
|
|
```
|
|
|
you can now edit and copy files transparently
|
|
|
When you are done, unmount the remote directory with
|
... | ... | |