Tiny Core Linux

Tiny Core Base => Raspberry Pi => Topic started by: gavinmc42 on January 02, 2014, 10:47:24 PM

Title: Openssh password
Post by: gavinmc42 on January 02, 2014, 10:47:24 PM
Trying latest 5.1RC4
What is the password for remote openssh login?
Title: Re: Openssh password
Post by: gerald_clark on January 02, 2014, 10:49:38 PM
Set the password with the passwd command.
Add etc/passwd and etc/shadow to /opt/.filetool.lst and run a backup.
Title: Re: Openssh password
Post by: gavinmc42 on January 02, 2014, 11:42:02 PM
hmm need a password to use passwd.

I use/try so many OS distributions for RPi I have forgotten/misplaced the default
Add it here?
http://elinux.org/RPi_Distributions
Title: Re: Openssh password
Post by: gerald_clark on January 02, 2014, 11:45:29 PM
Don't you have a local login?
Title: Re: Openssh password
Post by: gavinmc42 on January 02, 2014, 11:48:46 PM
Yep got local login.
but when you run passwd it needs old password
Title: Re: Openssh password
Post by: gerald_clark on January 02, 2014, 11:54:49 PM
sudo sh
passwd tc
Title: Re: Openssh password
Post by: gavinmc42 on January 03, 2014, 12:32:48 AM
Thanks, was able to change password on local.

Now how do I login remotely on openssh?
Title: Re: Openssh password
Post by: gerald_clark on January 03, 2014, 12:36:37 AM
You use an ssh client on the remote machine.
On the serve, as root you run "/usr/local/etc/init.d/openssh start"
Title: Re: Openssh password
Post by: gavinmc42 on January 03, 2014, 12:59:34 AM
onenssh seems to be running as default in 5.1RC4

I'm using Putty on Linux Mint box

I get message

login as:


What I need is openssh's default user and password so I can remotely login.
Title: Re: Openssh password
Post by: bmarkus on January 03, 2014, 03:04:19 AM
login: tc
passwd: piCore

Read annoncement http://forum.tinycorelinux.net/index.php/topic,16439.0.html

It is alwayas good to read release annoncement before tweeking a system. And it is the best advice for others too looking for help.
Title: Re: Openssh password
Post by: gavinmc42 on January 05, 2014, 08:25:36 PM
Thanks,

Did lots of searching but missed the link to the news.
Knew it would have to be somewhere.

Remote shell working no problem with mc.
Time to start doing the real work getting my own apps running.
Nodejs and or WebIOPi?
Title: Re: Openssh password
Post by: curaga on January 06, 2014, 06:38:39 AM
@bmarkus

Perhaps put that to the banner SSH displays?