Changes
Page history
Update home
authored
Mar 04, 2020
by
Jonathan Lambrechts
Show whitespace changes
Inline
Side-by-side
home.md
View page @
3bb2a0f7
## connect to ampl virtual machine from os x
## connect to ampl virtual machine from os x
add those lines in your "~/.ssh/config
-
add those lines in your "~/.ssh/config
```
```
Host braque
Host braque
HostName braque.mema.ucl.ac.be
HostName braque.mema.ucl.ac.be
...
@@ -10,4 +10,17 @@ Host AMPL_MEMA
...
@@ -10,4 +10,17 @@ Host AMPL_MEMA
User yourlogin
User yourlogin
ProxyCommand ssh -q braque nc %h %p $*
ProxyCommand ssh -q braque nc %h %p $*
```
```
-
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
```
ssh-copy-id -i .ssh/id_rsa.pub braque:
ssh-copy-id -i .ssh/id_rsa.pub AMPL_MEMA:
```
-
add this key to your session keyring
```
ssh-add .ssh/id_rsa.pub
```
## transfer files from os x
## transfer files from os x
\ No newline at end of file