Post Last Edited by tony_zhang at 2014-5-7 18:46 |
Sometimes HDMI is not necessary, for example we want to use our Banana Pi to act as a home server, so we can configure our Banana Pi through SSH.
In the two image from the Downloads, BananaPi_For_Cubieboard_v1.0.tgz and BananaPi_For_RaspberryPi_v1.0.tgz, the SSH server is installed default and start with boot. So generally we can not configure the SSH on board.
If the SSH is not installed, we can install it use the command below:
We can check whether the SSH is started:If sshd is output, so the SSH sever has started. But if no sshd outuput, we should start it:Stop the SSH sever we can use:Restart the SSH sever we can use:We can set the SSH sever to start when the Banana Pi boot:Add /etc/init.d ssh start before exit 0. Copy the Code
- sudo apt-get install openssh-server
After configure the SSH in the board, we can now use our Banana Pi without HDMI.
Use SSH, you should plug the enthernet to your Banana Pi.
Under windows, we can download a free SSH client such as Putty to remote login our Banana Pi.
Start Putty on your PC, and then enter the IP address of your Bananapi:
And then click Open to connect to your Banana Pi. And then enter the username and password to complete verification.
If your PC OS is Ubuntu, it is easier to login your Banana Pi, we don't need putty:
remote_username is the user name on Banana Pi such as Pi, the remote_host is the Banana Pi IP address. Copy the Code
- ssh remote_username@remote_host