[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[debian-users:12596] Re: [Q]How to fetch mail without a password via ssh
- From: Shuichi OONO <jr5pdx@debian.or.jp>
- Subject: [debian-users:12596] Re: [Q]How to fetch mail without a password via ssh
- Date: Sun, 7 Feb 1999 03:06:01 +0900
- Organization: Debian JP Project
- X-dispatcher: imput version 980905(IM100)
- X-ml-info: If you have a question, send a mail with the body "# help" (without quotes) to the address debian-users-ctl@debian.or.jp; help=<mailto:debian-users-ctl@debian.or.jp?body=help>
- X-ml-name: debian-users
- X-mlserver: fml [fml 2.2]; post only (only members can post)
- X-pgp-sig: 2.6.3ia Message-ID,From,Organization iQCVAwUBNruxGlw2EvJRszHJAQEvrgP/bQV6TFIT3gjM2Sdt8xyMva6YepyurQgd s8GKvihp9zZr5iG1zf27lw0iQu+1eV1tN9Wzd4m2coONBL43+QFE5pnZq3U3h2Sp ODXV3jfgwM5NUupxsshBmKNWAwtRBhPEJ2cNFQf4GSWFLWPqXtNXq7TACA8EnHxH LE3DyB3SaPE= =v+Dl
- References: <2mzp6snri0.fsf@xxxxxxxxxxxxxxxxxxxxxxxxx> <199902061541.AAA23485@xxxxxxxxxxxxxxxxxxxx>
- Message-id: <14011.45292.239563.84594U@jr5pdx.debian.or.jp>
- X-mail-count: 12596
- User-agent: Wanderlust/0.9.4 (Broken Wings) WEMI/1.13.1 (Abekawa) FLIM/1.12.5 (Hirahata) Emacs/20.3 (i386-debian-linux-gnu) MULE/4.0 (HANANOEN)
At Sun, 7 Feb 1999 00:41:41 +0900,
Masayuki Hatta <masayuki-h@xxxxxxxxxxxxxxx> wrote:
> スクリプトの中で ssh-agent fetchmail とかしようにも、
> 結局 ssh-add でパスフレーズを入力する機会がないので
> 失敗してしまいます。
私も xdm なんですが、こんなふうにしてます。
# .xsession
if [ -x /usr/bin/ssh-agent -a -d $HOME/.ssh ]
then EXEC="exec ssh-agent"
else EXEC="exec"
fi
if [ -x $HOME/.xinitrc ]
then $EXEC $HOME/.xinitrc
else $EXEC xterm -geometry 80x24+0+0 -ls
fi
# .xinitrc
cat /dev/null | /usr/bin/ssh-add
/usr/X11R6/bin/kterm &
/usr/bin/emacs &
exec /usr/X11R6/bin/qvwm
これって、どこかのページで見つけたのですが、どこだったか失念…。
--
大野 修一