On Sat, Dec 05, 1998 at 10:48:43PM +0100, Torsten Hilbrich wrote:
> On: Sat, 05 Dec 1998 10:52:33 -0500 AJ  writes:

> > password in the opening command.. is there a way to edit ssh so that
> > u can type something like:
> > 
> > ssh -l login -p password host.com
> > ?
> > or is there a way to specify the password for this host so it doesnt
> > ask you?
> 
> Use ssh-keygen with an empty password[1] and follow the instruction in
> ssh(1):
> 
> [exerpt from ssh-manpage deleted]
> 
> I just tried it and it works in the way you probably want.

*ARG* You should not do this and you don't need to. You can use ssh-agent in
your .xsession-Script to get your passphrase and authenticate yourself for
this session. Just do

eval `ssh-agent`
ssh-add             # this will open a window to ask you for your passphrase
/usr/bin/wmaker     # for example
eval `ssh-agent -k` # kill the ssh-agent

> Footnotes: 
> [1]  The use of empty passphrases is strongly discouraged in
>      ssh-agent(1).

Exactly :)

cu
    Torsten

Attachment: pgp9O2TxBTG9W.pgp
Description: PGP signature

Reply via email to