How to connect to Nylux's SSH server with automatic login

Q: Is it possible to connect to Nylux's SSH server without typing user and password?

A: Yes, it's possible. In order to configure the automatic connection for a SSH client to Nylux's server, the user must follow this procedure:

  • On pc: generate the SSH2-RSA key pair (public and private key) on the pc to use for the connection (using PUTTYGEN, ssh-keygen, etc.)
  • On Nylux: create (if not exists) and edit the file /root/.ssh/authorized_keys: this file must contain for each line the string "ssh-rsa " (without quotes) followed by a public key of the client you want to use for the connection. Then save the file and reboot the mobile device.
  • On pc: connect to the mobile device specifying (if requested by the used SSH client)  the private key generated before as a connection parameter.