where to put the ssh public key in the MTCDP_EVO2

Home Forums MultiConnect OCG where to put the ssh public key in the MTCDP_EVO2

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2659
    Lucas Li
    Participant

    Hi

    I am trying to log in to the modem via wan without a password prompt by using pub/private keys. Where do I put the public key on the modem?

    Thanks

    Lucas

    #3489
    Jesse Gilles
    Blocked

    If you are running Ubuntu on your desktop, there is a nice helper program you can run:

    ssh-copy-id root@192.168.2.1

    Assuming default IP address. That also assumes you already have a key generated.

    If you aren’t using Ubuntu or another Linux distro that has ssh-copy-id, the public key goes in /home/root/.ssh/authorized_keys on the device.

    Make sure the .ssh dir and the authorized_keys file are only accessible by the root user.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.