<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.anunna.wur.nl/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Sun092</id>
	<title>HPCwiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.anunna.wur.nl/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Sun092"/>
	<link rel="alternate" type="text/html" href="https://wiki.anunna.wur.nl/index.php/Special:Contributions/Sun092"/>
	<updated>2026-04-18T07:36:23Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://wiki.anunna.wur.nl/index.php?title=Ssh_without_password&amp;diff=2386</id>
		<title>Ssh without password</title>
		<link rel="alternate" type="text/html" href="https://wiki.anunna.wur.nl/index.php?title=Ssh_without_password&amp;diff=2386"/>
		<updated>2024-09-27T15:49:09Z</updated>

		<summary type="html">&lt;p&gt;Sun092: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Secure shell (ssh) protocols can be configure to work without protocols. This is particularly helpful for machines that are used often. &lt;br /&gt;
&lt;br /&gt;
== Configuring ssh without password from a POSIX-compliant terminal ==&lt;br /&gt;
&lt;br /&gt;
=== Step 1: create a public key and copy to remote computer ===&lt;br /&gt;
* Log into a local Linux or MacOSX computer&lt;br /&gt;
* Type the following to generate the ssh key:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ssh-keygen -t ed25519 -a 200 -C $USER@$(hostname)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Accept the default key location by pressing &amp;lt;code&amp;gt;Enter&amp;lt;/code&amp;gt;.&lt;br /&gt;
* Please use a different password/passphrase for your SSH key than your WUR password.&lt;br /&gt;
* Secure permission of your authentication keys by closing permission to your home directory, .ssh directory, and authentication files&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
chmod go-wx $HOME&lt;br /&gt;
chmod 700 $HOME/.ssh&lt;br /&gt;
chmod 600 $HOME/.ssh/*&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Type the following to copy the key to the remote server (this will prompt for a password).&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ssh-copy-id remote_username@remote_host&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configuring ssh without password for Anunna ==&lt;br /&gt;
&lt;br /&gt;
* Create a public key as in Step 1 of the previous section and copy it to Anunna. Note that a public/private key pair needs to be made only once per machine.&lt;br /&gt;
* Similar to step 2 of the previous section, add the public key to the &amp;lt;code&amp;gt;$HOME/.ssh/authorized_keys2&amp;lt;/code&amp;gt; file. There is already a &amp;lt;code&amp;gt;$HOME/.ssh/authorized_keys&amp;lt;/code&amp;gt; present. You may append the key to this file as an alternative, but take care not to remove content that is already there. The cluster is configured so that passwordless communication will all other nodes is default.&lt;br /&gt;
&lt;br /&gt;
== Configuring ssh without password using PuTTY ==&lt;br /&gt;
Use &#039;&#039;&#039;pageant&#039;&#039;&#039;: http://the.earth.li/~sgtatham/putty/0.58/htmldoc/Chapter9.html to generate local keys. You&#039;ll want have a copy of the pubkey in plaintext available.&lt;br /&gt;
&lt;br /&gt;
Make sure to paste that plaintext string into ~/.ssh/authorized_keys in one single line. Chmod the file 600 (so it shows -rw------- in ls -l) and the directory .ssh to 700 (drwx------).&lt;br /&gt;
&lt;br /&gt;
Now PuTTY will login passwordlessly whenever &#039;&#039;&#039;pageant&#039;&#039;&#039; is running.&lt;br /&gt;
&lt;br /&gt;
Finally, get &#039;&#039;&#039;pageant&#039;&#039;&#039; to load on startup: http://blog.shvetsov.com/2010/03/making-pageant-automatically-load-keys.html&lt;br /&gt;
&lt;br /&gt;
== Configuring ssh without password using WinSCP ==&lt;br /&gt;
WinSCP has provided a detailed instruction in https://winscp.net/eng/docs/public_key, and https://winscp.net/eng/docs/ui_login_authentication&lt;br /&gt;
&lt;br /&gt;
== Configuring ssh without password on a Mac ==&lt;br /&gt;
* Create a public key as in Step 1 of the first section and copy it to Anunna.&lt;br /&gt;
* Add the passphrase that you entered above to the keychain on your mac:&lt;br /&gt;
 ssh-add -K /path/to/private/key/file&lt;br /&gt;
&lt;br /&gt;
== Selecting which settings to use ==&lt;br /&gt;
&lt;br /&gt;
To have your SSH client to use certain settings, one can use a config file, at ~/.ssh/config&lt;br /&gt;
&lt;br /&gt;
For example :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Host *.wurnet.nl *.wur.nl &lt;br /&gt;
    User                    haars001&lt;br /&gt;
    Compression             no&lt;br /&gt;
    RequestTTY              force&lt;br /&gt;
&lt;br /&gt;
Host *&lt;br /&gt;
    Compression             yes&lt;br /&gt;
    Protocol                2&lt;br /&gt;
    ServerAliveInterval     120&lt;br /&gt;
    ServerAliveCountMax     50&lt;br /&gt;
    TCPKeepAlive            no&lt;br /&gt;
    ConnectTimeout          60&lt;br /&gt;
    IdentityFile ~/.ssh/id_ed25519&lt;br /&gt;
    AddKeysToAgent yes&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As the config file is used top to bottom, the connection wur(net).nl servers will be using no compression, but the rest of the servers you might access will.&lt;br /&gt;
More options and settings can be found by using `man ssh_config`&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[log_in_to_Anunna | Logging into cluster using ssh and file transfer]]&lt;br /&gt;
&lt;br /&gt;
== External Links ==&lt;/div&gt;</summary>
		<author><name>Sun092</name></author>
	</entry>
	<entry>
		<id>https://wiki.anunna.wur.nl/index.php?title=Ssh_without_password&amp;diff=2385</id>
		<title>Ssh without password</title>
		<link rel="alternate" type="text/html" href="https://wiki.anunna.wur.nl/index.php?title=Ssh_without_password&amp;diff=2385"/>
		<updated>2024-09-27T15:46:44Z</updated>

		<summary type="html">&lt;p&gt;Sun092: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Secure shell (ssh) protocols can be configure to work without protocols. This is particularly helpful for machines that are used often. &lt;br /&gt;
&lt;br /&gt;
== Configuring ssh without password from a POSIX-compliant terminal ==&lt;br /&gt;
&lt;br /&gt;
=== Step 1: create a public key and copy to remote computer ===&lt;br /&gt;
* Log into a local Linux or MacOSX computer&lt;br /&gt;
* Type the following to generate the ssh key:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ssh-keygen -t ed25519 -a 200 -C $USER@$(hostname)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Accept the default key location by pressing &amp;lt;code&amp;gt;Enter&amp;lt;/code&amp;gt;.&lt;br /&gt;
* Please use a different password/passphrase for your SSH key than your WUR password.&lt;br /&gt;
* Secure permission of your authentication keys by closing permission to your home directory, .ssh directory, and authentication files&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
chmod go-wx $HOME&lt;br /&gt;
chmod 700 $HOME/.ssh&lt;br /&gt;
chmod 600 $HOME/.ssh/*&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Type the following to copy the key to the remote server (this will prompt for a password).&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ssh-copy-id remote_username@remote_host&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configuring ssh without password for Anunna ==&lt;br /&gt;
&lt;br /&gt;
* Create a public key as in Step 1 of the previous section and copy it to Anunna. Note that a public/private key pair needs to be made only once per machine.&lt;br /&gt;
* Similar to step 2 of the previous section, add the public key to the &amp;lt;code&amp;gt;$HOME/.ssh/authorized_keys2&amp;lt;/code&amp;gt; file. There is already a &amp;lt;code&amp;gt;$HOME/.ssh/authorized_keys&amp;lt;/code&amp;gt; present. You may append the key to this file as an alternative, but take care not to remove content that is already there. The cluster is configured so that passwordless communication will all other nodes is default.&lt;br /&gt;
&lt;br /&gt;
== Configuring ssh without password using PuTTY ==&lt;br /&gt;
Use &#039;&#039;&#039;pageant&#039;&#039;&#039;: http://the.earth.li/~sgtatham/putty/0.58/htmldoc/Chapter9.html to generate local keys. You&#039;ll want have a copy of the pubkey in plaintext available.&lt;br /&gt;
&lt;br /&gt;
Make sure to paste that plaintext string into ~/.ssh/authorized_keys in one single line. Chmod the file 600 (so it shows -rw------- in ls -l) and the directory .ssh to 700 (drwx------).&lt;br /&gt;
&lt;br /&gt;
Now PuTTY will login passwordlessly whenever &#039;&#039;&#039;pageant&#039;&#039;&#039; is running.&lt;br /&gt;
&lt;br /&gt;
Finally, get &#039;&#039;&#039;pageant&#039;&#039;&#039; to load on startup: http://blog.shvetsov.com/2010/03/making-pageant-automatically-load-keys.html&lt;br /&gt;
&lt;br /&gt;
== Configuring ssh without password using WinSCP ==&lt;br /&gt;
WinSCP has provided a detailed instruction in https://winscp.net/eng/docs/public_key#generate, and https://winscp.net/eng/docs/ui_login_authentication&lt;br /&gt;
&lt;br /&gt;
== Configuring ssh without password on a Mac ==&lt;br /&gt;
* Create a public key as in Step 1 of the first section and copy it to Anunna.&lt;br /&gt;
* Add the passphrase that you entered above to the keychain on your mac:&lt;br /&gt;
 ssh-add -K /path/to/private/key/file&lt;br /&gt;
&lt;br /&gt;
== Selecting which settings to use ==&lt;br /&gt;
&lt;br /&gt;
To have your SSH client to use certain settings, one can use a config file, at ~/.ssh/config&lt;br /&gt;
&lt;br /&gt;
For example :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Host *.wurnet.nl *.wur.nl &lt;br /&gt;
    User                    haars001&lt;br /&gt;
    Compression             no&lt;br /&gt;
    RequestTTY              force&lt;br /&gt;
&lt;br /&gt;
Host *&lt;br /&gt;
    Compression             yes&lt;br /&gt;
    Protocol                2&lt;br /&gt;
    ServerAliveInterval     120&lt;br /&gt;
    ServerAliveCountMax     50&lt;br /&gt;
    TCPKeepAlive            no&lt;br /&gt;
    ConnectTimeout          60&lt;br /&gt;
    IdentityFile ~/.ssh/id_ed25519&lt;br /&gt;
    AddKeysToAgent yes&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As the config file is used top to bottom, the connection wur(net).nl servers will be using no compression, but the rest of the servers you might access will.&lt;br /&gt;
More options and settings can be found by using `man ssh_config`&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[log_in_to_Anunna | Logging into cluster using ssh and file transfer]]&lt;br /&gt;
&lt;br /&gt;
== External Links ==&lt;/div&gt;</summary>
		<author><name>Sun092</name></author>
	</entry>
	<entry>
		<id>https://wiki.anunna.wur.nl/index.php?title=Ssh_without_password&amp;diff=2384</id>
		<title>Ssh without password</title>
		<link rel="alternate" type="text/html" href="https://wiki.anunna.wur.nl/index.php?title=Ssh_without_password&amp;diff=2384"/>
		<updated>2024-09-27T15:44:33Z</updated>

		<summary type="html">&lt;p&gt;Sun092: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Secure shell (ssh) protocols can be configure to work without protocols. This is particularly helpful for machines that are used often. &lt;br /&gt;
&lt;br /&gt;
== Configuring ssh without password from a POSIX-compliant terminal ==&lt;br /&gt;
&lt;br /&gt;
=== Step 1: create a public key and copy to remote computer ===&lt;br /&gt;
* Log into a local Linux or MacOSX computer&lt;br /&gt;
* Type the following to generate the ssh key:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ssh-keygen -t ed25519 -a 200 -C $USER@$(hostname)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Accept the default key location by pressing &amp;lt;code&amp;gt;Enter&amp;lt;/code&amp;gt;.&lt;br /&gt;
* Please use a different password/passphrase for your SSH key than your WUR password.&lt;br /&gt;
* Secure permission of your authentication keys by closing permission to your home directory, .ssh directory, and authentication files&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
chmod go-wx $HOME&lt;br /&gt;
chmod 700 $HOME/.ssh&lt;br /&gt;
chmod 600 $HOME/.ssh/*&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Type the following to copy the key to the remote server (this will prompt for a password).&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ssh-copy-id remote_username@remote_host&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configuring ssh without password for Anunna ==&lt;br /&gt;
&lt;br /&gt;
* Create a public key as in Step 1 of the previous section and copy it to Anunna. Note that a public/private key pair needs to be made only once per machine.&lt;br /&gt;
* Similar to step 2 of the previous section, add the public key to the &amp;lt;code&amp;gt;$HOME/.ssh/authorized_keys2&amp;lt;/code&amp;gt; file. There is already a &amp;lt;code&amp;gt;$HOME/.ssh/authorized_keys&amp;lt;/code&amp;gt; present. You may append the key to this file as an alternative, but take care not to remove content that is already there. The cluster is configured so that passwordless communication will all other nodes is default.&lt;br /&gt;
&lt;br /&gt;
== Configuring ssh without password using PuTTY ==&lt;br /&gt;
Use &#039;&#039;&#039;pageant&#039;&#039;&#039;: http://the.earth.li/~sgtatham/putty/0.58/htmldoc/Chapter9.html to generate local keys. You&#039;ll want have a copy of the pubkey in plaintext available.&lt;br /&gt;
&lt;br /&gt;
Make sure to paste that plaintext string into ~/.ssh/authorized_keys in one single line. Chmod the file 600 (so it shows -rw------- in ls -l) and the directory .ssh to 700 (drwx------).&lt;br /&gt;
&lt;br /&gt;
Now PuTTY will login passwordlessly whenever &#039;&#039;&#039;pageant&#039;&#039;&#039; is running.&lt;br /&gt;
&lt;br /&gt;
== Configuring ssh without password using WinSCP ==&lt;br /&gt;
WinSCP has provided a detailed instruction in https://winscp.net/eng/docs/public_key#generate, and https://winscp.net/eng/docs/ui_login_authentication&lt;br /&gt;
&lt;br /&gt;
Finally, get &#039;&#039;&#039;pageant&#039;&#039;&#039; to load on startup: http://blog.shvetsov.com/2010/03/making-pageant-automatically-load-keys.html&lt;br /&gt;
&lt;br /&gt;
== Configuring ssh without password on a Mac ==&lt;br /&gt;
* Create a public key as in Step 1 of the first section and copy it to Anunna.&lt;br /&gt;
* Add the passphrase that you entered above to the keychain on your mac:&lt;br /&gt;
 ssh-add -K /path/to/private/key/file&lt;br /&gt;
&lt;br /&gt;
== Selecting which settings to use ==&lt;br /&gt;
&lt;br /&gt;
To have your SSH client to use certain settings, one can use a config file, at ~/.ssh/config&lt;br /&gt;
&lt;br /&gt;
For example :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Host *.wurnet.nl *.wur.nl &lt;br /&gt;
    User                    haars001&lt;br /&gt;
    Compression             no&lt;br /&gt;
    RequestTTY              force&lt;br /&gt;
&lt;br /&gt;
Host *&lt;br /&gt;
    Compression             yes&lt;br /&gt;
    Protocol                2&lt;br /&gt;
    ServerAliveInterval     120&lt;br /&gt;
    ServerAliveCountMax     50&lt;br /&gt;
    TCPKeepAlive            no&lt;br /&gt;
    ConnectTimeout          60&lt;br /&gt;
    IdentityFile ~/.ssh/id_ed25519&lt;br /&gt;
    AddKeysToAgent yes&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As the config file is used top to bottom, the connection wur(net).nl servers will be using no compression, but the rest of the servers you might access will.&lt;br /&gt;
More options and settings can be found by using `man ssh_config`&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[log_in_to_Anunna | Logging into cluster using ssh and file transfer]]&lt;br /&gt;
&lt;br /&gt;
== External Links ==&lt;/div&gt;</summary>
		<author><name>Sun092</name></author>
	</entry>
	<entry>
		<id>https://wiki.anunna.wur.nl/index.php?title=VSCode_to_Jupyter&amp;diff=2369</id>
		<title>VSCode to Jupyter</title>
		<link rel="alternate" type="text/html" href="https://wiki.anunna.wur.nl/index.php?title=VSCode_to_Jupyter&amp;diff=2369"/>
		<updated>2024-09-20T15:11:26Z</updated>

		<summary type="html">&lt;p&gt;Sun092: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Our HPC (Anunna) has its [https://wiki.anunna.wur.nl/index.php/Jupyter Jupyter Server]&lt;br /&gt;
&lt;br /&gt;
If you want to connect your local VSCode (Visual Studio Code) to the Jupyter Server with certain kernel, taking Python kernel as an example, you should try:&lt;br /&gt;
&lt;br /&gt;
1) Upgrade your VSCode app to the latest version. (You could firstly skip this step, however, do it if the following steps can&#039;t make a sucessful connection).&lt;br /&gt;
&lt;br /&gt;
2) In the VSCode, install (or upgrade if exists) the latest version of Jupyter(Jupyter Extension for Visual Studio Code).&lt;br /&gt;
&lt;br /&gt;
3) In the VSCode, install (or upgrade if exists) the latest version of Python(Python extension for Visual Studio Code). &lt;br /&gt;
Change Python extension to R or Julia, in the case of R or Julia kernels. &lt;br /&gt;
&lt;br /&gt;
4) Open [https://notebook.anunna.wur.nl Jupyter Server] in the browser, login with userID and credentials.&lt;br /&gt;
&lt;br /&gt;
5) From the top menu, click &amp;quot;Token&amp;quot;, and click &amp;quot;Request new API token&amp;quot;. (You can leave the options by default)&lt;br /&gt;
&lt;br /&gt;
Then you will get your new API Token, for example:&lt;br /&gt;
123456789abcdefg987654321&lt;br /&gt;
&lt;br /&gt;
Copy this token. You won&#039;t be able to see it again, but you can always come back here to get a new one.&lt;br /&gt;
&lt;br /&gt;
After that, start your Jupyter Server.&lt;br /&gt;
&lt;br /&gt;
6) In the VSCode, open the command palette. You can also use hotkey (&#039;Cmd+Shift+P&#039; on MacOS, &#039;Ctrl+Shift+P&#039; elsewhere)&lt;br /&gt;
&lt;br /&gt;
6.1) Then type&amp;gt; create: New Jupyter Notebook&lt;br /&gt;
&lt;br /&gt;
Or, click menu &amp;quot;File&amp;quot; -&amp;gt; &amp;quot;New File...&amp;quot; and select &amp;quot;Jupyter Notebook&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
6.2) Now you are in the ipynb editing mode. On the right up corner, click &amp;quot;Select Kernel&amp;quot; and choose &amp;quot;Existing JupyterHub Server...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
6.3) Enter the remote URL by: &amp;lt;nowiki&amp;gt;https://notebook.anunna.wur.nl&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then follow the prompt and key in your userID and the API Token created in step 5)&lt;br /&gt;
&lt;br /&gt;
And give a server name that you prefer.&lt;br /&gt;
&lt;br /&gt;
7) Now VSCode is trying to connect the remote Jupyter server that started in step 4)&lt;br /&gt;
&lt;br /&gt;
And you can see the bottom-right the info like Connecting to JupyterHub Server...&lt;br /&gt;
&lt;br /&gt;
Once it connects, choose a proper kernel that you want.&lt;br /&gt;
&lt;br /&gt;
8) If everything goes well, you should be able to code in VSCode and execute with the remote kernel.&lt;/div&gt;</summary>
		<author><name>Sun092</name></author>
	</entry>
	<entry>
		<id>https://wiki.anunna.wur.nl/index.php?title=VSCode_to_Jupyter&amp;diff=2368</id>
		<title>VSCode to Jupyter</title>
		<link rel="alternate" type="text/html" href="https://wiki.anunna.wur.nl/index.php?title=VSCode_to_Jupyter&amp;diff=2368"/>
		<updated>2024-09-20T15:03:10Z</updated>

		<summary type="html">&lt;p&gt;Sun092: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Our HPC (Anunna) has its [https://wiki.anunna.wur.nl/index.php/Jupyter Jupyter Server]&lt;br /&gt;
&lt;br /&gt;
If you want to connect your local VSCode (Visual Studio Code) to the Jupyter Server with certain kernel, taking Python kernel as an example, you should try:&lt;br /&gt;
&lt;br /&gt;
1) Upgrade your VSCode app to the latest version. (You could firstly skip this step, however, do it if the following steps can&#039;t make a sucessful connection).&lt;br /&gt;
&lt;br /&gt;
2) In the VSCode, install (or upgrade if exists) the latest version of Jupyter(Jupyter Extension for Visual Studio Code).&lt;br /&gt;
&lt;br /&gt;
3) In the VSCode, install (or upgrade if exists) the latest version of Python(Python extension for Visual Studio Code). &lt;br /&gt;
Change Python extension to R or Julia, in the case of R or Julia kernels. &lt;br /&gt;
&lt;br /&gt;
4) Open [https://notebook.anunna.wur.nl Jupyter Server] in the browser, login with userID and credentials.&lt;br /&gt;
&lt;br /&gt;
5) From the top menu, click &amp;quot;Token&amp;quot;, and click &amp;quot;Request new API token&amp;quot;. (You can leave the options by default)&lt;br /&gt;
&lt;br /&gt;
Then you will get your new API Token, for example:&lt;br /&gt;
123456789abcdefg987654321&lt;br /&gt;
&lt;br /&gt;
Copy this token. You won&#039;t be able to see it again, but you can always come back here to get a new one.&lt;br /&gt;
&lt;br /&gt;
6) In the VSCode, open the command palette. You can also use hotkey (&#039;Cmd+Shift+P&#039; on MacOS, &#039;Ctrl+Shift+P&#039; elsewhere)&lt;br /&gt;
&lt;br /&gt;
6.1) Then type&amp;gt; create: New Jupyter Notebook&lt;br /&gt;
&lt;br /&gt;
Or, click menu &amp;quot;File&amp;quot; -&amp;gt; &amp;quot;New File...&amp;quot; and select &amp;quot;Jupyter Notebook&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
6.2) Now you are in the ipynb editing mode. On the right up corner, click &amp;quot;Select Kernel&amp;quot; and choose &amp;quot;Existing JupyterHub Server...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
6.3) Enter the remote URL by: &amp;lt;nowiki&amp;gt;https://notebook.anunna.wur.nl&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then follow the prompt and key in your userID and the API Token created in step 5)&lt;br /&gt;
&lt;br /&gt;
And give a server name that you prefer.&lt;br /&gt;
&lt;br /&gt;
7) Now VSCode is trying to connect the remote Jupyter server that started in step 4)&lt;br /&gt;
&lt;br /&gt;
And you can see the bottom-right the info like Connecting to JupyterHub Server...&lt;br /&gt;
&lt;br /&gt;
Once it connects, choose a proper kernel that you want.&lt;br /&gt;
&lt;br /&gt;
8) If everything goes well, you should be able to code in VSCode and execute with the remote kernel.&lt;/div&gt;</summary>
		<author><name>Sun092</name></author>
	</entry>
	<entry>
		<id>https://wiki.anunna.wur.nl/index.php?title=VSCode_to_Jupyter&amp;diff=2367</id>
		<title>VSCode to Jupyter</title>
		<link rel="alternate" type="text/html" href="https://wiki.anunna.wur.nl/index.php?title=VSCode_to_Jupyter&amp;diff=2367"/>
		<updated>2024-09-20T14:53:37Z</updated>

		<summary type="html">&lt;p&gt;Sun092: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Our HPC (Anunna) has its [https://wiki.anunna.wur.nl/index.php/Jupyter Jupyter Server]&lt;br /&gt;
&lt;br /&gt;
If you want to connect your local VSCode (Visual Studio Code) to the Jupyter Server with certain kernel, taking Python kernel as an example, you should try:&lt;br /&gt;
&lt;br /&gt;
1) Upgrade your VSCode app to the latest version. (You could firstly skip this step, however, do it if the following steps can&#039;t make a sucessful connection).&lt;br /&gt;
&lt;br /&gt;
2) In the VSCode, install (or upgrade if exists) the latest version of Jupyter(Jupyter Extension for Visual Studio Code).&lt;br /&gt;
&lt;br /&gt;
3) In the VSCode, install (or upgrade if exists) the latest version of Python(Python extension for Visual Studio Code). &lt;br /&gt;
Change Python extension to R or Julia, in the case of R or Julia kernels. &lt;br /&gt;
&lt;br /&gt;
4) Open [https://notebook.anunna.wur.nl Jupyter Server] in the browser, login with userID and credentials.&lt;br /&gt;
&lt;br /&gt;
5) From the top menu, click &amp;quot;Token&amp;quot;, and click &amp;quot;Request new API token&amp;quot;. (You can leave the options by default)&lt;br /&gt;
&lt;br /&gt;
Then you will get your new API Token, for example:&lt;br /&gt;
66666666666666666666&lt;br /&gt;
&lt;br /&gt;
Copy this token. You won&#039;t be able to see it again, but you can always come back here to get a new one.&lt;br /&gt;
&lt;br /&gt;
6) In the VSCode, open the command palette. You can also use hotkey (&#039;Cmd+Shift+P&#039; on MacOS, &#039;Ctrl+Shift+P&#039; elsewhere)&lt;br /&gt;
&lt;br /&gt;
6.1) Then type&amp;gt; create: New Jupyter Notebook&lt;br /&gt;
&lt;br /&gt;
Or, click menu &amp;quot;File&amp;quot; -&amp;gt; &amp;quot;New File...&amp;quot; and select &amp;quot;Jupyter Notebook&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
6.2) Now you are in the ipynb editing mode. On the right up corner, click &amp;quot;Select Kernel&amp;quot; and choose &amp;quot;Existing JupyterHub Server...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
6.3) Enter the remote URL by: &amp;lt;nowiki&amp;gt;https://notebook.anunna.wur.nl/user/&amp;lt;userID&amp;gt;/?token=66666666666666666666&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
replace &amp;lt;userID&amp;gt; with yours, and change the 66666666666666666666 to your own API token created in step 5)&lt;/div&gt;</summary>
		<author><name>Sun092</name></author>
	</entry>
	<entry>
		<id>https://wiki.anunna.wur.nl/index.php?title=VSCode_to_Jupyter&amp;diff=2366</id>
		<title>VSCode to Jupyter</title>
		<link rel="alternate" type="text/html" href="https://wiki.anunna.wur.nl/index.php?title=VSCode_to_Jupyter&amp;diff=2366"/>
		<updated>2024-09-20T14:52:38Z</updated>

		<summary type="html">&lt;p&gt;Sun092: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Our HPC (Anunna) has its [https://wiki.anunna.wur.nl/index.php/Jupyter Jupyter Server]&lt;br /&gt;
&lt;br /&gt;
If you want to connect your local VSCode (Visual Studio Code) to the Jupyter Server with certain kernel, taking Python kernel as an example, you should try:&lt;br /&gt;
&lt;br /&gt;
1) Upgrade your VSCode app to the latest version. (You could firstly skip this step, however, do it if the following steps can&#039;t make a sucessful connection).&lt;br /&gt;
&lt;br /&gt;
2) In the VSCode, install (or upgrade if exists) the latest version of Jupyter(Jupyter Extension for Visual Studio Code).&lt;br /&gt;
&lt;br /&gt;
3) In the VSCode, install (or upgrade if exists) the latest version of Python(Python extension for Visual Studio Code). &lt;br /&gt;
Change Python extension to R or Julia, in the case of R or Julia kernels. &lt;br /&gt;
&lt;br /&gt;
4) Open [https://notebook.anunna.wur.nl Jupyter Server] in the browser, login with userID and credentials.&lt;br /&gt;
&lt;br /&gt;
5) From the top menu, click &amp;quot;Token&amp;quot;, and click &amp;quot;Request new API token&amp;quot;. (You can leave the options by default)&lt;br /&gt;
Then you will get your new API Token, for example:&lt;br /&gt;
66666666666666666666&lt;br /&gt;
Copy this token. You won&#039;t be able to see it again, but you can always come back here to get a new one.&lt;br /&gt;
&lt;br /&gt;
6) In the VSCode, open the command palette. You can also use hotkey (&#039;Cmd+Shift+P&#039; on MacOS, &#039;Ctrl+Shift+P&#039; elsewhere)&lt;br /&gt;
&lt;br /&gt;
6.1) Then type&amp;gt; create: New Jupyter Notebook&lt;br /&gt;
&lt;br /&gt;
Or, click menu &amp;quot;File&amp;quot; -&amp;gt; &amp;quot;New File...&amp;quot; and select &amp;quot;Jupyter Notebook&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
6.2) Now you are in the ipynb editing mode. On the right up corner, click &amp;quot;Select Kernel&amp;quot; and choose &amp;quot;Existing JupyterHub Server...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
6.3) Enter the remote URL by: &amp;lt;nowiki&amp;gt;https://notebook.anunna.wur.nl/user/&amp;lt;userID&amp;gt;/?token=66666666666666666666&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
replace &amp;lt;userID&amp;gt; with yours, and change the 66666666666666666666 to your own API token created in step 5)&lt;/div&gt;</summary>
		<author><name>Sun092</name></author>
	</entry>
	<entry>
		<id>https://wiki.anunna.wur.nl/index.php?title=VSCode_to_Jupyter&amp;diff=2365</id>
		<title>VSCode to Jupyter</title>
		<link rel="alternate" type="text/html" href="https://wiki.anunna.wur.nl/index.php?title=VSCode_to_Jupyter&amp;diff=2365"/>
		<updated>2024-09-20T14:51:45Z</updated>

		<summary type="html">&lt;p&gt;Sun092: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Our HPC (Anunna) has its [https://wiki.anunna.wur.nl/index.php/Jupyter Jupyter Server]&lt;br /&gt;
&lt;br /&gt;
If you want to connect your local VSCode (Visual Studio Code) to the Jupyter Server with certain kernel, taking Python kernel as an example, you should try:&lt;br /&gt;
&lt;br /&gt;
1) Upgrade your VSCode app to the latest version. (You could firstly skip this step, however, do it if the following steps can&#039;t make a sucessful connection).&lt;br /&gt;
&lt;br /&gt;
2) In the VSCode, install (or upgrade if exists) the latest version of Jupyter(Jupyter Extension for Visual Studio Code).&lt;br /&gt;
&lt;br /&gt;
3) In the VSCode, install (or upgrade if exists) the latest version of Python(Python extension for Visual Studio Code). &lt;br /&gt;
Change Python extension to R or Julia, in the case of R or Julia kernels. &lt;br /&gt;
&lt;br /&gt;
4) Open [https://notebook.anunna.wur.nl Jupyter Server] in the browser, login with userID and credentials.&lt;br /&gt;
&lt;br /&gt;
5) From the top menu, click &amp;quot;Token&amp;quot;, and click &amp;quot;Request new API token&amp;quot;. (You can leave the options by default)&lt;br /&gt;
Then you will get your new API Token, for example:&lt;br /&gt;
66666666666666666666&lt;br /&gt;
Copy this token. You won&#039;t be able to see it again, but you can always come back here to get a new one.&lt;br /&gt;
&lt;br /&gt;
6) In the VSCode, open the command palette. You can also use hotkey (&#039;Cmd+Shift+P&#039; on MacOS, &#039;Ctrl+Shift+P&#039; elsewhere)&lt;br /&gt;
6.1) Then type&amp;gt; create: New Jupyter Notebook&lt;br /&gt;
Or, click menu &amp;quot;File&amp;quot; -&amp;gt; &amp;quot;New File...&amp;quot; and select &amp;quot;Jupyter Notebook&amp;quot;. &lt;br /&gt;
6.2) Now you are in the ipynb editing mode. On the right up corner, click &amp;quot;Select Kernel&amp;quot; and choose &amp;quot;Existing JupyterHub Server...&amp;quot;&lt;br /&gt;
6.3) Enter the remote URL by: &amp;lt;nowiki&amp;gt;https://notebook.anunna.wur.nl/user/&amp;lt;userID&amp;gt;/?token=66666666666666666666&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
replace &amp;lt;userID&amp;gt; by yours, and change the 66666666666666666666 to your own API token created in step 5)&lt;/div&gt;</summary>
		<author><name>Sun092</name></author>
	</entry>
	<entry>
		<id>https://wiki.anunna.wur.nl/index.php?title=VSCode_to_Jupyter&amp;diff=2364</id>
		<title>VSCode to Jupyter</title>
		<link rel="alternate" type="text/html" href="https://wiki.anunna.wur.nl/index.php?title=VSCode_to_Jupyter&amp;diff=2364"/>
		<updated>2024-09-20T14:50:30Z</updated>

		<summary type="html">&lt;p&gt;Sun092: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Anunna has its [https://wiki.anunna.wur.nl/index.php/Jupyter Jupyter Server]&lt;br /&gt;
&lt;br /&gt;
If you want to connect your local VSCode (Visual Studio Code) to the Jupyter Server with certain kernel, taking Python kernel as an example, you should try:&lt;br /&gt;
&lt;br /&gt;
1) Upgrade your VSCode app to the latest version. (You could firstly skip this step, however, do it if the following steps can&#039;t make a sucessful connection).&lt;br /&gt;
&lt;br /&gt;
2) In the VSCode, install (or upgrade if exists) the latest version of Jupyter(Jupyter Extension for Visual Studio Code).&lt;br /&gt;
&lt;br /&gt;
3) In the VSCode, install (or upgrade if exists) the latest version of Python(Python extension for Visual Studio Code). &lt;br /&gt;
   (Change Python extension to R or Julia, in the case of R or Julia kernels). &lt;br /&gt;
&lt;br /&gt;
4) Open [https://notebook.anunna.wur.nl Jupyter Server] in the browser, login with userID and credentials.&lt;br /&gt;
&lt;br /&gt;
5) From the top menu, click &amp;quot;Token&amp;quot;, and click &amp;quot;Request new API token&amp;quot;. (You can leave the options by default)&lt;br /&gt;
Then you will get your new API Token, for example:&lt;br /&gt;
66666666666666666666&lt;br /&gt;
Copy this token. You won&#039;t be able to see it again, but you can always come back here to get a new one.&lt;br /&gt;
&lt;br /&gt;
6) In the VSCode, open the command palette. You can also use hotkey (&#039;Cmd+Shift+P&#039; on MacOS, &#039;Ctrl+Shift+P&#039; elsewhere)&lt;br /&gt;
6.1) Then type&amp;gt; create: New Jupyter Notebook&lt;br /&gt;
Or, click menu &amp;quot;File&amp;quot; -&amp;gt; &amp;quot;New File...&amp;quot; and select &amp;quot;Jupyter Notebook&amp;quot;. &lt;br /&gt;
6.2) Now you are in the ipynb editing mode. On the right up corner, click &amp;quot;Select Kernel&amp;quot; and choose &amp;quot;Existing JupyterHub Server...&amp;quot;&lt;br /&gt;
6.3) Enter the remote URL by: https://notebook.anunna.wur.nl/user/&amp;lt;userID&amp;gt;/?token=66666666666666666666&lt;br /&gt;
replace &amp;lt;userID&amp;gt; by yours, and change the 66666666666666666666 to your own API token created in step 5)&lt;/div&gt;</summary>
		<author><name>Sun092</name></author>
	</entry>
	<entry>
		<id>https://wiki.anunna.wur.nl/index.php?title=VSCode_to_Jupyter&amp;diff=2363</id>
		<title>VSCode to Jupyter</title>
		<link rel="alternate" type="text/html" href="https://wiki.anunna.wur.nl/index.php?title=VSCode_to_Jupyter&amp;diff=2363"/>
		<updated>2024-09-20T14:33:48Z</updated>

		<summary type="html">&lt;p&gt;Sun092: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Anunna has its [https://wiki.anunna.wur.nl/index.php/Jupyter Jupyter Server]&lt;br /&gt;
&lt;br /&gt;
If you want to connect your local VSCode (Visual Studio Code) to the Jupyter Server with certain kernel, taking Python kernel as an example, you should try:&lt;br /&gt;
&lt;br /&gt;
1) Upgrade your VSCode app to the latest version. (You could firstly skip this step, however, do it if the following steps can&#039;t make a sucessful connection).&lt;br /&gt;
&lt;br /&gt;
2) In the VSCode, install (or upgrade if exists) the latest version of Jupyter(Jupyter Extension for Visual Studio Code).&lt;br /&gt;
&lt;br /&gt;
3) In the VSCode, install (or upgrade if exists) the latest version of Python(Python extension for Visual Studio Code). &lt;br /&gt;
   (Change Python extension to R or Julia, in the case of R or Julia kernels). &lt;br /&gt;
&lt;br /&gt;
4) Open [https://wiki.anunna.wur.nl/index.php/Jupyter Jupyter Server] in the browser, login and start a server.&lt;br /&gt;
&lt;br /&gt;
5)&lt;/div&gt;</summary>
		<author><name>Sun092</name></author>
	</entry>
	<entry>
		<id>https://wiki.anunna.wur.nl/index.php?title=VSCode_to_Jupyter&amp;diff=2362</id>
		<title>VSCode to Jupyter</title>
		<link rel="alternate" type="text/html" href="https://wiki.anunna.wur.nl/index.php?title=VSCode_to_Jupyter&amp;diff=2362"/>
		<updated>2024-09-20T14:22:54Z</updated>

		<summary type="html">&lt;p&gt;Sun092: Created page with &amp;quot;Anunna has its [https://wiki.anunna.wur.nl/index.php/Jupyter Jupyter Server]  If you want to connect your local VSCode (Visual Studio Code) to the Jupyter Server with certain kernel, you should try: 1) Upgrade your VSCode app to the latest version. 2) Install/Upgrade Extension of Jupyter&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Anunna has its [https://wiki.anunna.wur.nl/index.php/Jupyter Jupyter Server]&lt;br /&gt;
&lt;br /&gt;
If you want to connect your local VSCode (Visual Studio Code) to the Jupyter Server with certain kernel, you should try:&lt;br /&gt;
1) Upgrade your VSCode app to the latest version.&lt;br /&gt;
2) Install/Upgrade Extension of Jupyter&lt;/div&gt;</summary>
		<author><name>Sun092</name></author>
	</entry>
	<entry>
		<id>https://wiki.anunna.wur.nl/index.php?title=Jupyter&amp;diff=2361</id>
		<title>Jupyter</title>
		<link rel="alternate" type="text/html" href="https://wiki.anunna.wur.nl/index.php?title=Jupyter&amp;diff=2361"/>
		<updated>2024-09-20T14:15:02Z</updated>

		<summary type="html">&lt;p&gt;Sun092: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Jupyter Notebook is a web-based environment for interactive computing. With a valid HPC (Anunna) account, you can log in to our Jupyter web server using your userID and credentials at:&lt;br /&gt;
https://notebook.anunna.wur.nl&lt;br /&gt;
&lt;br /&gt;
Don&#039;t have an HPC (Anunna) account yet? Apply now from [https://support.wur.nl/esc?id=sc_cat_item&amp;amp;table=sc_cat_item&amp;amp;sys_id=e52c5a188776a150b0bd33fd3fbb3536 Request a user account for the HPC (Anunna)]&lt;br /&gt;
&lt;br /&gt;
JupyterLab is the latest web-based interactive development environment for notebooks, code, and data. While we have upgraded the Jupyter webserver to JupyterLab, we have retained the classic Jupyter Notebook interface for users who prefer the traditional layout.&lt;br /&gt;
&lt;br /&gt;
If you would like to switch to the JupyterLab interface, you have two options:&lt;br /&gt;
&lt;br /&gt;
1) Manually change the URL by replacing the last part, &#039;tree&#039;, with &#039;lab&#039;. &lt;br /&gt;
For example, change &amp;lt;nowiki&amp;gt;https://notebook.anunna.wur.nl/user/&amp;lt;userID&amp;gt;/tree&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
to &amp;lt;nowiki&amp;gt;https://notebook.anunna.wur.nl/user/&amp;lt;userID&amp;gt;/lab&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Alternatively, &lt;br /&gt;
&lt;br /&gt;
2)from the menu, go to &amp;quot;View&amp;quot; and select &amp;quot;Open JupyterLab&amp;quot;.&lt;/div&gt;</summary>
		<author><name>Sun092</name></author>
	</entry>
	<entry>
		<id>https://wiki.anunna.wur.nl/index.php?title=Jupyter&amp;diff=2360</id>
		<title>Jupyter</title>
		<link rel="alternate" type="text/html" href="https://wiki.anunna.wur.nl/index.php?title=Jupyter&amp;diff=2360"/>
		<updated>2024-09-20T14:14:19Z</updated>

		<summary type="html">&lt;p&gt;Sun092: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Jupyter Notebook is a web-based environment for interactive computing. With a valid HPC account, you can log in to our Jupyter web server using your userID and credentials at:&lt;br /&gt;
https://notebook.anunna.wur.nl/&lt;br /&gt;
&lt;br /&gt;
Don&#039;t have an HPC account yet? Apply now from [https://support.wur.nl/esc?id=sc_cat_item&amp;amp;table=sc_cat_item&amp;amp;sys_id=e52c5a188776a150b0bd33fd3fbb3536 Request a user account for the HPC (Anunna)]&lt;br /&gt;
&lt;br /&gt;
JupyterLab is the latest web-based interactive development environment for notebooks, code, and data. While we have upgraded the Jupyter webserver to JupyterLab, we have retained the classic Jupyter Notebook interface for users who prefer the traditional layout.&lt;br /&gt;
&lt;br /&gt;
If you would like to switch to the JupyterLab interface, you have two options:&lt;br /&gt;
&lt;br /&gt;
1) Manually change the URL by replacing the last part, &#039;tree&#039;, with &#039;lab&#039;. &lt;br /&gt;
For example, change &amp;lt;nowiki&amp;gt;https://notebook.anunna.wur.nl/user/&amp;lt;userID&amp;gt;/tree&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
to &amp;lt;nowiki&amp;gt;https://notebook.anunna.wur.nl/user/&amp;lt;userID&amp;gt;/lab&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Alternatively, &lt;br /&gt;
&lt;br /&gt;
2)from the menu, go to &amp;quot;View&amp;quot; and select &amp;quot;Open JupyterLab&amp;quot;.&lt;/div&gt;</summary>
		<author><name>Sun092</name></author>
	</entry>
	<entry>
		<id>https://wiki.anunna.wur.nl/index.php?title=Jupyter&amp;diff=2359</id>
		<title>Jupyter</title>
		<link rel="alternate" type="text/html" href="https://wiki.anunna.wur.nl/index.php?title=Jupyter&amp;diff=2359"/>
		<updated>2024-09-20T14:13:47Z</updated>

		<summary type="html">&lt;p&gt;Sun092: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Jupyter Notebook is a web-based environment for interactive computing. With a valid HPC account, you can log in to our Jupyter web server using your userID and credentials at:&lt;br /&gt;
https://notebook.anunna.wur.nl/&lt;br /&gt;
&lt;br /&gt;
Don&#039;t have an HPC account yet? Apply now from [https://support.wur.nl/esc?id=sc_cat_item&amp;amp;table=sc_cat_item&amp;amp;sys_id=e52c5a188776a150b0bd33fd3fbb3536 Request a user account for the HPC (Anunna)]&lt;br /&gt;
&lt;br /&gt;
JupyterLab is the latest web-based interactive development environment for notebooks, code, and data. While we have upgraded the Jupyter webserver to JupyterLab, we have retained the classic Jupyter Notebook interface for users who prefer the traditional layout.&lt;br /&gt;
&lt;br /&gt;
If you would like to switch to the JupyterLab interface, you have two options:&lt;br /&gt;
&lt;br /&gt;
1) Manually change the URL by replacing the last part, &#039;tree&#039;, with &#039;lab&#039;. For example, change: &amp;lt;nowiki&amp;gt;https://notebook.anunna.wur.nl/user/&amp;lt;userID&amp;gt;/tree&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
to &amp;lt;nowiki&amp;gt;https://notebook.anunna.wur.nl/user/&amp;lt;userID&amp;gt;/lab&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Alternatively, &lt;br /&gt;
&lt;br /&gt;
2)from the menu, go to &amp;quot;View&amp;quot; and select &amp;quot;Open JupyterLab&amp;quot;.&lt;/div&gt;</summary>
		<author><name>Sun092</name></author>
	</entry>
	<entry>
		<id>https://wiki.anunna.wur.nl/index.php?title=Jupyter&amp;diff=2358</id>
		<title>Jupyter</title>
		<link rel="alternate" type="text/html" href="https://wiki.anunna.wur.nl/index.php?title=Jupyter&amp;diff=2358"/>
		<updated>2024-09-20T14:12:32Z</updated>

		<summary type="html">&lt;p&gt;Sun092: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Jupyter Notebook is a web-based environment for interactive computing. With a valid HPC account, you can log in to our Jupyter web server using your userID and credentials at:&lt;br /&gt;
https://notebook.anunna.wur.nl/&lt;br /&gt;
&lt;br /&gt;
Don&#039;t have an HPC account yet? Apply now from [https://support.wur.nl/esc?id=sc_cat_item&amp;amp;table=sc_cat_item&amp;amp;sys_id=e52c5a188776a150b0bd33fd3fbb3536 Request a user account for the HPC (Anunna)]&lt;br /&gt;
&lt;br /&gt;
JupyterLab is the latest web-based interactive development environment for notebooks, code, and data. While we have upgraded the Jupyter webserver to JupyterLab, we have retained the classic Jupyter Notebook interface for users who prefer the traditional layout.&lt;br /&gt;
&lt;br /&gt;
If you would like to switch to the JupyterLab interface, you have two options:&lt;br /&gt;
&lt;br /&gt;
1) Manually change the URL by replacing the last part, &#039;tree&#039;, with &#039;lab&#039;. For example, change: &amp;lt;nowiki&amp;gt;https://notebook.anunna.wur.nl/user/&amp;lt;userID&amp;gt;/tree&amp;lt;nowiki&amp;gt;&lt;br /&gt;
to &amp;lt;nowiki&amp;gt;https://notebook.anunna.wur.nl/user/&amp;lt;userID&amp;gt;/lab&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Alternatively, &lt;br /&gt;
&lt;br /&gt;
2)from the menu, go to &amp;quot;View&amp;quot; and select &amp;quot;Open JupyterLab&amp;quot;.&lt;/div&gt;</summary>
		<author><name>Sun092</name></author>
	</entry>
	<entry>
		<id>https://wiki.anunna.wur.nl/index.php?title=Jupyter&amp;diff=2357</id>
		<title>Jupyter</title>
		<link rel="alternate" type="text/html" href="https://wiki.anunna.wur.nl/index.php?title=Jupyter&amp;diff=2357"/>
		<updated>2024-09-20T14:08:01Z</updated>

		<summary type="html">&lt;p&gt;Sun092: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Jupyter Notebook is a web-based environment for interactive computing. With a valid HPC account, you can log in to our Jupyter web server using your userID and credentials at:&lt;br /&gt;
https://notebook.anunna.wur.nl/&lt;br /&gt;
&lt;br /&gt;
Don&#039;t have an HPC account yet? Apply now from [https://support.wur.nl/esc?id=sc_cat_item&amp;amp;table=sc_cat_item&amp;amp;sys_id=e52c5a188776a150b0bd33fd3fbb3536 Request a user account for the HPC (Anunna)]&lt;br /&gt;
&lt;br /&gt;
JupyterLab is the latest web-based interactive development environment for notebooks, code, and data. While we have upgraded the Jupyter webserver to JupyterLab, we have retained the classic Jupyter Notebook interface for users who prefer the traditional layout.&lt;br /&gt;
&lt;br /&gt;
If you would like to switch to the JupyterLab interface, you have two options:&lt;br /&gt;
1) Manually change the URL by replacing the last part, &#039;tree&#039;, with &#039;lab&#039;. For example, change:&lt;br /&gt;
https://notebook.anunna.wur.nl/user/&amp;lt;userID&amp;gt;/tree&lt;br /&gt;
to&lt;br /&gt;
https://notebook.anunna.wur.nl/user/&amp;lt;userID&amp;gt;/lab&lt;br /&gt;
&lt;br /&gt;
Alternatively, from the menu, go to &amp;quot;View&amp;quot; and select &amp;quot;Open JupyterLab&amp;quot;.&lt;/div&gt;</summary>
		<author><name>Sun092</name></author>
	</entry>
	<entry>
		<id>https://wiki.anunna.wur.nl/index.php?title=Jupyter&amp;diff=2356</id>
		<title>Jupyter</title>
		<link rel="alternate" type="text/html" href="https://wiki.anunna.wur.nl/index.php?title=Jupyter&amp;diff=2356"/>
		<updated>2024-09-20T14:07:05Z</updated>

		<summary type="html">&lt;p&gt;Sun092: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Jupyter Notebook is a web-based environment for interactive computing. With a valid HPC account, you can log in to our Jupyter web server using your userID and credentials at:&lt;br /&gt;
https://notebook.anunna.wur.nl/&lt;br /&gt;
&lt;br /&gt;
Don&#039;t have an HPC account yet? Apply now from [https://support.wur.nl/esc?id=sc_cat_item&amp;amp;table=sc_cat_item&amp;amp;sys_id=e52c5a188776a150b0bd33fd3fbb3536| Request a user account for the HPC (Anunna)]&lt;br /&gt;
&lt;br /&gt;
JupyterLab is the latest web-based interactive development environment for notebooks, code, and data. While we have upgraded the Jupyter webserver to JupyterLab, we have retained the classic Jupyter Notebook interface for users who prefer the traditional layout.&lt;br /&gt;
&lt;br /&gt;
If you would like to switch to the JupyterLab interface, you have two options:&lt;br /&gt;
1) Manually change the URL by replacing the last part, &#039;tree&#039;, with &#039;lab&#039;. For example, change:&lt;br /&gt;
https://notebook.anunna.wur.nl/user/&amp;lt;userID&amp;gt;/tree&lt;br /&gt;
to&lt;br /&gt;
https://notebook.anunna.wur.nl/user/&amp;lt;userID&amp;gt;/lab&lt;br /&gt;
&lt;br /&gt;
Alternatively, from the menu, go to &amp;quot;View&amp;quot; and select &amp;quot;Open JupyterLab&amp;quot;.&lt;/div&gt;</summary>
		<author><name>Sun092</name></author>
	</entry>
	<entry>
		<id>https://wiki.anunna.wur.nl/index.php?title=Jupyter&amp;diff=2355</id>
		<title>Jupyter</title>
		<link rel="alternate" type="text/html" href="https://wiki.anunna.wur.nl/index.php?title=Jupyter&amp;diff=2355"/>
		<updated>2024-09-20T14:05:31Z</updated>

		<summary type="html">&lt;p&gt;Sun092: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Jupyter Notebook is a web-based environment for interactive computing. With a valid HPC account, you can log in to our Jupyter web server using your userID and credentials at:&lt;br /&gt;
https://notebook.anunna.wur.nl/&lt;br /&gt;
&lt;br /&gt;
Don&#039;t have an HPC account yet? Apply now from [[https://support.wur.nl/esc?id=sc_cat_item&amp;amp;table=sc_cat_item&amp;amp;sys_id=e52c5a188776a150b0bd33fd3fbb3536|Request a user account for the HPC (Anunna)]]&lt;br /&gt;
&lt;br /&gt;
JupyterLab is the latest web-based interactive development environment for notebooks, code, and data. While we have upgraded the Jupyter webserver to JupyterLab, we have retained the classic Jupyter Notebook interface for users who prefer the traditional layout.&lt;br /&gt;
&lt;br /&gt;
If you would like to switch to the JupyterLab interface, you have two options:&lt;br /&gt;
1) Manually change the URL by replacing the last part, &#039;tree&#039;, with &#039;lab&#039;. For example, change:&lt;br /&gt;
https://notebook.anunna.wur.nl/user/&amp;lt;userID&amp;gt;/tree&lt;br /&gt;
to&lt;br /&gt;
https://notebook.anunna.wur.nl/user/&amp;lt;userID&amp;gt;/lab&lt;br /&gt;
&lt;br /&gt;
Alternatively, from the menu, go to &amp;quot;View&amp;quot; and select &amp;quot;Open JupyterLab&amp;quot;.&lt;/div&gt;</summary>
		<author><name>Sun092</name></author>
	</entry>
	<entry>
		<id>https://wiki.anunna.wur.nl/index.php?title=Jupyter&amp;diff=2354</id>
		<title>Jupyter</title>
		<link rel="alternate" type="text/html" href="https://wiki.anunna.wur.nl/index.php?title=Jupyter&amp;diff=2354"/>
		<updated>2024-09-20T14:02:36Z</updated>

		<summary type="html">&lt;p&gt;Sun092: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Jupyter Notebook is a web-based environment for interactive computing. With a valid HPC account, you can log in to our Jupyter web server using your userID and credentials at:&lt;br /&gt;
https://notebook.anunna.wur.nl/&lt;br /&gt;
&lt;br /&gt;
Not have an HPC account yet? Apply now by &amp;quot;Request a user account for the HPC (Anunna)&amp;quot; https://support.wur.nl/esc?id=sc_cat_item&amp;amp;table=sc_cat_item&amp;amp;sys_id=e52c5a188776a150b0bd33fd3fbb3536&lt;br /&gt;
&lt;br /&gt;
JupyterLab is the latest web-based interactive development environment for notebooks, code, and data. While we have upgraded the Jupyter webserver to JupyterLab, we have retained the classic Jupyter Notebook interface for users who prefer the traditional layout.&lt;br /&gt;
&lt;br /&gt;
If you would like to switch to the JupyterLab interface, you have two options:&lt;br /&gt;
1) Manually change the URL by replacing the last part, &#039;tree&#039;, with &#039;lab&#039;. For example, change:&lt;br /&gt;
https://notebook.anunna.wur.nl/user/&amp;lt;userID&amp;gt;/tree&lt;br /&gt;
to&lt;br /&gt;
https://notebook.anunna.wur.nl/user/&amp;lt;userID&amp;gt;/lab&lt;br /&gt;
&lt;br /&gt;
Alternatively, from the menu, go to &amp;quot;View&amp;quot; and select &amp;quot;Open JupyterLab&amp;quot;.&lt;/div&gt;</summary>
		<author><name>Sun092</name></author>
	</entry>
	<entry>
		<id>https://wiki.anunna.wur.nl/index.php?title=Jupyter&amp;diff=2353</id>
		<title>Jupyter</title>
		<link rel="alternate" type="text/html" href="https://wiki.anunna.wur.nl/index.php?title=Jupyter&amp;diff=2353"/>
		<updated>2024-09-20T13:59:29Z</updated>

		<summary type="html">&lt;p&gt;Sun092: Created page with &amp;quot;Jupyter   Jupyter Notebook is a web-based environment for interactive computing. With a valid HPC account, you can log in to our Jupyter web server using your userID and credentials at: https://notebook.anunna.wur.nl/  JupyterLab is the latest web-based interactive development environment for notebooks, code, and data. While we have upgraded the Jupyter webserver to JupyterLab, we have retained the classic Jupyter Notebook interface for users who prefer the traditional l...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Jupyter&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Jupyter Notebook is a web-based environment for interactive computing. With a valid HPC account, you can log in to our Jupyter web server using your userID and credentials at:&lt;br /&gt;
https://notebook.anunna.wur.nl/&lt;br /&gt;
&lt;br /&gt;
JupyterLab is the latest web-based interactive development environment for notebooks, code, and data. While we have upgraded the Jupyter webserver to JupyterLab, we have retained the classic Jupyter Notebook interface for users who prefer the traditional layout.&lt;br /&gt;
&lt;br /&gt;
If you would like to switch to the JupyterLab interface, you have two options:&lt;br /&gt;
1) Manually change the URL by replacing the last part, &#039;tree&#039;, with &#039;lab&#039;. For example, change:&lt;br /&gt;
https://notebook.anunna.wur.nl/user/&amp;lt;userID&amp;gt;/tree&lt;br /&gt;
to&lt;br /&gt;
https://notebook.anunna.wur.nl/user/&amp;lt;userID&amp;gt;/lab&lt;br /&gt;
&lt;br /&gt;
Alternatively, from the menu, go to &amp;quot;View&amp;quot; and select &amp;quot;Open JupyterLab&amp;quot;.&lt;/div&gt;</summary>
		<author><name>Sun092</name></author>
	</entry>
	<entry>
		<id>https://wiki.anunna.wur.nl/index.php?title=File_transfer&amp;diff=2302</id>
		<title>File transfer</title>
		<link rel="alternate" type="text/html" href="https://wiki.anunna.wur.nl/index.php?title=File_transfer&amp;diff=2302"/>
		<updated>2024-06-04T13:41:01Z</updated>

		<summary type="html">&lt;p&gt;Sun092: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== File transfer using ssh-based file transfer protocols ==&lt;br /&gt;
=== Copying files to/from the cluster: scp ===&lt;br /&gt;
&lt;br /&gt;
From any Posix-compliant system (Linux/MacOSX) terminal files and folder can be transferred to and from the cluster using an ssh-based file copying protocol called scp ([http://en.wikipedia.org/wiki/Secure_copy secure copy]). For instance, copying a folder containing several files from scomp1090/lx6 can be achieved like this:&lt;br /&gt;
&lt;br /&gt;
Syntax of the scp command requires from-to order:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
scp &amp;lt;source&amp;gt; &amp;lt;destination&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
scp -pr /home/WUR/[username]/folder_to_transfer [username]@login.anunna.wur.nl:/lustre/scratch/WUR/ABGC/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This example assumes a user that is part of the ABGC user group. See the [[Lustre_PFS_layout | Lustre Parallel File System layout]] page for further details. The -p flag will preserve the file metadata such as timestamps. The -r flag allows for recursive copying. Further options can be found in the [http://en.wikipedia.org/wiki/Man_page man pages].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
man scp&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== rsync ===&lt;br /&gt;
The [http://en.wikipedia.org/wiki/Rsync rsync protocol], like the scp protocol, allow CLI-based copying of files. The rsync protocol, however, will only transfer those files between systems that have changed, i.e. it synchronises the files, hence the name. The rsync protocol is very well suited for making regular backups and file syncs between file systems. Like the scp command, syntax is in the from-to order.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
rsync &amp;lt;source&amp;gt; &amp;lt;destination&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
e.g.:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
rsync -av /home/WUR/[username]/folder_to_transfer [username]@login.anunna.wur.nl:/lustre/scratch/WUR/ABGC/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The -a flag will preserve file metadata and allows for recursive copying, amongst others. The -v flag provides verbose output. Further options can be found in the [http://en.wikipedia.org/wiki/Man_page man pages].&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
man scp&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== WinSCP ===&lt;br /&gt;
[http://en.wikipedia.org/wiki/WinSCP WinSCP] is a free and open source (S)FTP client for Microsoft Windows. By providing the hostname (login.anunna.wur.nl), your username, and password, using SFTP protocol and port 22, you can login. After login files can be transferred between a local system (PC) and the cluster.&lt;br /&gt;
&lt;br /&gt;
=== FileZilla ===&lt;br /&gt;
[http://en.wikipedia.org/wiki/Filezilla FileZilla] is a free and open source graphical (S)FTP client. It is available for Linux, MacOSX, and Windows. By providing the address, username, password and server type (Unix, see Site Manager;Advanced), files can be transferred between a local system and the cluster. Furthermore, the graphical interface allows for easy browsing of files on Anunna. Detailed instruction can be found on the [https://wiki.filezilla-project.org/Using FileZilla Wiki].&lt;br /&gt;
&lt;br /&gt;
== Samba/CIFS based protocols ==&lt;br /&gt;
The Common Interface File System ([http://en.wikipedia.org/wiki/Cifs CIFS]) is commonly used in and between Windows systems for file sharing. It is only available to clients within WURnet or when connected through the VPN.&lt;br /&gt;
&lt;br /&gt;
There are two mount points that are available &lt;br /&gt;
# your home folder ( &#039;&#039;&#039;\\cifs.anunna.wur.nl\[username]&#039;&#039;&#039; ) &lt;br /&gt;
# the Lustre mount ( &#039;&#039;&#039;\\cifs.anunna.wur.nl\lustre&#039;&#039;&#039; )&lt;br /&gt;
&lt;br /&gt;
You can enter these in the location bar of File Explorer.&lt;br /&gt;
&lt;br /&gt;
If you have issues with logging in, the issue is probably your username. In that case, there are a couple of options you could try:&lt;br /&gt;
# Use &#039;\WUR\[userid]&#039; as username  &lt;br /&gt;
# Use &#039;[userid]&#039; as username&lt;br /&gt;
# Use &#039;[WUR e-mail]&#039; as username&lt;br /&gt;
&lt;br /&gt;
All these can be entered if you select &amp;quot;connect using different credentials&amp;quot; in the connection box.&lt;br /&gt;
== rclone to OneDrive ==&lt;br /&gt;
&lt;br /&gt;
To easily transfer data to OneDrive, one can use &#039;&#039;&#039;&#039;&#039;rclone&#039;&#039;&#039;&#039;&#039;.&lt;br /&gt;
It is usable through the modules system, so you can access it through&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
module load rclone&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To be able to access your own OneDrive space, you will need to configure rclone.&lt;br /&gt;
In one of the steps, rclone starts a webserver, so we will &#039;&#039;&#039;first&#039;&#039;&#039; have to use SSH to create a tunnel to the login server, so we can access the webserver on your own computer.&lt;br /&gt;
&lt;br /&gt;
So first connect to anunna, with the tunnel:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ssh user@login.anunna.wur.nl -L53682:127.0.0.1:53682&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* For Windows PUTTY users, please refer to: [https://wiki.anunna.wur.nl/index.php?title=Putty_SSH_Tunnelling Putty SSH Tunnelling]&lt;br /&gt;
&lt;br /&gt;
Then load the rclone module (see above), and start the configure process by entering&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
rclone config&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will then have to create an new config (I will use remote as name, but you can choose what you want), and select &#039;&#039;&#039;&#039;&#039;onedrive&#039;&#039;&#039;&#039;&#039; as the type.&lt;br /&gt;
Use defaults for next few steps, and choose &#039;&#039;&#039;&#039;&#039;global&#039;&#039;&#039;&#039;&#039; for the region.&lt;br /&gt;
Don&#039;t start the advanced config, and do use auto config.&lt;br /&gt;
&#039;&#039;&#039;Copy the URL&#039;&#039;&#039; to your local web browser, and enter your WUR credentials when asked.&lt;br /&gt;
In the next steps, you will have to select onedrive, the WUR uses the Business version.&lt;br /&gt;
If all is well, you now have a working config.&lt;br /&gt;
&lt;br /&gt;
To test. do this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
rclone tree remote:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If all is well, you see the content of your own OneDrive.&lt;br /&gt;
Now you can create folders, and copy data to and from your OneDrive:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
rclone copy --create-empty-src-dirs --copy-links --progress bin/ remote:test&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
As soon as your are done, please remove your config:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
rclone config delete remote&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Anunna is relatively safe, but better safe than sorry.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Log_in_to_Anunna | Log in to Anunna]]&lt;br /&gt;
* [[ssh_without_password | ssh without password]]&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
* [http://winscp.net/eng/index.php WinSCP homepage]&lt;br /&gt;
* [https://filezilla-project.org FileZilla homepage]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Cifs The Common Interface File System (CIFS) on Wikipedia]&lt;br /&gt;
* [https://rclone.org/onedrive/ Info on adding Microsoft OneDrive from the rclone website]&lt;/div&gt;</summary>
		<author><name>Sun092</name></author>
	</entry>
	<entry>
		<id>https://wiki.anunna.wur.nl/index.php?title=Putty_SSH_Tunnelling&amp;diff=2301</id>
		<title>Putty SSH Tunnelling</title>
		<link rel="alternate" type="text/html" href="https://wiki.anunna.wur.nl/index.php?title=Putty_SSH_Tunnelling&amp;diff=2301"/>
		<updated>2024-06-04T13:38:14Z</updated>

		<summary type="html">&lt;p&gt;Sun092: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;1. Category -&amp;gt; Session: &lt;br /&gt;
  Fill HostName (or IP address) and Port:&lt;br /&gt;
  login.anunna.wur.nl      Port: 22&lt;br /&gt;
  [[File:Putty_ssh_tunnelling_1.png | 512px]]&lt;br /&gt;
&lt;br /&gt;
2. Category -&amp;gt; SSH -&amp;gt; Tunnels: &lt;br /&gt;
  Source port: 53682&lt;br /&gt;
  Destination: 127.0.0.1:53682&lt;br /&gt;
  Then click &amp;quot;Add&amp;quot;, you should get:&lt;br /&gt;
  [[File:Putty_ssh_tunnelling_2.png | 512px]]&lt;br /&gt;
&lt;br /&gt;
3. Click &amp;quot;Open&amp;quot; (at the bottom)&lt;br /&gt;
  Provide your userid and password to connect to the HPC.&lt;br /&gt;
&lt;br /&gt;
Now you&#039;ve built up the forward port connection, just same as using the command line:&lt;br /&gt;
ssh user@login.anunna.wur.nl -L53682:127.0.0.1:53682&lt;/div&gt;</summary>
		<author><name>Sun092</name></author>
	</entry>
	<entry>
		<id>https://wiki.anunna.wur.nl/index.php?title=Putty_SSH_Tunnelling&amp;diff=2300</id>
		<title>Putty SSH Tunnelling</title>
		<link rel="alternate" type="text/html" href="https://wiki.anunna.wur.nl/index.php?title=Putty_SSH_Tunnelling&amp;diff=2300"/>
		<updated>2024-06-04T13:37:59Z</updated>

		<summary type="html">&lt;p&gt;Sun092: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;1. Category -&amp;gt; Session: &lt;br /&gt;
  Fill HostName (or IP address) and Port:&lt;br /&gt;
  login.anunna.wur.nl      Port: 22&lt;br /&gt;
  [[File:Putty_ssh_tunnelling_1.png | 512px]]&lt;br /&gt;
&lt;br /&gt;
2. Category -&amp;gt; SSH -&amp;gt; Tunnels: &lt;br /&gt;
  Source port: 53682&lt;br /&gt;
  Destination: 127.0.0.1:53682&lt;br /&gt;
  Then click &amp;quot;Add&amp;quot;, you should get:&lt;br /&gt;
  [[File:Putty_ssh_tunnelling_1.png | 512px]]&lt;br /&gt;
&lt;br /&gt;
3. Click &amp;quot;Open&amp;quot; (at the bottom)&lt;br /&gt;
  Provide your userid and password to connect to the HPC.&lt;br /&gt;
&lt;br /&gt;
Now you&#039;ve built up the forward port connection, just same as using the command line:&lt;br /&gt;
ssh user@login.anunna.wur.nl -L53682:127.0.0.1:53682&lt;/div&gt;</summary>
		<author><name>Sun092</name></author>
	</entry>
	<entry>
		<id>https://wiki.anunna.wur.nl/index.php?title=Putty_SSH_Tunnelling&amp;diff=2299</id>
		<title>Putty SSH Tunnelling</title>
		<link rel="alternate" type="text/html" href="https://wiki.anunna.wur.nl/index.php?title=Putty_SSH_Tunnelling&amp;diff=2299"/>
		<updated>2024-06-04T13:25:21Z</updated>

		<summary type="html">&lt;p&gt;Sun092: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;1. Category -&amp;gt; Session: &lt;br /&gt;
  Fill HostName (or IP address) and Port:&lt;br /&gt;
  login.anunna.wur.nl      Port: 22&lt;br /&gt;
  [https://wiki.anunna.wur.nl/index.php/File:Putty_ssh_tunnelling_1.png]&lt;br /&gt;
&lt;br /&gt;
2. Category -&amp;gt; SSH -&amp;gt; Tunnels: &lt;br /&gt;
  Source port: 53682&lt;br /&gt;
  Destination: 127.0.0.1:53682&lt;br /&gt;
  Then click &amp;quot;Add&amp;quot;, you should get:&lt;br /&gt;
[https://wiki.anunna.wur.nl/index.php/File:Putty_ssh_tunnelling_2.png]&lt;br /&gt;
&lt;br /&gt;
3. Click &amp;quot;Open&amp;quot; (at the bottom)&lt;br /&gt;
  Provide your userid and password to connect to the HPC.&lt;br /&gt;
&lt;br /&gt;
Now you&#039;ve built up the forward port connection, just same as using the command line:&lt;br /&gt;
ssh user@login.anunna.wur.nl -L53682:127.0.0.1:53682&lt;/div&gt;</summary>
		<author><name>Sun092</name></author>
	</entry>
	<entry>
		<id>https://wiki.anunna.wur.nl/index.php?title=File:Putty_ssh_tunnelling_2.png&amp;diff=2298</id>
		<title>File:Putty ssh tunnelling 2.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.anunna.wur.nl/index.php?title=File:Putty_ssh_tunnelling_2.png&amp;diff=2298"/>
		<updated>2024-06-04T13:23:13Z</updated>

		<summary type="html">&lt;p&gt;Sun092: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Sun092</name></author>
	</entry>
	<entry>
		<id>https://wiki.anunna.wur.nl/index.php?title=File:Putty_ssh_tunnelling_1.png&amp;diff=2297</id>
		<title>File:Putty ssh tunnelling 1.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.anunna.wur.nl/index.php?title=File:Putty_ssh_tunnelling_1.png&amp;diff=2297"/>
		<updated>2024-06-04T13:22:53Z</updated>

		<summary type="html">&lt;p&gt;Sun092: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Sun092</name></author>
	</entry>
	<entry>
		<id>https://wiki.anunna.wur.nl/index.php?title=Putty_SSH_Tunnelling&amp;diff=2296</id>
		<title>Putty SSH Tunnelling</title>
		<link rel="alternate" type="text/html" href="https://wiki.anunna.wur.nl/index.php?title=Putty_SSH_Tunnelling&amp;diff=2296"/>
		<updated>2024-06-04T12:39:16Z</updated>

		<summary type="html">&lt;p&gt;Sun092: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;1. Category -&amp;gt; Session: &lt;br /&gt;
  Fill HostName (or IP address) and Port:&lt;br /&gt;
  login.anunna.wur.nl      Port: 22&lt;br /&gt;
&lt;br /&gt;
2. Category -&amp;gt; SSH -&amp;gt; Tunnels: &lt;br /&gt;
  Source port: 53682&lt;br /&gt;
  Destination: 127.0.0.1:53682&lt;br /&gt;
  Then, click &amp;quot;Add&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
3. Click &amp;quot;Open&amp;quot; (at the bottom)&lt;br /&gt;
  Provide your userid and password.&lt;br /&gt;
&lt;br /&gt;
Now you&#039;ve built up the forward port connection, just same as using the command line:&lt;br /&gt;
ssh user@login.anunna.wur.nl -L53682:127.0.0.1:53682&lt;/div&gt;</summary>
		<author><name>Sun092</name></author>
	</entry>
	<entry>
		<id>https://wiki.anunna.wur.nl/index.php?title=File_transfer&amp;diff=2295</id>
		<title>File transfer</title>
		<link rel="alternate" type="text/html" href="https://wiki.anunna.wur.nl/index.php?title=File_transfer&amp;diff=2295"/>
		<updated>2024-06-04T12:37:29Z</updated>

		<summary type="html">&lt;p&gt;Sun092: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== File transfer using ssh-based file transfer protocols ==&lt;br /&gt;
=== Copying files to/from the cluster: scp ===&lt;br /&gt;
&lt;br /&gt;
From any Posix-compliant system (Linux/MacOSX) terminal files and folder can be transferred to and from the cluster using an ssh-based file copying protocol called scp ([http://en.wikipedia.org/wiki/Secure_copy secure copy]). For instance, copying a folder containing several files from scomp1090/lx6 can be achieved like this:&lt;br /&gt;
&lt;br /&gt;
Syntax of the scp command requires from-to order:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
scp &amp;lt;source&amp;gt; &amp;lt;destination&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
scp -pr /home/WUR/[username]/folder_to_transfer [username]@login.anunna.wur.nl:/lustre/scratch/WUR/ABGC/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This example assumes a user that is part of the ABGC user group. See the [[Lustre_PFS_layout | Lustre Parallel File System layout]] page for further details. The -p flag will preserve the file metadata such as timestamps. The -r flag allows for recursive copying. Further options can be found in the [http://en.wikipedia.org/wiki/Man_page man pages].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
man scp&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== rsync ===&lt;br /&gt;
The [http://en.wikipedia.org/wiki/Rsync rsync protocol], like the scp protocol, allow CLI-based copying of files. The rsync protocol, however, will only transfer those files between systems that have changed, i.e. it synchronises the files, hence the name. The rsync protocol is very well suited for making regular backups and file syncs between file systems. Like the scp command, syntax is in the from-to order.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
rsync &amp;lt;source&amp;gt; &amp;lt;destination&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
e.g.:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
rsync -av /home/WUR/[username]/folder_to_transfer [username]@login.anunna.wur.nl:/lustre/scratch/WUR/ABGC/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The -a flag will preserve file metadata and allows for recursive copying, amongst others. The -v flag provides verbose output. Further options can be found in the [http://en.wikipedia.org/wiki/Man_page man pages].&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
man scp&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== WinSCP ===&lt;br /&gt;
[http://en.wikipedia.org/wiki/WinSCP WinSCP] is a free and open source (S)FTP client for Microsoft Windows. By providing the hostname (login.anunna.wur.nl), your username, and password, using SFTP protocol and port 22, you can login. After login files can be transferred between a local system (PC) and the cluster.&lt;br /&gt;
&lt;br /&gt;
=== FileZilla ===&lt;br /&gt;
[http://en.wikipedia.org/wiki/Filezilla FileZilla] is a free and open source graphical (S)FTP client. It is available for Linux, MacOSX, and Windows. By providing the address, username, password and server type (Unix, see Site Manager;Advanced), files can be transferred between a local system and the cluster. Furthermore, the graphical interface allows for easy browsing of files on Anunna. Detailed instruction can be found on the [https://wiki.filezilla-project.org/Using FileZilla Wiki].&lt;br /&gt;
&lt;br /&gt;
== Samba/CIFS based protocols ==&lt;br /&gt;
The Common Interface File System ([http://en.wikipedia.org/wiki/Cifs CIFS]) is commonly used in and between Windows systems for file sharing. It is only available to clients within WURnet or when connected through the VPN.&lt;br /&gt;
&lt;br /&gt;
There are two mount points that are available &lt;br /&gt;
# your home folder ( &#039;&#039;&#039;\\cifs.anunna.wur.nl\[username]&#039;&#039;&#039; ) &lt;br /&gt;
# the Lustre mount ( &#039;&#039;&#039;\\cifs.anunna.wur.nl\lustre&#039;&#039;&#039; )&lt;br /&gt;
&lt;br /&gt;
You can enter these in the location bar of File Explorer.&lt;br /&gt;
&lt;br /&gt;
If you have issues with logging in, the issue is probably your username. In that case, there are a couple of options you could try:&lt;br /&gt;
# Use &#039;\WUR\[userid]&#039; as username  &lt;br /&gt;
# Use &#039;[userid]&#039; as username&lt;br /&gt;
# Use &#039;[WUR e-mail]&#039; as username&lt;br /&gt;
&lt;br /&gt;
All these can be entered if you select &amp;quot;connect using different credentials&amp;quot; in the connection box.&lt;br /&gt;
== rclone to OneDrive ==&lt;br /&gt;
&lt;br /&gt;
To easily transfer data to OneDrive, one can use &#039;&#039;&#039;&#039;&#039;rclone&#039;&#039;&#039;&#039;&#039;.&lt;br /&gt;
It is usable through the modules system, so you can access it through&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
module load rclone&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To be able to access your own OneDrive space, you will need to configure rclone.&lt;br /&gt;
In one of the steps, rclone starts a webserver, so we will &#039;&#039;&#039;first&#039;&#039;&#039; have to use SSH to create a tunnel to the login server, so we can access the webserver on your own computer.&lt;br /&gt;
&lt;br /&gt;
So first connect to anunna, with the tunnel:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ssh user@login.anunna.wur.nl -L53682:127.0.0.1:53682&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* For Windows PUTTY users: [https://wiki.anunna.wur.nl/index.php?title=Putty_SSH_Tunnelling Putty SSH Tunnelling]&lt;br /&gt;
&lt;br /&gt;
Then load the rclone module (see above), and start the configure process by entering&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
rclone config&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will then have to create an new config (I will use remote as name, but you can choose what you want), and select &#039;&#039;&#039;&#039;&#039;onedrive&#039;&#039;&#039;&#039;&#039; as the type.&lt;br /&gt;
Use defaults for next few steps, and choose &#039;&#039;&#039;&#039;&#039;global&#039;&#039;&#039;&#039;&#039; for the region.&lt;br /&gt;
Don&#039;t start the advanced config, and do use auto config.&lt;br /&gt;
&#039;&#039;&#039;Copy the URL&#039;&#039;&#039; to your local web browser, and enter your WUR credentials when asked.&lt;br /&gt;
In the next steps, you will have to select onedrive, the WUR uses the Business version.&lt;br /&gt;
If all is well, you now have a working config.&lt;br /&gt;
&lt;br /&gt;
To test. do this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
rclone tree remote:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If all is well, you see the content of your own OneDrive.&lt;br /&gt;
Now you can create folders, and copy data to and from your OneDrive:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
rclone copy --create-empty-src-dirs --copy-links --progress bin/ remote:test&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
As soon as your are done, please remove your config:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
rclone config delete remote&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Anunna is relatively safe, but better safe than sorry.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Log_in_to_Anunna | Log in to Anunna]]&lt;br /&gt;
* [[ssh_without_password | ssh without password]]&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
* [http://winscp.net/eng/index.php WinSCP homepage]&lt;br /&gt;
* [https://filezilla-project.org FileZilla homepage]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Cifs The Common Interface File System (CIFS) on Wikipedia]&lt;br /&gt;
* [https://rclone.org/onedrive/ Info on adding Microsoft OneDrive from the rclone website]&lt;/div&gt;</summary>
		<author><name>Sun092</name></author>
	</entry>
	<entry>
		<id>https://wiki.anunna.wur.nl/index.php?title=File_transfer&amp;diff=2294</id>
		<title>File transfer</title>
		<link rel="alternate" type="text/html" href="https://wiki.anunna.wur.nl/index.php?title=File_transfer&amp;diff=2294"/>
		<updated>2024-06-04T12:33:53Z</updated>

		<summary type="html">&lt;p&gt;Sun092: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== File transfer using ssh-based file transfer protocols ==&lt;br /&gt;
=== Copying files to/from the cluster: scp ===&lt;br /&gt;
&lt;br /&gt;
From any Posix-compliant system (Linux/MacOSX) terminal files and folder can be transferred to and from the cluster using an ssh-based file copying protocol called scp ([http://en.wikipedia.org/wiki/Secure_copy secure copy]). For instance, copying a folder containing several files from scomp1090/lx6 can be achieved like this:&lt;br /&gt;
&lt;br /&gt;
Syntax of the scp command requires from-to order:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
scp &amp;lt;source&amp;gt; &amp;lt;destination&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
scp -pr /home/WUR/[username]/folder_to_transfer [username]@login.anunna.wur.nl:/lustre/scratch/WUR/ABGC/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This example assumes a user that is part of the ABGC user group. See the [[Lustre_PFS_layout | Lustre Parallel File System layout]] page for further details. The -p flag will preserve the file metadata such as timestamps. The -r flag allows for recursive copying. Further options can be found in the [http://en.wikipedia.org/wiki/Man_page man pages].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
man scp&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== rsync ===&lt;br /&gt;
The [http://en.wikipedia.org/wiki/Rsync rsync protocol], like the scp protocol, allow CLI-based copying of files. The rsync protocol, however, will only transfer those files between systems that have changed, i.e. it synchronises the files, hence the name. The rsync protocol is very well suited for making regular backups and file syncs between file systems. Like the scp command, syntax is in the from-to order.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
rsync &amp;lt;source&amp;gt; &amp;lt;destination&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
e.g.:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
rsync -av /home/WUR/[username]/folder_to_transfer [username]@login.anunna.wur.nl:/lustre/scratch/WUR/ABGC/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The -a flag will preserve file metadata and allows for recursive copying, amongst others. The -v flag provides verbose output. Further options can be found in the [http://en.wikipedia.org/wiki/Man_page man pages].&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
man scp&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== WinSCP ===&lt;br /&gt;
[http://en.wikipedia.org/wiki/WinSCP WinSCP] is a free and open source (S)FTP client for Microsoft Windows. By providing the hostname (login.anunna.wur.nl), your username, and password, using SFTP protocol and port 22, you can login. After login files can be transferred between a local system (PC) and the cluster.&lt;br /&gt;
&lt;br /&gt;
=== FileZilla ===&lt;br /&gt;
[http://en.wikipedia.org/wiki/Filezilla FileZilla] is a free and open source graphical (S)FTP client. It is available for Linux, MacOSX, and Windows. By providing the address, username, password and server type (Unix, see Site Manager;Advanced), files can be transferred between a local system and the cluster. Furthermore, the graphical interface allows for easy browsing of files on Anunna. Detailed instruction can be found on the [https://wiki.filezilla-project.org/Using FileZilla Wiki].&lt;br /&gt;
&lt;br /&gt;
== Samba/CIFS based protocols ==&lt;br /&gt;
The Common Interface File System ([http://en.wikipedia.org/wiki/Cifs CIFS]) is commonly used in and between Windows systems for file sharing. It is only available to clients within WURnet or when connected through the VPN.&lt;br /&gt;
&lt;br /&gt;
There are two mount points that are available &lt;br /&gt;
# your home folder ( &#039;&#039;&#039;\\cifs.anunna.wur.nl\[username]&#039;&#039;&#039; ) &lt;br /&gt;
# the Lustre mount ( &#039;&#039;&#039;\\cifs.anunna.wur.nl\lustre&#039;&#039;&#039; )&lt;br /&gt;
&lt;br /&gt;
You can enter these in the location bar of File Explorer.&lt;br /&gt;
&lt;br /&gt;
If you have issues with logging in, the issue is probably your username. In that case, there are a couple of options you could try:&lt;br /&gt;
# Use &#039;\WUR\[userid]&#039; as username  &lt;br /&gt;
# Use &#039;[userid]&#039; as username&lt;br /&gt;
# Use &#039;[WUR e-mail]&#039; as username&lt;br /&gt;
&lt;br /&gt;
All these can be entered if you select &amp;quot;connect using different credentials&amp;quot; in the connection box.&lt;br /&gt;
== rclone to OneDrive ==&lt;br /&gt;
&lt;br /&gt;
To easily transfer data to OneDrive, one can use &#039;&#039;&#039;&#039;&#039;rclone&#039;&#039;&#039;&#039;&#039;.&lt;br /&gt;
It is usable through the modules system, so you can access it through&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
module load rclone&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To be able to access your own OneDrive space, you will need to configure rclone.&lt;br /&gt;
In one of the steps, rclone starts a webserver, so we will &#039;&#039;&#039;first&#039;&#039;&#039; have to use SSH to create a tunnel to the login server, so we can access the webserver on your own computer.&lt;br /&gt;
&lt;br /&gt;
So first connect to anunna, with the tunnel:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ssh user@login.anunna.wur.nl -L53682:127.0.0.1:53682&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
For Windows PUTTY users: https://wiki.anunna.wur.nl/index.php?title=Putty_SSH_Tunnelling&amp;amp;action=edit&lt;br /&gt;
&lt;br /&gt;
Then load the rclone module (see above), and start the configure process by entering&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
rclone config&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will then have to create an new config (I will use remote as name, but you can choose what you want), and select &#039;&#039;&#039;&#039;&#039;onedrive&#039;&#039;&#039;&#039;&#039; as the type.&lt;br /&gt;
Use defaults for next few steps, and choose &#039;&#039;&#039;&#039;&#039;global&#039;&#039;&#039;&#039;&#039; for the region.&lt;br /&gt;
Don&#039;t start the advanced config, and do use auto config.&lt;br /&gt;
&#039;&#039;&#039;Copy the URL&#039;&#039;&#039; to your local web browser, and enter your WUR credentials when asked.&lt;br /&gt;
In the next steps, you will have to select onedrive, the WUR uses the Business version.&lt;br /&gt;
If all is well, you now have a working config.&lt;br /&gt;
&lt;br /&gt;
To test. do this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
rclone tree remote:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If all is well, you see the content of your own OneDrive.&lt;br /&gt;
Now you can create folders, and copy data to and from your OneDrive:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
rclone copy --create-empty-src-dirs --copy-links --progress bin/ remote:test&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
As soon as your are done, please remove your config:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
rclone config delete remote&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Anunna is relatively safe, but better safe than sorry.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Log_in_to_Anunna | Log in to Anunna]]&lt;br /&gt;
* [[ssh_without_password | ssh without password]]&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
* [http://winscp.net/eng/index.php WinSCP homepage]&lt;br /&gt;
* [https://filezilla-project.org FileZilla homepage]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Cifs The Common Interface File System (CIFS) on Wikipedia]&lt;br /&gt;
* [https://rclone.org/onedrive/ Info on adding Microsoft OneDrive from the rclone website]&lt;/div&gt;</summary>
		<author><name>Sun092</name></author>
	</entry>
	<entry>
		<id>https://wiki.anunna.wur.nl/index.php?title=Putty_SSH_Tunnelling&amp;diff=2293</id>
		<title>Putty SSH Tunnelling</title>
		<link rel="alternate" type="text/html" href="https://wiki.anunna.wur.nl/index.php?title=Putty_SSH_Tunnelling&amp;diff=2293"/>
		<updated>2024-06-04T12:32:12Z</updated>

		<summary type="html">&lt;p&gt;Sun092: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;1. Category -&amp;gt; Session: &lt;br /&gt;
  Fill HostName (or IP address) and Port:&lt;br /&gt;
  login.anunna.wur.nl      Port: 22&lt;br /&gt;
&lt;br /&gt;
2. Category -&amp;gt; SSH -&amp;gt; Tunnels: &lt;br /&gt;
  Source port: 53682&lt;br /&gt;
  Destination: 127.0.0.1:53682&lt;br /&gt;
  Then, click &amp;quot;Add&amp;quot;. You will get:&lt;br /&gt;
&lt;br /&gt;
3. Click &amp;quot;Open&amp;quot; (at the bottom)&lt;br /&gt;
  Provide your userid and password.&lt;br /&gt;
&lt;br /&gt;
Now you&#039;ve build up the forward port connection, same as command line:&lt;br /&gt;
ssh user@login.anunna.wur.nl -L53682:127.0.0.1:53682&lt;/div&gt;</summary>
		<author><name>Sun092</name></author>
	</entry>
	<entry>
		<id>https://wiki.anunna.wur.nl/index.php?title=Putty_SSH_Tunnelling&amp;diff=2292</id>
		<title>Putty SSH Tunnelling</title>
		<link rel="alternate" type="text/html" href="https://wiki.anunna.wur.nl/index.php?title=Putty_SSH_Tunnelling&amp;diff=2292"/>
		<updated>2024-06-04T12:24:16Z</updated>

		<summary type="html">&lt;p&gt;Sun092: Created page with &amp;quot;1.     ssh user@login.anunna.wur.nl -L53682:127.0.0.1:53682&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;1.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ssh user@login.anunna.wur.nl -L53682:127.0.0.1:53682&lt;/div&gt;</summary>
		<author><name>Sun092</name></author>
	</entry>
	<entry>
		<id>https://wiki.anunna.wur.nl/index.php?title=Creating_sbatch_script&amp;diff=2286</id>
		<title>Creating sbatch script</title>
		<link rel="alternate" type="text/html" href="https://wiki.anunna.wur.nl/index.php?title=Creating_sbatch_script&amp;diff=2286"/>
		<updated>2024-04-24T08:07:39Z</updated>

		<summary type="html">&lt;p&gt;Sun092: /* partition for resource allocation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
== A skeleton Slurm script ==&lt;br /&gt;
&amp;lt;pre lang=&#039;bash&#039;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#-----------------------------Mail address-----------------------------&lt;br /&gt;
#SBATCH --mail-user=&lt;br /&gt;
#SBATCH --mail-type=ALL&lt;br /&gt;
#-----------------------------Output files-----------------------------&lt;br /&gt;
#SBATCH --output=output_%j.txt&lt;br /&gt;
#SBATCH --error=error_output_%j.txt&lt;br /&gt;
#-----------------------------Other information------------------------&lt;br /&gt;
#SBATCH --comment=&lt;br /&gt;
#SBATCH --qos=&lt;br /&gt;
#-----------------------------Required resources-----------------------&lt;br /&gt;
#SBATCH --time=0-0:0:0&lt;br /&gt;
#SBATCH --ntasks=&lt;br /&gt;
#SBATCH --cpus-per-task=&lt;br /&gt;
#SBATCH --mem-per-cpu=&lt;br /&gt;
&lt;br /&gt;
#-----------------------------Environment, Operations and Job steps----&lt;br /&gt;
#load modules&lt;br /&gt;
&lt;br /&gt;
#export variables&lt;br /&gt;
&lt;br /&gt;
#your job&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Explanation of used SBATCH parameters==&lt;br /&gt;
===partition for resource allocation===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#SBATCH --partition=gpu&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Request a specific partition for the resource allocation.&lt;br /&gt;
&lt;br /&gt;
=== Adding accounting information or project number ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#SBATCH --comment=773320000&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Charge resources used by this job to specified account. The comment is an arbitrary string. The comment may be changed after job submission using the &amp;lt;tt&amp;gt;scontrol&amp;lt;/tt&amp;gt; command. For WUR users a projectnumber or KTP number would be advisable.&lt;br /&gt;
&lt;br /&gt;
===time limit===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#SBATCH --time=1200&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
A time limit of zero requests that no time limit be imposed. Acceptable time formats include &amp;quot;minutes&amp;quot;, &amp;quot;minutes:seconds&amp;quot;, &amp;quot;hours:minutes:seconds&amp;quot;, &amp;quot;days-hours&amp;quot;, &amp;quot;days-hours:minutes&amp;quot; and &amp;quot;days-hours:minutes:seconds&amp;quot;. So in this example the job will run for a maximum of 1200 minutes.&lt;br /&gt;
&lt;br /&gt;
===memory limit===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#SBATCH --mem=2048&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
SLURM imposes a memory limit on each job. By default, it is deliberately relatively small — 100 MB per node. If your job uses more than that, you’ll get an error that your job Exceeded job memory limit. To set a larger limit, add to your job submission: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#SBATCH --mem X&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where X is the maximum amount of memory your job will use per node, in MB. The larger your working data set, the larger this needs to be, but the smaller the number the easier it is for the scheduler to find a place to run your job. To determine an appropriate value, start relatively large (job slots on average have about 4000 MB per core, but that’s much larger than needed for most jobs) and then use sacct to look at how much your job is actually using or used:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sacct -o MaxRSS -j JOBID&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
where JOBID is the one you’re interested in. The number is in KB, so divide by 1024 to get a rough idea of what to use with –mem (set it to something a little larger than that, since you’re defining a hard upper limit). If your job completed long in the past you may have to tell sacct to look further back in time by adding a start time with -S YYYY-MM-DD. Note that for parallel jobs spanning multiple nodes, this is the maximum memory used on any one node; if you’re not setting an even distribution of tasks per node (e.g. with –ntasks-per-node), the same job could have very different values when run at different times.&lt;br /&gt;
&lt;br /&gt;
===number of tasks===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#SBATCH --ntasks=1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
sbatch does not launch tasks, it requests an allocation of resources and submits a batch script. This option advises the SLURM controller that job steps run within the allocation will launch a maximum of number tasks and to provide for sufficient resources. The default is one task per node, but note that the --cpus-per-task option will change this default.&lt;br /&gt;
&lt;br /&gt;
When requesting multiple tasks, you may or may not want the job to be partitioned among multiple nodes. You can specify the minimum number of nodes using the &amp;lt;code&amp;gt;-N&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;--node&amp;lt;/code&amp;gt; flag. If you provide only one number, this will be minimum and maximum at the same time. For instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#SBATCH --nodes=1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This should force your job to be scheduled to a single node.&lt;br /&gt;
&lt;br /&gt;
Because the cluster has a hybrid configuration, i.e. normal and fat nodes, it may be prudent to schedule your job specifically for one or the other node type, depending for instance on memory requirements. This can be done by using the &amp;lt;code&amp;gt;-C&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;--constraints&amp;lt;/code&amp;gt; flag.&lt;br /&gt;
&lt;br /&gt;
===constraints: selecting by feature===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#SBATCH --constraint=4gpercpu&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The HPC nodes have features associated with them, such as Intel CPU&#039;s, or the amount of memory per node. If you know that your job requires a specific architecture or memory size, you can elect to constrain your job to only these features.&lt;br /&gt;
&lt;br /&gt;
The example above will result in jobs being scheduled to the compute nodes with 4GB of memory per CPU. By using &amp;lt;code&amp;gt;12gpercpu&amp;lt;/code&amp;gt; as option the job will specifically be scheduled to one of the larger nodes with 12GB per CPU. &lt;br /&gt;
&lt;br /&gt;
All features can be seen using:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
scontrol show nodes | grep ActiveFeatures | sort | uniq&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===requesting specific resources===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#SBATCH --gres=gpu:1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
In order to be able to use specific hardware resources, you need to request a Generic Resource. Once you do this, one of the resources will be allocated to your job when they are available. In the above example, one GPU is requested for use.&lt;br /&gt;
&lt;br /&gt;
===output (stderr,stdout) directed to file===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#SBATCH --output=output_%j.txt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Instruct SLURM to connect the batch script&#039;s standard output directly to the file name specified in the &amp;quot;filename pattern&amp;quot;. By default both standard output and standard error are directed to a file of the name &amp;quot;slurm-%j.out&amp;quot;, where the &amp;quot;%j&amp;quot; is replaced with the job allocation number. See the --input option for filename specification options.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#SBATCH --error=error_output_%j.txt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Instruct SLURM to connect the batch script&#039;s standard error directly to the file name specified in the &amp;quot;filename pattern&amp;quot;. By default both standard output and standard error are directed to a file of the name &amp;quot;slurm-%j.out&amp;quot;, where the &amp;quot;%j&amp;quot; is replaced with the job allocation number. See the --input option for filename specification options.&lt;br /&gt;
&lt;br /&gt;
===adding a job name===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#SBATCH --job-name=calc_pi.py&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Specify a name for the job allocation. The specified name will appear along with the job id number when querying running jobs on the system. The default is the name of the batch script, or just &amp;quot;sbatch&amp;quot; if the script is read on sbatch&#039;s standard input.&lt;br /&gt;
&lt;br /&gt;
===receiving mailed updates===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#SBATCH --mail-type=ALL&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Notify user by email when certain event types occur. Valid type values are BEGIN, END, FAIL, REQUEUE, and ALL (any state change). The user to be notified is indicated with --mail-user.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#SBATCH --mail-user=yourname001@wur.nl&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Email address to use.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Anunna | Anunna]]&lt;br /&gt;
* [[Using_Slurm#Batch_script | Submitting jobs to Slurm]]&lt;br /&gt;
* [[Array_jobs|Array job hints]]&lt;/div&gt;</summary>
		<author><name>Sun092</name></author>
	</entry>
	<entry>
		<id>https://wiki.anunna.wur.nl/index.php?title=SSH_tunnel_to_a_certain_node&amp;diff=2283</id>
		<title>SSH tunnel to a certain node</title>
		<link rel="alternate" type="text/html" href="https://wiki.anunna.wur.nl/index.php?title=SSH_tunnel_to_a_certain_node&amp;diff=2283"/>
		<updated>2024-04-16T14:27:02Z</updated>

		<summary type="html">&lt;p&gt;Sun092: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;SSH tunnel to a certain node&lt;br /&gt;
&lt;br /&gt;
1) Submit a slurm job, or start an interactive job on a node. Taking node201 as an example:&lt;br /&gt;
&lt;br /&gt;
sinteractive --partition=main --nodelist=node201&lt;br /&gt;
&lt;br /&gt;
2) In your local OS, set up a port tunnel connection (For example using port 2222):&lt;br /&gt;
ssh -L 2222:node201:22 your_id@login.anunna.wur.nl&lt;br /&gt;
&lt;br /&gt;
3) Config your local ssh config in ~/.ssh/config&lt;br /&gt;
Host localhost&lt;br /&gt;
  HostName localhost&lt;br /&gt;
  Port 2222&lt;br /&gt;
  User your_id&lt;br /&gt;
&lt;br /&gt;
4) You could now use your local terminal connecting to node201 directly, by:&lt;br /&gt;
&lt;br /&gt;
ssh your_id@localhost -p 2222&lt;br /&gt;
&lt;br /&gt;
5) VSCode connection: in the VSCode GUI -&amp;gt; Open a remote Window -&amp;gt; Connect to Host...,&lt;br /&gt;
choose &amp;quot;localhost&amp;quot;. After a few seconds, the VSCode is connected to the node201.&lt;br /&gt;
&lt;br /&gt;
Please be aware that once the slurm job finishes, the connection will be lost.&lt;/div&gt;</summary>
		<author><name>Sun092</name></author>
	</entry>
	<entry>
		<id>https://wiki.anunna.wur.nl/index.php?title=SSH_tunnel_to_a_certain_node&amp;diff=2282</id>
		<title>SSH tunnel to a certain node</title>
		<link rel="alternate" type="text/html" href="https://wiki.anunna.wur.nl/index.php?title=SSH_tunnel_to_a_certain_node&amp;diff=2282"/>
		<updated>2024-04-16T14:23:05Z</updated>

		<summary type="html">&lt;p&gt;Sun092: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;SSH tunnel to a certain node&lt;br /&gt;
&lt;br /&gt;
1) Submit a slurm job, or start an interactive job on a node. Taking node201 as an example:&lt;br /&gt;
sinteractive --partition=main --nodelist=node201&lt;br /&gt;
&lt;br /&gt;
2) In your local OS, set up a port tunnel connection (For example using port 2222):&lt;br /&gt;
ssh -L 2222:node201:22 your_id@login.anunna.wur.nl&lt;br /&gt;
&lt;br /&gt;
3) Config your local ssh config in ~/.ssh/config&lt;br /&gt;
Host localhost&lt;br /&gt;
  HostName localhost&lt;br /&gt;
  Port 2222&lt;br /&gt;
  User your_id&lt;br /&gt;
&lt;br /&gt;
4) You could now use your local terminal connecting to node201 directly, by:&lt;br /&gt;
ssh your_id@localhost -p 2222&lt;br /&gt;
&lt;br /&gt;
5) VSCode connection: in the VSCode GUI -&amp;gt; Open a remote Window -&amp;gt; Connect to Host...,&lt;br /&gt;
choose &amp;quot;localhost&amp;quot;. After a few seconds, the VSCode is connected to the node201.&lt;br /&gt;
&lt;br /&gt;
Please be aware that once the slurm job finishes, the connection will be lost.&lt;/div&gt;</summary>
		<author><name>Sun092</name></author>
	</entry>
	<entry>
		<id>https://wiki.anunna.wur.nl/index.php?title=SSH_tunnel_to_a_certain_node&amp;diff=2281</id>
		<title>SSH tunnel to a certain node</title>
		<link rel="alternate" type="text/html" href="https://wiki.anunna.wur.nl/index.php?title=SSH_tunnel_to_a_certain_node&amp;diff=2281"/>
		<updated>2024-04-16T14:22:24Z</updated>

		<summary type="html">&lt;p&gt;Sun092: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;SSH tunnel to a certain node&lt;br /&gt;
&lt;br /&gt;
1) Submit a slurm job, or an interactive srun job on a node. Taking node201 as an example:&lt;br /&gt;
sinteractive --partition=main --nodelist=node201&lt;br /&gt;
&lt;br /&gt;
2) In your local OS, set up a port tunnel connection (For example using port 2222):&lt;br /&gt;
ssh -L 2222:node201:22 your_id@login.anunna.wur.nl&lt;br /&gt;
&lt;br /&gt;
3) Config your local ssh config in ~/.ssh/config&lt;br /&gt;
Host localhost&lt;br /&gt;
  HostName localhost&lt;br /&gt;
  Port 2222&lt;br /&gt;
  User your_id&lt;br /&gt;
&lt;br /&gt;
4) You could now use your local terminal connecting to node201 directly, by:&lt;br /&gt;
ssh your_id@localhost -p 2222&lt;br /&gt;
&lt;br /&gt;
5) VSCode connection: in the VSCode GUI -&amp;gt; Open a remote Window -&amp;gt; Connect to Host...,&lt;br /&gt;
choose &amp;quot;localhost&amp;quot;. After a few seconds, the VSCode is connected to the node201.&lt;br /&gt;
&lt;br /&gt;
Please be aware that once the slurm job finishes, the connection will be lost.&lt;/div&gt;</summary>
		<author><name>Sun092</name></author>
	</entry>
	<entry>
		<id>https://wiki.anunna.wur.nl/index.php?title=SSH_tunnel_to_a_certain_node&amp;diff=2280</id>
		<title>SSH tunnel to a certain node</title>
		<link rel="alternate" type="text/html" href="https://wiki.anunna.wur.nl/index.php?title=SSH_tunnel_to_a_certain_node&amp;diff=2280"/>
		<updated>2024-04-16T14:22:02Z</updated>

		<summary type="html">&lt;p&gt;Sun092: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;SSH tunnel to a certain node&lt;br /&gt;
&lt;br /&gt;
#1) Submit a slurm job, or an interactive srun job on a node. Taking node201 as an example:&lt;br /&gt;
sinteractive --partition=main --nodelist=node201&lt;br /&gt;
&lt;br /&gt;
#2) In your local OS, set up a port tunnel connection (For example using port 2222):&lt;br /&gt;
ssh -L 2222:node201:22 your_id@login.anunna.wur.nl&lt;br /&gt;
&lt;br /&gt;
#3) Config your local ssh config in ~/.ssh/config&lt;br /&gt;
Host localhost&lt;br /&gt;
  HostName localhost&lt;br /&gt;
  Port 2222&lt;br /&gt;
  User your_id&lt;br /&gt;
&lt;br /&gt;
#4) You could now use your local terminal connecting to node201 directly, by:&lt;br /&gt;
ssh your_id@localhost -p 2222&lt;br /&gt;
&lt;br /&gt;
#5) VSCode connection: in the VSCode GUI -&amp;gt; Open a remote Window -&amp;gt; Connect to Host...,&lt;br /&gt;
choose &amp;quot;localhost&amp;quot;. After a few seconds, the VSCode is connected to the node201.&lt;br /&gt;
&lt;br /&gt;
Please be aware that once the slurm job finishes, the connection will be lost.&lt;/div&gt;</summary>
		<author><name>Sun092</name></author>
	</entry>
	<entry>
		<id>https://wiki.anunna.wur.nl/index.php?title=SSH_tunnel_to_a_certain_node&amp;diff=2279</id>
		<title>SSH tunnel to a certain node</title>
		<link rel="alternate" type="text/html" href="https://wiki.anunna.wur.nl/index.php?title=SSH_tunnel_to_a_certain_node&amp;diff=2279"/>
		<updated>2024-04-16T14:07:41Z</updated>

		<summary type="html">&lt;p&gt;Sun092: Created page with &amp;quot;SSH tunnel to a certain node&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;SSH tunnel to a certain node&lt;/div&gt;</summary>
		<author><name>Sun092</name></author>
	</entry>
</feed>