Closed nie93 closed 5 years ago
You must be able to do a passwordless ssh into the hosts listed in the riaps_hosts.py. So check that you have the public key included in the authorized_key file on your remote machine.
When I ssh from VM (192.168.1.201
) to BBB (bbb-xxxx.local
), it does not require password since I add the VM's public key to the authorized key file on BBB already.
If I use sudo
at the beginning, this issue does not exist any more.
riaps@riaps-devbox:~$ sudo fab sys.check
[bbb-2b6c.local] Executing task 'sys.check'
[bbb-2b6c.local] hostname && uname -a
bbb-2b6c
Linux bbb-2b6c 4.14.71-ti-rt-r78 #1 SMP PREEMPT RT Tue Sep 25 23:47:31 UTC 2018 armv7l armv7l armv7l GNU/Linux
Done.
Hi!
I am using my computer (
192.168.1.104
) to ssh access to a remote desktop (192.168.1.101
) that runs RIAPS VM (configured static ip address192.168.1.201
, and thevirtualbox
process started from192.168.1.104
via ssh). Because the GUI response from192.168.1.101
is slow, I would like to ssh into RIAPS VM (192.168.1.201
) from192.168.1.104
directly.So I was trying to use the fabfile commands like
fab sys.check
from a remote computer to access the RIAPS devbox VM, which returned the following error messages:But if I run the
fab
command on VM directly, it returns the discovereduname
information on BBB without any error.