XXXXXXXX@XXXXXXXX wrote:
openssh-askpass でインストールされるファイルが、gnome-ssh-askpassになっ
ていますが、
実際に呼びだそうとするファイルが、ssh-askpassになっており、GUIダイアロ
グを使用したssh認証で失敗します。
例:
hostA(vl5) - hostB(vl6) - hostC
userA userB userC
といった、多段ssh+rsyncの場合において、
$ rsync -av --progress -e "ssh -t userB@hostB ssh"
userC@hostC:somefiles .
Pseudo-terminal will not be allocated because stdin is not a
terminal.
userB@hostB's password:
ssh_askpass: exec(/usr/libexec/openssh/ssh-askpass): No such file or
directory
Permission denied, please try again.
ssh_askpass: exec(/usr/libexec/openssh/ssh-askpass): No such file or
directory
Permission denied, please try again.
ssh_askpass: exec(/usr/libexec/openssh/ssh-askpass): No such file or
directory
Permission denied (publickey,password).
rsync: connection unexpectedly closed (0 bytes received so far)
[Receiver]
rsync error: unexplained error (code 255) at io.c(601)
[Receiver=3.0.7]
Vine5同様に、シンボリックリンクを張ると、動作します。
hostB(Vine6)において
# cd /usr/libexec/openssh/
# ls -l
合計 452
-rwxr-xr-x 1 root root 13336 5月 8 12:57 gnome-ssh-askpass*
-rwxr-xr-x 1 root root 65736 5月 8 12:57 sftp-server*
-rws--x--x 1 root root 253968 5月 8 12:57 ssh-keysign*
-rwxr-xr-x 1 root root 117760 5月 8 12:57 ssh-pkcs11-helper*
# ln -s gnome-ssh-askpass ssh-askpass
# ls -l
合計 452
-rwxr-xr-x 1 root root 13336 5月 8 12:57 gnome-ssh-askpass*
-rwxr-xr-x 1 root root 65736 5月 8 12:57 sftp-server*
lrwxrwxrwx 1 root root 17 8月 7 18:16 ssh-askpass -> gnome-ssh-
askpass
-rws--x--x 1 root root 253968 5月 8 12:57 ssh-keysign*
-rwxr-xr-x 1 root root 117760 5月 8 12:57 ssh-pkcs11-helper*
hostAから
$ rsync -av --progress -e "ssh -t userB@hostB ssh"
userC@hostC:somefiles .
Pseudo-terminal will not be allocated because stdin is not a
terminal.
userB@hostB's password:
←ここでgnome-ssh-askpassが起動してパスワード入力
receiving file list ...
== このレポートの詳細は以下の通りです ==
レポート ID : 1184
レポート URL : http://bts.vinelinux.org/guest.cgi?project=VineLinux&action=view_report&id=1184
分類 : バグ
バージョン : Vine-6.0
関連パッケージ : openssh-askpass
arch : x86_64
状態 : 新規
優先度 : 中
重大度 : 普通
担当者 : 未定
# あなたが、このようなメッセージに無関係である場合には、
# 管理者 <Vine@xxxxxxxxxxxxx> までご連絡ください。
--
Bug Tracking System 影舞 0.8.8.
http://www.daifukuya.com/kagemai/
_______________________________________________
VineSeed mailing list
VineSeed@xxxxxxxxxxxxx
http://lists.vinelinux.org/mailman/listinfo/vineseed