odroid-c2 : cannot ssh with 'PasswordAuthentication no'

This forum is for topics dealing with problems with software specifically in the AArch64 repo.

odroid-c2 : cannot ssh with 'PasswordAuthentication no'

Postby hatahata50 » Sun May 08, 2016 6:12 pm

Hi all .

i install archlinux_xfce-20160415-longsleep-pine64-4GB.img .
and
i set in /etc/ssh/sshd_config
PasswordAuthentication no

then
i cannot access the odroid-c2 PC by ssh.

namely
ssh -l foge 192.168.100.101
Permission denied (publickey).

all lines of /etc/ssh/sshd_config is next .
AuthorizedKeysFile .ssh/authorized_keys
PasswordAuthentication no
ChallengeResponseAuthentication no
UsePAM yes
PrintMotd no # pam does that
Subsystem sftp /usr/lib/ssh/sftp-server


PasswordAuthentication ssh is no ploblem .

by the way
i frequently use vnc over ssh at internet .
so 'PasswordAuthentication no' is needed .

ssh -l foge 192.168.100.101 -L 5900:localhost:5900
and then
on another terminal
xtightvncviewer localhost:5900

-----------

regards
tuyosi---> http://odroid-akita.blogspot.jp/2016/05 ... linux.html
hatahata50
 
Posts: 47
Joined: Tue Dec 29, 2015 6:04 am

Re: odroid-c2 : cannot ssh with 'PasswordAuthentication no'

Postby WarheadsSE » Mon May 09, 2016 11:54 am

"archlinux_xfce-20160415-longsleep-pine64-4GB.img"

... I am amazed that would work at all on the C2. But, we don't support that at all, so install from the official instructions.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: odroid-c2 : cannot ssh with 'PasswordAuthentication no'

Postby hatahata50 » Tue May 10, 2016 2:43 am

thanks for help .

i use aur .
ls builds/openssh-git/

PKGBUILD sshd.conf
install sshd.pam
openssh sshd.service
openssh-git-7.2.P1.r68.g332ff3d-1-aarch64.pkg.tar.xz sshd.socket
pkg sshd@.service
src sshdgenkeys.service

and as root
pacman -U openssh-git-7.2.P1.r68.g332ff3d-1-aarch64.pkg.tar.xz

but
sytemctl restart (what)
sshd or sshd-git or something else ?
------
regards
hatahata50
 
Posts: 47
Joined: Tue Dec 29, 2015 6:04 am


Return to ARMv8

Who is online

Users browsing this forum: No registered users and 3 guests