Posts

SSH

Full form of ssh is secure cell. In clouds we can access remote machine through ssh. If you do not want public and private key then you have to configure the file \Etc\ssh\sshd_config Authentication should yes Putty is ssh client for windows.  SSH fundamentals how to install putty on windows

Remote desktop connection

Image
Google cloud vm remote desktop connection

Running Jupyter notebook on Google cloud

Connect using SSH and execute Following Commands. make sure you use static IP sudo apt-get update sudo apt-get install -y xrdp sudo apt-get install -y xfce4 sudo service xrdp restart wget https://repo.continuum.io/archive/Anaconda3-4.2.0-Linux-x86_64.sh bash Anaconda3–4.2.0-Linux-x86_64.sh export PATH=/home/<user_directory>/anaconda3/bin:$PATH jupyter notebook --generate-config vi ~/.jupyter/jupyter_notebook_config.py Press “i” to insert and add the following lines in the configuration file: c = get_config() c.NotebookApp.ip = '*' c.NotebookApp.open_browser = False c.NotebookApp.port = 8888 c.NotebookApp.password='nm' c.NotebookApp.token='' Once you are done with making changes, press Esc and type “:wq” to save and exit from the file. Now you can  run Jupyter notebook Now, I would suggest setting password for jupyter notebook, so that you won’t have to give a token, again and again, to open Jupiter notebook later. To s...