1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Problems with SSH

Discussion in 'Tomato Firmware' started by breugel, Dec 19, 2008.

  1. breugel

    breugel Addicted to LI Member

    Hello all,
    I am new at this and I have installed Tomato v1.23 on a Linksys wrt54gv4 router. I have everything else working but I can not get the SSh to connect. I an using the Putty client.

    Settings in Tomato
    [​IMG]

    Putty Settings
    [​IMG]

    [​IMG]

    Key settings
    [​IMG]

    It connects up and I enter the password and it says
    "Server refused our key"

    I have also tried just doing the username/password and it would fail to log in.

    Any ideas???
    Thanks in advance
     
  2. quinezhu

    quinezhu Addicted to LI Member

    have you tried no-passphrase ssh logon?

    cause "allow password login" unchecked in Tomato setting page
     
  3. breugel

    breugel Addicted to LI Member

    Yes I tried it both ways... No joy.
     
  4. quinezhu

    quinezhu Addicted to LI Member

    why your paragraph layout of public key in Tomato looks different from the one in PuttyKeygen. They are same in my tomato.
     
  5. breugel

    breugel Addicted to LI Member

    I think it has to do with how they word wrap. If I copy/paste into notepad it looks the same. I tried another key ant I do not think it had the "\" and it did not work either.
     
  6. nvtweak

    nvtweak LI Guru Member

    If you paste it in notepad, it should be one line (with wordwrap off). If not, there is your problem.

    Try entering the key into Tomato using a different web browser such as IE or Firefox.
     
  7. breugel

    breugel Addicted to LI Member

    I worded it badly.. If I put it in notepad it is one long sentence...

    I tried IE with no luck.

    Remember it will not let me use a username and password also.
     
  8. nvtweak

    nvtweak LI Guru Member

    As I would expect because you have disabled password login.

    Make sure you are connecting to the right port. If you are testing this from LAN, use the router's LAN IP and port, not the WAN IP and port.
     
  9. breugel

    breugel Addicted to LI Member

    When I tested user/pass it was checked. It asked but rejected the login. I am in my office connecting to home. My ports seem to be correct because it is asking for my login credentials
     
  10. nvtweak

    nvtweak LI Guru Member

    username is root
     
  11. breugel

    breugel Addicted to LI Member


    YOU THE MAN..... works fine... I feel like an idiot. I do not know linux well.

    Thanks
     
  12. nvtweak

    nvtweak LI Guru Member

    Yay! :)

    It's an easy mistake to make because if you change user from the interface, you expect to use that account to login. But we can't. Must use root.
     
  13. fyellin

    fyellin LI Guru Member

    My bet is that nvtweak has correctly diagnosed your problem. When I can't log in, it's almost guaranteed that I've forgotten the root@. . . .
     

Share This Page