The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    I want SSH file transfers.....

    Discussion in 'Linux Compatibility and Software' started by Thaenatos, Sep 17, 2010.

  1. Thaenatos

    Thaenatos Zero Cool

    Reputations:
    1,581
    Messages:
    5,346
    Likes Received:
    126
    Trophy Points:
    231
    OK I was messing with Cygwin and Im not having fun so basically Im downloading 10.04 ubuntu. Basically I want to have a gui remote file transfer over SSH to a linux box using samba to connect to my windows server. I know this has to be possible but my mind is drawing a blank. Its been years but does putty or other windows SSH clinets support file transfers with a gui approach?

    Sorry for the noobness but I have lost all of my linux skills.
     
  2. timberwolf

    timberwolf Notebook Consultant

    Reputations:
    131
    Messages:
    288
    Likes Received:
    0
    Trophy Points:
    30
    I don't understand what you want to do. SSH and Samba are two entirely different ways to transfer data. SSH is usually over TCP/IP, the file transfer on the command line is performed with the scp command (Secure Copy). Samba was a reverse engineer of the Windows file share protocol i.e. you could mount Windows shares on your linux box, or visa versa and turn a linux box into a cheap Windows file server. But I'm not a Windows user anymore, last time I used windows at home was Windows 98, so my Windows knowledge is a little rusty!
     
  3. Thaenatos

    Thaenatos Zero Cool

    Reputations:
    1,581
    Messages:
    5,346
    Likes Received:
    126
    Trophy Points:
    231
    I guess I didnt explain myself enough. I want a linux box to connect to my windows server through samba. Then I want to be able to SSH to that linux box remotely and transfer files through a gui client. What Im asking is do putty or other SSH clients (for windows) have a gui file transfer ability. I havent used one in ~4 years and Im a little rusty and I dont want to wipe my cygwin setup that is working for a CLI that would off my users (not to mention they dont even know what CLI is).

    Diagram:
    remote computer <---file transfer---> Linux box <---samaba to windows share---> windows files server
     
  4. Thaenatos

    Thaenatos Zero Cool

    Reputations:
    1,581
    Messages:
    5,346
    Likes Received:
    126
    Trophy Points:
    231
    I have a cygwin SSH VNC setup but tightvnc is still "working" on there VNC over SSH and its not the best viewer.
     
  5. timberwolf

    timberwolf Notebook Consultant

    Reputations:
    131
    Messages:
    288
    Likes Received:
    0
    Trophy Points:
    30
    Ah, so something like WinSCP? WinSCP :: Free SFTP and FTP client for Windows

    I used the search terms "ftp gui windows scp". Obviously, I've no experience of the Windows utility myself, but I recall some of the linux ftp gui clients offer more than ftp and thought maybe Windows versions might as well.
     
  6. Thaenatos

    Thaenatos Zero Cool

    Reputations:
    1,581
    Messages:
    5,346
    Likes Received:
    126
    Trophy Points:
    231
    Ok so it exists. If my frustration continues with cygwin/tightvnc/ssh I will look into this. Thanks!
     
  7. millermagic

    millermagic Rockin the pinktop

    Reputations:
    330
    Messages:
    1,742
    Likes Received:
    0
    Trophy Points:
    55
    Winscp is a very nice program! Works great! You can transfer between your windows machine and Linux machine. Works great.

    You can also transfer to mount points on the remote system too so it would work perfect for what you want to do!
     
  8. ALLurGroceries

    ALLurGroceries  Vegan Vermin Super Moderator

    Reputations:
    15,730
    Messages:
    7,146
    Likes Received:
    2,343
    Trophy Points:
    331
    I do something like this when I need a file from my home computers that isn't on my public-facing web/file server. I use sshfs to get to my PC through a mount point (that isn't publicly exposed) on my file server, so that I don't have to forward any ports directly to my PC. In effect I can use one of my hard disks on my desk as if it were locally attached on a mountpoint like /mnt/blah. It uses samba for the LAN side and sshfs to get it over the internet... but it's all at the command line and all the systems run linux.
     
  9. helikaon

    helikaon Notebook Consultant

    Reputations:
    269
    Messages:
    288
    Likes Received:
    0
    Trophy Points:
    30
    Yeah, got you, quite common scenario you talk about here. Windows server shares some disk -> this windows shared disk is mounted through Samba server to some particular path in linux (e.g. /winshare).
    This scenario have some good advantages (i use it too).
    - sftp transfers of files to linux box where it automatically is stored on windows (over LAN network => more secure), also sftp uses SSH encryption
    - free solution no other widnows licencing (except the win server) needed

    And yes, use winscp if you want gui app from win desktop... no need for linux distro, or cygwin. (but you can always put some virtualized linux distro ontop of your win box if you like ...)

    cheers :)
     
  10. Thaenatos

    Thaenatos Zero Cool

    Reputations:
    1,581
    Messages:
    5,346
    Likes Received:
    126
    Trophy Points:
    231
    The linux box is for the remote SSH access. If I felt comfortable with it going to windows I would just use the VNC over SSH that I have setup. But I am just not comfortable with the beta VNC over SSH setup. Plus Im just not OK with direct remote access to my file server at work, my home server is fine for this but not my work server. When it gets a little further into development Ill use it over this proposed setup because I can set the box to only login using a certain user with certain privileges. Easy to do in a full windows environment. For now Ill be installing Ubuntu and re familiarize myself with its greatness.
     
  11. jlacroix

    jlacroix Notebook Consultant

    Reputations:
    30
    Messages:
    200
    Likes Received:
    1
    Trophy Points:
    31
    Unison does what you're seeking. I use it all the time.
     
  12. timberwolf

    timberwolf Notebook Consultant

    Reputations:
    131
    Messages:
    288
    Likes Received:
    0
    Trophy Points:
    30
    If you are using Unison without SSH across then internet then your data is not secure.
     
  13. ALLurGroceries

    ALLurGroceries  Vegan Vermin Super Moderator

    Reputations:
    15,730
    Messages:
    7,146
    Likes Received:
    2,343
    Trophy Points:
    331
    If you're trying to securely mirror data across the internet I'd go for rsync + ssh. If you just need selected file transfers I'd go for sftp.