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

besides CIFS,any other way to transfer file between tomato & windows?

Discussion in 'Tomato Firmware' started by xworm, Oct 13, 2007.

  1. xworm

    xworm LI Guru Member

    is there something like sftp,etc?

    and, if I want to transfer file between them via internet, how to do ?
     
  2. u3gyxap

    u3gyxap Network Guru Member

    Yes, you can use WinSCP.
     
  3. xworm

    xworm LI Guru Member

    doesn't work.

    I know WinSCP is a SFTP client ,I've make it works well with DD-Wrt, but I can't get it work with tomato,I've also tried PSFTP, same result.
    PSFTP's error is:
    --------------------------
    sh: /usr/libexec/sftp-server: not found
    Fatal: unable to initialise SFTP: could not connect
    --------------------------

    WinSCP's error is attached as the picture.


    My SSH client(PuTTY) works well with tomato! Do I need some configuration on tomato to make SFTP works?
     

    Attached Files:

  4. Syster

    Syster LI Guru Member

    As far as i know, you should set WinSCP to use SCP (not SFTP), and don't forget to start SSH Daemon
     
  5. xworm

    xworm LI Guru Member

    Finally!

    Yes, I tried SCP, it works!.

    And I've checked that dropbear doesn't support sftp.

    Thanks.
     
  6. danix71

    danix71 LI Guru Member

    And what username&pass do I use for SCP with WinSCP (when connecting to Tomato) ? I saw the WinSCP FAQ so don't RTFM :)...I don't know what username is this in the example...
     

    Attached Files:

    • 1.jpg
      1.jpg
      File size:
      30.3 KB
      Views:
      18
    • 2.jpg
      2.jpg
      File size:
      16.7 KB
      Views:
      15
  7. xworm

    xworm LI Guru Member

    Should be root

    I haven't found a way to creat an account in tomato except the embeded "root", so, you may want to try using root as your username.
     
  8. danix71

    danix71 LI Guru Member

    Tried, doesn't work. :(
     
  9. xworm

    xworm LI Guru Member

    Ssh?

    Can you login on tomato using SSH?
     
  10. danix71

    danix71 LI Guru Member

    No. The only "management" that I've done was through http (remote and localy). Now I've tried through WinSCP to access tomato. I've introduced 192.168.1.1 and the port 22, I've put SCP as "File protocol" and I press "login". When asked about the username I've put "root", "admin"...no luck.

    Tomato administration page looks like that:
     

    Attached Files:

    • ssh.jpg
      ssh.jpg
      File size:
      17.1 KB
      Views:
      24
  11. xworm

    xworm LI Guru Member

    error?

    What's the error
     
  12. GeeTek

    GeeTek Guest

    On your screen shot I did not see a check in the box that says "Allow Password Login".

    Edit - Took the g off login.
     
  13. u3gyxap

    u3gyxap Network Guru Member

    self edited...
     
  14. danix71

    danix71 LI Guru Member


    They say that I'm stupid, and they are right. :) I cheched the box and there I go: I succeded logging with "root", but when I introduced the password comes a error...

    Picture attached.
     

    Attached Files:

  15. u3gyxap

    u3gyxap Network Guru Member

    We all get that error. Just click OK.
    You are using SCP only, right?
     
  16. mstombs

    mstombs Network Guru Member

    To avoid the error untick "Lookup user groups" in the environment "SCP/Shell" tab and "save" before "Login".
     
  17. danix71

    danix71 LI Guru Member

    Yes.

    Done, and it's working !!! :biggrin:

    Well, thank you guys!
     

Share This Page