ktadd from remote server using ssh

ahuja.nitin@gmail.com ahuja.nitin at gmail.com
Sun Jun 25 23:51:21 EDT 2006


Thanks Sensei ! .. it worked.

-Nitin

Sensei wrote:
> On 2006-06-23 07:59:45 +0200, ahuja.nitin at gmail.com said:
>
> > I am trying to execute following command from a remote server.
> >
> > # ssh krb.example.com "kadmin -k -t /etc/krb5/abc.keytab -p abc/admin
> > -q "ktadd -k /var/tmp/test-host.keytab -e des-cbc-md5:normal
> > host/test.example.com""
>
>
> Is this *really* the command line? If so, you might take care of quoting:
>
> # ssh krb 'kadmin ..."ktadd ..."'
>
> Read more about the *SH usage and quotes.
>
> --
> Sensei <senseiwa at mac.com>
>
> The optimist thinks this is the best of all possible worlds.
> The pessimist fears it is true.      [J. Robert Oppenheimer]




More information about the Kerberos mailing list