User Tools

Site Tools


public:en:manual:cidas:qanda

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
public:en:manual:cidas:qanda [2023/09/29 15:22] – created - external edit 127.0.0.1public:en:manual:cidas:qanda [2024/05/09 17:59] (current) – [Q1 : I cannot connect to scfront2021 via scplatform.] rnm2wgs_nagoya-u.jp
Line 1: Line 1:
-=== Q&A ===+====== Q&A ====== 
 + 
 +==== Q1 : I cannot connect to scfront2021 via scplatform. ==== 
 Q1 : I cannot connect to scfront2021 via scplatform.\\ Q1 : I cannot connect to scfront2021 via scplatform.\\
 A1 : If you run A1 : If you run
Line 5: Line 8:
         SSH_AUTH_SOCK: Undefined variable.         SSH_AUTH_SOCK: Undefined variable.
 or no answer, it is bad. Maybe your PC or your PC SSH tool has any problem. or no answer, it is bad. Maybe your PC or your PC SSH tool has any problem.
 +Check your Windows PC with reference to
 +"https://portal.isee.nagoya-u.ac.jp/stel-it/doku.php?id=public:win11_wsl2_ssh"
 +or
 +"https://portal.isee.nagoya-u.ac.jp/stel-it/doku.php?id=public:win10_openssh_en#add_your_ssh_key_to_the_ssh-agent".
 +
 If you run If you run
         cNNNNxxxx@scplatform2021$ echo "$SSH_AUTH_SOCK"         cNNNNxxxx@scplatform2021$ echo "$SSH_AUTH_SOCK"
         /tmp/ssh-****/agent.***         /tmp/ssh-****/agent.***
 +        cNNNNxxxx@scplatform2021$ ssh-add -l
 +        XXX SHA256:****************************************** XXXXXXXXXXXXXXXXX (ECYYY)
 , it is good. , it is good.
 +However, if you cannot conncet in to scfront2021, contact ''cidas-system-help@isee.nagoya-u.ac.jp'' with the results of "''ssh-add -l''" and "''ssh -vvv cNNNNxxxx@scfront2021''" on scplatform2021.
 +----
 +
 +==== Q2 : How can I make my file in scfront2021 readable by other CIDAS system users? ====
 +
 +Q2 : How can I make my file in scfront2021 readable by other CIDAS system users?\\
 +A2 : You can do so by adjusting the permission of the target file.\\
 +If you fail to adjust the permission in your HOME, you may not be able to ssh login to scfront2021.
 +In the CIDAS system, it may be safer to use the scratch area.
 +For example, suppose you want to make your ''FooBar.dat'' file readable by c0001miyoshi.
 +(In the CIDAS system, all users belong to the same group.)
 +
 +
 +  - Prepare a directory for sharing.\\ scfront2021$ ''mkdir /scr/s1/$USER/open''
 +  - Copy FooBar.dat to the direcotry you prepared.\\ scfront2021$ ''cp -p FooBar.dat /scr/s1/$USER/open/''
 +  - Give permission to read FooBar.dat to anyone in the same group as you.\\ scfront2021$ ''chmod g+r /scr/s1/$USER/open/FooBar.dat''
 +
 +Check the file permission.<code>
 +scfront2021$ ls -l /scr/s1/$USER/open/FooBar.dat
 +-rw-r----- 1 cX321sample sc 685 Sep 29 11:36 /scr/s1/cX321sample/open/FooBar.dat
 +</code>
 +The leftmost 9 characters of the output of the ''ls'' command (which can be checked with the ''stat'' command),<code>rw-r-----</code>, indicate the permission of the file in question. indicates the permission of the file in question.
 +These nine characters consist of three groups of three characters each, each representing the owner, the owner's group, and all other user access rights.
 +|r | read permission|
 +|w | write permission|
 +|x | execute permission|
 +|- | disallowed|
 +The permssion for ''/scr/s1/cX321sample/open/FooBar.dat'' in the example is given to the owner and the sc group for reading, to the owner only for writing, to no one for executing, and to all users not belonging to the owner or sc group, that no one can execute it, and that all users who do not belong to the owner or the sc group are denied.
 +(If the leftmost 9 characters were ''<nowiki>rw-r--r--</nowiki>'', there would be no problem in this assumption.)
 +
 +Please inform c0001miyoshi of the "/scr/s1/cX321sample/open/FooBar.dat".
 +
  
 ---- ----
public/en/manual/cidas/qanda.1695968538.txt · Last modified: by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki