On Wed, 2004-06-02 at 12:01 -0700, wmux wmux wrote: > --- Thiago Amaury Ferraz <tferraz@xxxxxxxxxxx> wrote: > > Hello all! > > > > I continue with a problem to use a remote tape unit, > > ... snip ... > > The question is: Someone can help me, giving some > > trick about SSH > > configuration or a different command? > > > Hello Thiago, > > For ssh asking for password issue, you need to > generate a key with ssh-keygen (man ssh-keygen) and... > have a look here: > http://www.sao.nrc.ca/imsb/rcsg/documents/advanced/node74.html That reference seems to recommend no passphrase (bad idea for security) and is a bit fuzzy on adding to ~/.ssh/authorized_keys - can copy the first key but subsequently must append, e.g. "cat <public_key> >>~/.ssh/authorized_keys". Also doesn't mention ssh-agent and ssh-add which allow the use of passwordless login with a passphrase-protected key, nor cover port forwarding which seems to be relevant. Might try: http://www.xcf.berkeley.edu/help-sessions/using-ssh/book1.html or http://www-106.ibm.com/developerworks/library/l-keyc.html For a method of automating things by modifying bash dot files see: http://trific.ath.cx/resources/bash/ Phil