Re: ftp with ssh

From: Scott Phelps (root_at_aol.com)
Date: 11/21/05


Date: Mon, 21 Nov 2005 17:09:28 GMT


"Darren Tucker" <dtucker@gate.dodgy.net.au> wrote in message
news:437ffe45$0$30786$5a62ac22@per-qv1-newsreader-01.iinet.net.au...
> On 2005-11-20, asdf <scottphelps@noemailplease.com> wrote:
>> I use a linux box that I can connect to to tunnel trafic to a PC that I
>> can't normally connect to.
>>
>> On that pc (WinXp) I am running windows ftp server. But because of the
>> new
>> port opening that is done during normal ftp transfers I can't connect. Is
>> there any ftp or like server I can install to get around this? I have
>> WinSCP
>> as a client if that will work.
>
> Here's a few options, in approximate order of difficulty:
>
> a) some SSH clients understand enough of the FTP protocol to forward the
> required ports. OpenSSH doesn't, nor (I think) PuTTY. I think Tectia
> does, not sure about others.
>
> b) If your FTP client and server support passive mode, and your FTP
> client support SOCKS (or can be SOCKSified), then you can use a SSH
> client with "Dynamic" port forwarding to port forward FTP. This will
> work with OpenSSH and PuTTY and probably some others.
>
> c) You can forward SMB-over-TCP over SSH if you're careful, and thus you
> can attach to SMB file shares over SSH. I think there are some messages
> in the archive for this group with the details.
>
> d) you could install an SSH server on the Windows box, then use a 2-hop
> SSH connection and sftp/scp/whatever.
>
> e) you could use either smbclient or smbmount on the Linux box to either
> transfer files to/from the Windows box, or mount a file share on the
> Linux box.
>
> --
> Darren Tucker (dtucker at zip.com.au)
> GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
> Good judgement comes with experience. Unfortunately, the experience
> usually comes from bad judgement.

Thank you! I have some great leads now!



Relevant Pages

  • Re: ftp with ssh
    ... > I use a linux box that I can connect to to tunnel trafic to a PC that I ... > port opening that is done during normal ftp transfers I can't connect. ... If your FTP client and server support passive mode, ... client support SOCKS, then you can use a SSH ...
    (comp.security.ssh)
  • Re: File servers, web servers ?
    ... with the "server" to perform the activity. ... In the case of "web services", the distributed client is your web ... Finally, in the case of "FTP services", the distributed client is your ... what does this all have to do with Linux? ...
    (alt.os.linux)
  • problem with publickey authentication
    ... I have a business client who is running a SSH Communications SSH Tectia Server on a Windows NT Server. ... I need to connect to their server from dozens of FreeBSD servers in my organization using OpenSSH client, ... He claimed that he tested on his side, and was able to connect from a Linux client to his own Windows Tectia SSH box. ...
    (SSH)
  • Re: Server Data Backup
    ... FTP thru SSH? ... Use Filezilla to get into the linux box as root. ... > and SMB connections. ...
    (Fedora)
  • Re: Remote Linux desktop?
    ... Is there a VNC client for Linux? ... > remote computer, including with GUI, then ssh is ...
    (Fedora)