====== Q&A ======
==== Q1 : I cannot connect to scfront2021 via scplatform. ====
Q1 : I cannot connect to scfront2021 via scplatform.\\
A1 : If you run
cNNNNxxxx@scplatform2021$ echo "$SSH_AUTH_SOCK"
SSH_AUTH_SOCK: Undefined variable.
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
cNNNNxxxx@scplatform2021$ echo "$SSH_AUTH_SOCK"
/tmp/ssh-****/agent.***
cNNNNxxxx@scplatform2021$ ssh-add -l
XXX SHA256:****************************************** XXXXXXXXXXXXXXXXX (ECYYY)
, 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.
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
The leftmost 9 characters of the output of the ''ls'' command (which can be checked with the ''stat'' command),rw-r-----
, 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 ''rw-r--r--'', there would be no problem in this assumption.)
Please inform c0001miyoshi of the "/scr/s1/cX321sample/open/FooBar.dat".
----
* [[public:en:manual:cidas:start|CIDAS system manual]]
* [[public:ja:manual:cidas:start|CIDAS system manual]] (japanese)