WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Openssh password  (Read 8829 times)

Offline gavinmc42

  • Sr. Member
  • ****
  • Posts: 301
Openssh password
« on: January 02, 2014, 07: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, 07: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, 08: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, 08: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, 08: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, 08:54:49 PM »
sudo sh
passwd tc

Offline gavinmc42

  • Sr. Member
  • ****
  • Posts: 301
Re: Openssh password
« Reply #6 on: January 02, 2014, 09:32:48 PM »
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 02, 2014, 09:36:37 PM »
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 02, 2014, 09:39:09 PM by gerald_clark »

Offline gavinmc42

  • Sr. Member
  • ****
  • Posts: 301
Re: Openssh password
« Reply #8 on: January 02, 2014, 09:59:34 PM »
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, 12: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, 12: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, 05: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?

Online curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10979
Re: Openssh password
« Reply #11 on: January 06, 2014, 03: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.