WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [Solved] TC 3.5 SSH Dropbear problem  (Read 6737 times)

Offline wolf_core

  • Jr. Member
  • **
  • Posts: 69
[Solved] TC 3.5 SSH Dropbear problem
« on: April 05, 2011, 02:16:25 PM »
I am trying to use dropbear as a SSH server in TC 3.5 and connecting with it with PuTTY.
When i try to login dropbear ask me a username ad a password, I try with tc, root, nobody with no luck. I try also to add a password to nobody with the command "passwd nobody" but putty tell me that the password is incorrect.
So i try to use the metod listed in the previous post "Setting up SSH server (dropbear) in TC (3.5.1) using PuttyGen" but i can't login with an error "Server refused our key" even if i create .ssh dir (mkdir /home/tc/.ssh) and added authorized_keys files in it.

Any help will be appreciated. Thanks Luca
« Last Edit: April 06, 2011, 12:41:15 PM by wolf_core »

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: TC 3.5 SSH Dropbear problem
« Reply #1 on: April 05, 2011, 02:24:44 PM »
You must set the passwords to tc and root before you can login.
After setting the passwords, you must add
etc/passwd
etc/shadow
etc/dropbear
to /opt/.filetool.lst and do a backup.

Offline wolf_core

  • Jr. Member
  • **
  • Posts: 69
Re: TC 3.5 SSH Dropbear problem
« Reply #2 on: April 05, 2011, 11:07:02 PM »
TY gerald_clark, now my ssh connections works  :D .
The only strange thing is that if i start dropbear with /etc/init.d/dropbear start putty say "Network error: connection refused" but if I start droppear from the menu "SystemTools ->  Services -> Dropbear" all work fine.

Thanks Luca
« Last Edit: April 05, 2011, 11:15:51 PM by wolf_core »

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10960
Re: TC 3.5 SSH Dropbear problem
« Reply #3 on: April 06, 2011, 07:27:16 AM »
You probably tried to start it as a normal user, root rights are needed for privileged ports.
The only barriers that can stop you are the ones you create yourself.

Offline wolf_core

  • Jr. Member
  • **
  • Posts: 69
Re: TC 3.5 SSH Dropbear problem
« Reply #4 on: April 06, 2011, 12:40:53 PM »
TY curaga, using the command  sudo /etc/init.d/dropbear start all is OK  :D.

Thanks Luca