in reply to Re: Sockets, And Running Commands.
in thread Sockets, And Running Commands.

won't that be just as complex? Plus my server needs a keyfile in order to ssh in.

Replies are listed 'Best First'.
Re: Re: Re: Sockets, And Running Commands.
by naChoZ (Curate) on Jun 28, 2003 at 14:29 UTC
    No, it won't be just as complex. Keyfile creation is dead simple anyway, just use the ssh-keygen command to generate a key and copy it to the remote host's ~/.ssh/authorized_keys2 file. Obviously running this as root is ill advised. If it's necessary for root to implement the file on the remote, you can do something like run a pickup script from cron on the remote that checks for a new file periodically.

    ~~
    naChoZ