Need ssh on fog client
-
I tried to put dropbear on the fog client (init.xz), but even if I use 32bit or 64bit it says “binary execution error”.
How do I add a ssh server to the fog client? -
Upgrade to svn, ssh is already setup and installed.
-
Thanks a lot for the tip, it works. But where can I find the password or the key?
-
What do you mean?
-
There is no password set to the root account, therefore you can’t ssh into the client. The key is randomly generated everytime the system boots.
The reasons behind no password on the root account is it would be a potential security hole.
-
I get a prompt for password: (192.168.41.23 is the fog client running in debug mode)
ssh 192.168.41.23
The authenticity of host ‘192.168.41.23 (192.168.41.23)’ can’t be established.
ECDSA key fingerprint is 9b:4f:79:21:2a:0d:36:7a:d1:ec:ce:ad:8b:61:b4:e9.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added ‘192.168.41.23’ (ECDSA) to the list of known hosts.
root@192.168.41.23’s password:
Permission denied, please try again.
root@192.168.41.23’s password:
Permission denied, please try again.
root@192.168.41.23’s password:
Permission denied (publickey,password,keyboard-interactive). -
It’s true, there is not password set in /etc/shadow, but SSH asks for any…
-
The idea of ssh on the init is to go in the opposite direction:
Client (debug) to the server side.
-
I’d like to manage the clients while they are running.
I need to reboot or debug the client, if it isn’t doing its job correctly.
I now added an authorized_keys file to the root account and it works.
Thanks! -
Adding authorized_keys will do the job, but I’m not going to add it. Mostly because of the security involvements. If I create a copied authorized keys, it’d be done using methods that would be extremely insecure as it would always have to be the same key.