Navid Rezaei
1 min readAug 27, 2019

--

Hello Sayeed,

These commands are on the remote server:

conda create --name my_env python=3.6
source activate my_env
pip install -r requirements.txtnohup jupyter notebook --no-browser --port=8081 > ~/nohups/my_env.out &tail -f ~/nohups/my_env.out

On the local machine, you have:

ssh -N -f -L localhost:8881:localhost:8081 username@[IP Address]

where 8081 refers to remote machine’s port and 8881 is local (You can use other ports too).

In terms of remote cluster server, in case you have SSH access this applies as well. Could you please clarify if you want this to run on multiple server nodes at the same time or each server node independently?

--

--

No responses yet