ktadd from remote server using ssh

Sensei senseiwa at mac.com
Fri Jun 23 11:33:26 EDT 2006


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