Created on 11-13-2019 01:11 AM - edited 08-07-2020 12:50 AM
$ cdswctl ssh-endpoint -p ml-at-scale -m 4 -c 2
Forwarding local port 7847 to port 2222 on session bhsb7k4eqmonap62 in project jfletcher/ml-at-scale.
You can SSH to the session using
ssh -p 7847 cdsw@localhost
Now you need to add an entry into your SSH config file. On my Mac, I created the following:
$ cat ~/.ssh/config
Host cdsw-public
HostName localhost
IdentityFile ~/.ssh/id_rsa_hadoop
User cdsw
Port 7847