Intel® DevCloud
Help for those needing help starting or connecting to the Intel® DevCloud
1625 Discussions

how to know the ip address for the devcloud remote machine ??

well
New Contributor I
2,048 Views

I am trying to transfer file from my PC to the devcloud remote machine using scp command. So I need the ip address for the host machine. 

 

10 Replies
Gopika_Intel
Moderator
2,016 Views

Hi,

Thank you for posting in Intel Communities. Transferring files to Devcloud doesn’t require IP. Please follow the steps as below to transfer files from devcloud to pc and vice versa:

 

Using SCP

How to upload files to Intel® DevCloud:

scp path/to/file devcloud:~/

How to download files from Intel DevCloud:

scp devcloud:~/file .

Documentation link : https://devcloud.intel.com/oneapi/documentation/job-submission/#transferring-files

 

Using Jupyter notebook

1. Sign in to https://devcloud.intel.com/oneapi/home/

2. Go to end of the page in https://devcloud.intel.com/oneapi/get_started/

3. Click “Launch JupyterLab*” under the heading as highlighted as below.

ip_1.png

4. Click the upload files button as marked as below:

ip_2.png

 

Hope this helps

Regards

Gopika

 

well
New Contributor I
2,013 Views

Thank you for reply, 

I just tried the following command in my PC cmd terminal :

C:\Users\user>scp dataset.csv devcloud:~/

 

It gave me the following error
ssh: Could not resolve hostname devcloud: No such host is known.
lost connection

 

Can you please suggest a solution 

well
New Contributor I
2,007 Views

Also, I just tried your second option using Jupyter notebook.

when I Click the upload files button as marked in the picture

it gave me this page:

500 : Internal Server Error

Gopika_Intel
Moderator
2,008 Views

Hi,

Thank you for the update. Please try to connect to devcloud from the same terminal as above terminal.

To connect to devcloud. Execute:

ssh devcloud
  1. If you are unable to connect, please try the scp command in a terminal(Cygwin or Mobaxterm) where you can connect to the devcloud.
  2. Also specify the absolute/relative path to the file to be transferred

If you’ve not configured devcloud, please configure using the documentations.

Windows(cygwin): https://devcloud.intel.com/oneapi/documentation/connect-with-ssh-windows-cygwin/

Linux/MacOS: https://devcloud.intel.com/oneapi/documentation/connect-with-ssh-linux-macos/

VSCode: https://devcloud.intel.com/oneapi/documentation/connect-with-vscode/

Regards

Gopika

 

well
New Contributor I
2,003 Views

Thank you for reply, 

Actually, I just try the  following steps:

1- I opened the Mobaxterm terminal

2- type shh devcloud

3- type the following command: 

u86327@login-2:~$ scp dataset.csv devcloud:~/

 

Unfortunately it gave me the following error:

lost connection

 

 

Any suggestion please !!!

 

Gopika_Intel
Moderator
1,983 Views

Hi,

Thank you for the update.

1. The jupyter issue is temporary. We are checking this with the internal team. We will get back to you as soon as we get an update.

2. We could see that you are able to connect to devcloud, but you executed scp inside the login node of devcloud.

ip_3.png

SCP command works outside devcloud.

 

For transferring the files, please follow the below steps:

 

a. Copy the files to be transferred into home folder of Mobaxterm(eg: C:\Users\XXXXX\Documents\MobaXterm_Portable_v20.3\home)

b. Open Mobaxterm terminal

c. Execute 

scp /home/mobaxterm/<filename> devcloud:~/

d. NOTE: Unlike the absolute path you mentioned before “C:\Users\user”, “/home/mobaxterm/<filename>” is the path relative to Mobaxterm home folder. Hence, there is a need to copy the required file to the home folder of Mobaxterm.

e. NOTE: (No need to connect to devcloud)

Hope this helps

Regards

Gopika

 

well
New Contributor I
1,973 Views

Thank you very much for you cooperation, I really appreciate it.

I just tried  the following command in MobaXterm terminal without login to devcloud :

scp /home/mobaxterm/Desktop/<filename> devcloud:~/

 

Then I login to devcloud and finally the file is copied to the home folder of my devcloud

Thank you very much again 

Gopika_Intel
Moderator
1,946 Views

Hi,

Thank you for the confirmation. As the query is resolved, can we discontinue monitoring this thread?

Regards

Gopika


well
New Contributor I
1,935 Views

yes you can close the thread 

thank you very much

Gopika_Intel
Moderator
1,927 Views

Hi,

Thank you for the confirmation. Also, the JupyterLab 500:Internal Server error issue has been resolved. You can try moving files from PC to Devcloud using the upload files button as mentioned in the previous post.

 If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.

Regards

Gopika


Reply