[SOLVED] simple tinyssh setup needed

Ask questions about Arch Linux ARM. Please search before making a new topic.

[SOLVED] simple tinyssh setup needed

Postby ugluk » Sat Feb 23, 2019 4:02 pm

I tried to enable tinyssh on my rpi1b+ on alarm and it failed to work. I can see these services in the package file:

tinyssh /usr/lib/systemd/system/tinyssh@.service
tinyssh /usr/lib/systemd/system/tinyssh@.socket
tinyssh /usr/lib/systemd/system/tinysshgenkeys.service

Enabling any of these produces no effect whatsoever. I'd just like a simple tinyssh setup, nothing fancy. I'd like to drop dropbear.
Last edited by ugluk on Mon Mar 11, 2019 6:05 pm, edited 1 time in total.
ugluk
 
Posts: 4
Joined: Sat Feb 23, 2019 4:00 pm

Re: simple tinyssh setup needed

Postby ugluk » Sat Feb 23, 2019 5:52 pm

do locally or on the ssh server:

$this->bbcode_second_pass_code('', 'ssh-keygen -t ed25519
cat generated_file.pub >>~/.ssh/authorized_keys
')

copy the authorized_keys file over to your ssh server/or locally to the same path, depending on where you generated the key (copy to the other side, in other words).

on the ssh server side:

$this->bbcode_second_pass_code('', 'systemctl enable tinyssh@22.socket
systemctl start tinyssh@22.socket')

Apparently password authentication is unsupported.
ugluk
 
Posts: 4
Joined: Sat Feb 23, 2019 4:00 pm


Return to User Questions

Who is online

Users browsing this forum: No registered users and 17 guests