|
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年12月11日 ・oreore 2025/12 2025年11月22日 ・crash dump 2025年10月25日 ・recover from disk error 2025年10月23日 ・dd does not duplicate Windows 11 boot disk ? 2025年10月13日 ・missing package | ||||||||||