Tiny Core Base > Raspberry Pi

SSH server

(1/7) > >>

str4ng3r:
Hi.

Is there any SSH server for piCore in the repo?

Thanks.

sbp:
Hi

I use the Dropbear.tcz on my piCore - it is working fine.

str4ng3r:

--- Quote from: sbp on January 29, 2013, 05:24:41 PM ---Hi

I use the Dropbear.tcz on my piCore - it is working fine.

--- End quote ---

Should i get openssl also? Or is there some "magic" i need to do before login?
I'm asking because just downloaded it, rebooted Pi and tried access it from putty with no luck.

sbp:
no, you don't need more. You just need to follow these instructions:

install Dropbear.
make a password for tc like this:
passwd 


Then I added these three lines to opt/.filetool.lst
etc/passwd
etc/shadow
etc/dropbear

next I used backup:
filetool.sh -b

Then reboot.

Now I start dropbear by:
sudo /usr/local/etc/init.d/dropbear start     

and everything is fine I can connect via Putty by user: tc and password: (the one I supplied).

For Dropbear to start automatically add:
usr/local/etc/init.d/dropbear start to /opt/bootlocal.sh

And then do a backup to make it persistent
filetool.sh -b
 

bmarkus:
Hi

instructions are good, few notes however:

No need to backup

/etc/shadow

No such directory as /etc/dropbear no need to add to backup.

Add

/usr/local/etc/dropbear/dropbear_dss_hostkey
/usr/local/etc/dropbear/dropbear_rsa_hostkey

to backup to save generated keys over reboot.

I find more convenient to have a new user defined, 'ru' with password and part of sudoers. In this case you can keep tc without password. With new user(s) add

/etc/sudoers
/etc/group

to backup.

Navigation

[0] Message Index

[#] Next page

Go to full version