This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Remote Log File Archives

Hi everybody!

I tried to configure ASL5 so that the Log files would be copied
to a linux box at night via Secure Copy. For that reason, I've added a user to my linux and added the Public DSA Key from the ASL to the ~/.ssh/autorized_keys files.

First of all, it would be nice to have a button where the settings can be checked, so I don't have to wait for the next day to see it's just not working.

And I don't have any clue, why it's not working. I've configured everything like it's explained in the help.

Does anybody know, what to do or what I've forgot to do?

Thanks in advance for your help,
Henrik


This thread was automatically locked due to age.
Parents
  • I tried the windows netbios transfer option..i ahve a samba file server here and i wanted my logs tranferred there..could not get that to work.  I am sure i was doing something wrong though..wil try it again when i reinstall v5..[:)]
Reply
  • I tried the windows netbios transfer option..i ahve a samba file server here and i wanted my logs tranferred there..could not get that to work.  I am sure i was doing something wrong though..wil try it again when i reinstall v5..[:)]
Children
  • I've not tried the scp option, but ftp'ing the logs each night is working ok (single home lan..... I would not advise using an unencrypted protocol unless it is your only option!)
  • I can assure you, all methods work here..

    Henrik: did you use the full path where you files should be stored?
    jrl: did you try to scp the logfiles using the identity file in /etc/logremote? The system needs to transfer the logfiles in a non-interactive way .. that's the reason you need to copy the public key to your log file storage.

    Greets,
    andreas
  • I know that my problem is on my log storage server. When I make a scp from ASL to the server it still asks me for the password, but I've copied the pub file to the home directory of the user and it doesn't work. I'm trying with a SuSE 8.

    I'm sure there is just something missing in the sshd_config file at the remote server, but what?

    Thanks,
    Henrik
  • sounds like you need to tell it to only authenticate via keys, not password? I use sshd2 and the entry is something like "Required Authentication" in /etc/ssh2/sshd2_config allowing you to specify any combination of the authentication methods supported.....
  • Normally, the pub key is not stored in the home directory of the user, but instead should be added to  ~/.ssh/authorized_keys. When using scp to test, you must use the private key with -i.
  • Well of course I copied the pub file in ~/.ssh/authorized_keys  [:)]

    I've tried with scp -i logremote...pub -F ssh_config but all this is not working.

    I'm pretty sure my problem is my sshd_config on the Suse 8 but still no clue.  [:(]

    Thanks anyway,
    Henrik