|
Namazu for hns による簡易全文検索 詳しくは 詳細指定/ヘルプを参照して下さい |
||||||||||||||||||||||||||||||||||||||||||||||||
2010年04月28日(水) 旧暦 [n年日記] [更新:"2010/04/29 15:37:19"]#1 [comp] ssh -o XauthLocation=/usr/pkg/bin/xauth の謎
出発の ssh も、受けの sshd も同じ版 OpenSSH_5.0 NetBSD_Secure_Shell-20080403, OpenSSL 0.9.9-dev 09 May 2008 また受け側の sshd では /etc/ssh/sshd_config を次のように変更している -#X11Forwarding no +X11Forwarding yes # If you use xorg from pkgsrc then uncomment the following line. -#XAuthLocation /usr/pkg/bin/xauth +XAuthLocation /usr/pkg/bin/xauth元の X11 は modular-xorg, 起動は xdm。また二つの機械は home directory を共有している。 @ ssh -v -X hostname:debug1: No xauth program. Warning: No xauth data; using fake authentication data for X11 forwarding. @ ssh -v -X -o XauthLocation=/usr/pkg/bin/xauth hostname:Warning: untrusted X11 forwarding setup failed: xauth key data not generated Warning: No xauth data; using fake authentication data for X11 forwarding. debug1: Requesting X11 forwarding with authentication spoofing. @ ssh -v -Y hostname:debug1: No xauth program. Warning: No xauth data; using fake authentication data for X11 forwarding. @ ssh -v -Y -o XauthLocation=/usr/pkg/bin/xauth hostname これならうまく行く:
あるいは
ssh -Y -o XauthLocation=/usr/pkg/bin/xauth hostnameだと大丈夫 まとめ
( つっこみ )
|
最近の日記 2025年02月13日 ・dvipdfmx ICC profile format spec. version 4.3.0 2025年01月29日 ・ham/wsjtx 2025年01月27日 ・wip/wsjtx 5.4.2 2025年01月25日 ・ham/wsjtx 2025年01月15日 ・今更 advent calendar | ||||||||||