VMs resides on their own private IP network, but can be accessed through ssh
using hades.hevs.ch
as a gateway.
Configuring putty
or kitty
ssh clients for windows is somewhat complicated,
and using our prepackaged windows tools is highly recommended. A package is
also available for debian-like Linux here.
Tested using :
ssh-keygen -t rsa
ssh -o "ProxyCommand ssh sshfwd@hades.hevs.ch -W %h:%p" cluster@VM_IP_ADDRESS
VM_IP_ADDRESS
can be found on the web interface : > Compute > Instance , in the “IP Address” column~/.ssh/authorized_keys
, so the VM won’t ask the password anymore.Do you want to use a simpler command, like ssh-hades cluster@VM_IP_ADDRESS
?
Simply add this line to ~/.bashrc
: alias ssh-hades="ssh -o \"ProxyCommand ssh sshfwd@hades.hevs.ch -W %h:%p\""
into your ~/.profile
file and
use the command.