Search results

  1. B

    Solved Systemctl - sysctl - systemd

    Thanks for the links. I'll read them carefully. Best regards!
  2. B

    Solved ip - ifconfig - netplan - interfaces file

    Thanks a million, @osprey.
  3. B

    Solved Systemctl - sysctl - systemd

    Hi! I have seen many ways to manage services in Ubuntu. Such as Systemctl - sysctl - systemd - /etc/init.d scripts and so on. Some of them seem to work always, whereas some not. ¿What is the difference among them all? Thanks!
  4. B

    Solved ip - ifconfig - netplan - interfaces file

    Hi. Thanks for the explanation. I tend to use only one tool to avoid conflicts. I have seen however that some configuration is temporary and others are persistent. Depending on the tool you use. ¿What is the major difference between Network Manager and systemd-networkd? Thanks again!
  5. B

    Solved ip - ifconfig - netplan - interfaces file

    Hi! I'm struggling to configure a quite simple network using Debian. I can't see the difference between using the following commands to set the networking parameters. ip ifconfig netplan /etc/network/interfaces file When to use one or another? Why so many tools for the same purpose? Does any...
  6. B

    Solved Crontab vs /etc/cron.x directories

    I think I have it clearer now. I guess if I have to analyze an unknown server, it's better to take a look both at /etc/cron* and also to crontab for all users. Am I correct? Thanks!
  7. B

    Solved Crontab vs /etc/cron.x directories

    Hi. I have been working with crontab to schedule jobs. I usually run crontab -l (to list the jobs) or crontab -e (to edit them). Always bearing in mind each user. I also have found the following directories: /etc/anacrontab /etc/cron.d /etc/cron.daily /etc/cron.hourly /etc/cron.monthly...
  8. B

    Solved CERTBOT: fullchain.pem vs privkey.pem

    Found the error. The certificate was issued to a domain. Hence the access by IP gave that warning. Thanks!
  9. B

    Solved CERTBOT: fullchain.pem vs privkey.pem

    Hi! Thanks for the reply. I have added the corresponding files to the directives: SSLEngine on SSLCertificateChainFile /etc/letsencrypt/live/domain.com/fullchain.pem SSLCertificateKeyFile /etc/letsencrypt/live/domain.com/privkey.pem SSLCertificateFile...
  10. B

    Solved CERTBOT: fullchain.pem vs privkey.pem

    Hi! I have used CERTBOT and successfully get the SSL certificates. However, I don't understand the purpose and difference between these 2 files: /etc/letsencrypt/live/domain.com/fullchain.pem /etc/letsencrypt/live/domain.com/privkey.pem What does each one do? Thanks!
  11. B

    Solved Security doubt about ssh-copy-id

    Haha! Will do. I just was fed up and wanted to get rid of the problem. Thanks!
  12. B

    Solved Security doubt about ssh-copy-id

    Yes. Default is 6, altthough the line was commented (??). I'm using Ubuntu 22.04.
  13. B

    Solved Security doubt about ssh-copy-id

    OK. I have set: PasswordAuthentication yes I still was getting the message Too many authentication failures I uncommented and set the directive: MaxAuthTries 1000 So I got rid of the message, was prompted for the password and now able to add the pubkey. Thanks!
  14. B

    Solved Security doubt about ssh-copy-id

    OK. Here's what I do: LOCAL: /home/localuser/.ssh/ssh-keygen (keypair named "test2") /home/localuser/.ssh/ssh-copy-id -i test2.pub [email protected] (test user already exists in 192.168.1.138) /usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "test.pub" /usr/bin/ssh-copy-id...
  15. B

    Solved Security doubt about ssh-copy-id

    But what if I want to add a key other than root?
  16. B

    Solved Security doubt about ssh-copy-id

    Hi! The user I'm issuing the command with only exists in my local machine. So I'm not prompted for any user/pwd. ssh-copy-id -i /home/user/.ssh/test.pub [email protected] and I get /usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already...
  17. B

    Solved Security doubt about ssh-copy-id

    Hi! I have been using SSH for a long time, and I do know the purpose of ssh-copy-id command. If I copy the pubfile contents and paste it into the authorised_keys file on the target server, that's OK, because I already have access to the target server, and there are not security concerns...
  18. B

    Solved WIFI Card disabled all of a sudden

    Sure. Thanks a million for your help!
  19. B

    Solved WIFI Card disabled all of a sudden

    Hi. First of all, thank you for the quick replies. I solved it with the command: nmcli radio wifi on After that, rfkill showed both bluetooth and wlan as unblocked in soft and hard. Which might have been the issue? Why did it turn off? Thanks again!
Top