Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: BananaPi default login through ssh



Hi Jeff,

I apologize if I was not clear in my previous message; I have problems login in through ssh on banana pi image I downloaded from one of the NetBSD mirrors. My only access to BPi at this moment is through ethernet cable, and I would prefer to just burn the image on SD and try logging in via ssh. That's why I asked if login through ssh is enabled and what is the default username.

If not, I guess I would have to compile the image myself after changing the necessary configuration files, but it would really make it easy to have this enabled. Maybe I just expected to have this image precompiled with some options on, but I guess this is just an install image?


Thanks,

D




On Wednesday, January 27, 2016 5:45 PM, Jeff Rizzo <riz%tastylime.net@localhost> wrote:


On 01/25/16 02:06 PM, soxxxz wrote:
Hi all,

I followed instructions on NetBSD wiki regarding Allwinner A20 board. Is there any way to login remotely on it or I have to connect to its console (or though HDMI)? I would prefer to login remotely, but It doesnt seem to accept logins through ssh or I am doing something wrong?

Thank you


In order to log in via ssh, you need two things:  sshd running, and a user which is permitted to log in via ssh.

I forget whether sshd is enabled by default in the banana pi image, but if it's not, add the line

sshd=YES

in /etc/rc.conf, and then (re)start sshd with:

/etc/rc.d/sshd restart

You will also need a user;  by default, root is not permitted to log in remotely.  You can change this in /etc/ssh/sshd_config, but a better approach is to add a new user, and log in as that user.  See "useradd".

+j





Home | Main Index | Thread Index | Old Index