WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Openssh password  (Read 9420 times)

Offline gavinmc42

  • Sr. Member
  • ****
  • Posts: 301
Openssh password
« on: January 02, 2014, 10:47:24 PM »
Trying latest 5.1RC4
What is the password for remote openssh login?

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Openssh password
« Reply #1 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.

Offline gavinmc42

  • Sr. Member
  • ****
  • Posts: 301
Re: Openssh password
« Reply #2 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

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Openssh password
« Reply #3 on: January 02, 2014, 11:45:29 PM »
Don't you have a local login?

Offline gavinmc42

  • Sr. Member
  • ****
  • Posts: 301
Re: Openssh password
« Reply #4 on: January 02, 2014, 11:48:46 PM »
Yep got local login.
but when you run passwd it needs old password

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Openssh password
« Reply #5 on: January 02, 2014, 11:54:49 PM »
sudo sh
passwd tc

Offline gavinmc42

  • Sr. Member
  • ****
  • Posts: 301
Re: Openssh password
« Reply #6 on: January 03, 2014, 12:32:48 AM »
Thanks, was able to change password on local.

Now how do I login remotely on openssh?

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Openssh password
« Reply #7 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"
« Last Edit: January 03, 2014, 12:39:09 AM by gerald_clark »

Offline gavinmc42

  • Sr. Member
  • ****
  • Posts: 301
Re: Openssh password
« Reply #8 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.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Openssh password
« Reply #9 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.
« Last Edit: January 03, 2014, 03:08:25 AM by bmarkus »
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline gavinmc42

  • Sr. Member
  • ****
  • Posts: 301
Re: Openssh password
« Reply #10 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?

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11043
Re: Openssh password
« Reply #11 on: January 06, 2014, 06:38:39 AM »
@bmarkus

Perhaps put that to the banner SSH displays?
The only barriers that can stop you are the ones you create yourself.