hns - 日記自動生成システム - Version 2.19.9

先月 2010年05月 来月
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31
Namazu for hns による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2010年05月05日(水) 旧暦 [n年日記] [更新:"2010/05/05 17:27:53"]

#1 [comp] ssh -Y を ~/.ssh/ssh_config に設定

4/28 の日記 (同 3/23) に、ssh -Y 等のことに関連して、
  • ssh 元 (client) の /etc/ssh/ssh_config に次のように書いておいて
    47  # If you use xorg from pkgsrc then uncomment the following line.
    48      XAuthLocation /usr/pkg/bin/xauth
    
  • ssh -Y hostname を使っている
と書いた。ここから二段階進む話。 これらは ~/.ssh/config に設定が可能で、例えば、
ForwardX11Trusted yes
ForwardX11 yes
XAuthLocation /usr/pkg/bin/xauth
と書いておけば、/etc/ssh/ssh_config は変更する必要がないし、 -Y も付ける必要がなく、単に
ssh hostname
で行けることが分った。 (server 側の /etc/ssh/sshd_config には次の行が必要)
X11Forwarding yes
ただし、いつもこのように ~/.ssh/config に書いておくのが安全かどうかは良く考えていない。
この ~/.ssh/config の書き方としては man sshd_config が参考になるけれど、 Match 文は書けないようだ。

Comments related this article

Re: ssh -Y を ~/.ssh/ssh_config に設定 by soda    2010/05/05 18:52
対象サーバのroot権限があれば、画面もキー入力も盗むことができますので、安全じゃあ...
Re: ssh -Y を ~/.ssh/ssh_config に設定 by makoto fujiwara    2010/05/10 10:58
反応ありがとうございます。 「対象サーバの root 権限がある」 のはかなり限られると...
Re: ssh -Y を ~/.ssh/ssh_config に設定 by soda    2010/05/10 11:48
まあ家のサーバとか、会社の Intranet 内のサーバであれば、(運用にもよりますが) OK ...

#2 [pkgsrc] 'CVS password:' asked but it should be empty.

If we have to type return for following prompt,
=> Extracting cached CVS archive "auctex-auctex-2010-04-28.tar.gz".
=> Logging in to :pserver:anonymous@cvs.savannah.gnu.org:/sources/auctex.
Logging in to :pserver:anonymous@cvs.savannah.gnu.org:2401/sources/auctex
CVS password:
It might be missing just colon(:), which gives empty password.
-CVS_ROOT.auctex=       :pserver:anonymous@cvs.savannah.gnu.org:/sources/auctex
+CVS_ROOT.auctex=       :pserver:anonymous:@cvs.savannah.gnu.org:/sources/auctex
see

#3 [emacs] pretest 23.1.97 on NetBSD/amd64 (STABLE_5.0)

still core dumps while making it:
Directory /export/pkgsrc/personal-pkgsrc/emacs-pretest/work/emacs-23.1.97/lisp/./mh-e
Directory /export/pkgsrc/personal-pkgsrc/emacs-pretest/work/emacs-23.1.97/lisp/./mail
Directory /export/pkgsrc/personal-pkgsrc/emacs-pretest/work/emacs-23.1.97/lisp/./language
Fatal error (11)[1]   Segmentation fault (core dumped) EMACSLOADPATH=/e...
gmake[3]: *** [custom-deps] Error 139
gmake[3]: Leaving directory `/export/pkgsrc/personal-pkgsrc/emacs-pretest/work/emacs-23.1.97/lisp'
gmake[2]: *** [/export/pkgsrc/personal-pkgsrc/emacs-pretest/work/emacs-23.1.97/lisp/cus-load.el] Error 2
gmake[2]: Leaving directory `/export/pkgsrc/personal-pkgsrc/emacs-pretest/work/emacs-23.1.97/lisp'
gmake[1]: *** [lisp] Error 2
gmake[1]: Leaving directory `/export/pkgsrc/personal-pkgsrc/emacs-pretest/work/emacs-23.1.97'
gmake: *** [bootstrap] Error 2
*** Error code 2
modena@makoto 17:24:19/100505(..personal-pkgsrc/emacs-pretest)%  \
gdb  work/emacs-23.1.97/src/emacs ./work/emacs-23.1.97/lisp/emacs.core
GNU gdb 6.5
...
Program terminated with signal 11, Segmentation fault.
#0  0x00007f7ff9c3440a in kill () from /usr/lib/libc.so.12
(gdb) bt
#0  0x00007f7ff9c3440a in kill () from /usr/lib/libc.so.12
#1  <signal handler called>
#2  0x000000000051a3dc in re_search_2 ()
#3  0x0000000000510f7f in search_buffer ()
#4  0x0000000000512943 in search_command ()
#5  0x0000000000512b7e in Fre_search_forward ()
#6  0x000000000053a28a in Ffuncall ()
#7  0x000000000057075b in Fbyte_code ()
#8  0x0000000000539d27 in funcall_lambda ()
#9  0x000000000053a0e6 in Ffuncall ()
#10 0x000000000057075b in Fbyte_code ()
#11 0x0000000000539d27 in funcall_lambda ()
#12 0x000000000053a0e6 in Ffuncall ()
#13 0x000000000057075b in Fbyte_code ()
#14 0x0000000000539d27 in funcall_lambda ()
#15 0x000000000053a0e6 in Ffuncall ()
#16 0x000000000057075b in Fbyte_code ()
#17 0x0000000000539d27 in funcall_lambda ()
#18 0x0000000000539e8c in apply_lambda ()
#19 0x0000000000539537 in Feval ()
#20 0x0000000000538ac4 in internal_condition_case ()
#21 0x00000000004d805a in top_level_1 ()
#22 0x0000000000538bc7 in internal_catch ()
#23 0x00000000004d80fb in command_loop ()
#24 0x00000000004d84ba in recursive_edit_1 ()
#25 0x00000000004d860e in Frecursive_edit ()
#26 0x00000000004cd31e in main ()
(gdb) 
The same as 23.1.96



最近の日記
2024年03月10日
停電 (瞬電)
2024年03月03日
the second try on bare-metal
useradd
2024年02月29日
opendkim and senmail
2024年01月24日
chat/iam 0.0.8
2024年01月21日
uselocale vs setlocale (textproc/R-readxl)
以上、1 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)