How do I open FTPS connection using SSH

Posted on 2011-04-26
Last Modified: 2013-12-04
I am logging into a Linux hosting account using SSH.

Via SSH, I am trying to open a FTPS (implicit FTP over TLS) connection to another server (Windows based) using port 990. I need to use this Linux account as it's dedicated IP address is the only IP that is allowed access to the Windows server.

I have no idea on how to achieve this using SSH. Please help!

Eventually, I need to set-up a scheduled job on the Linux host to check the other Windows server regularly using FTPS. If files exist, they would be transferred to the Linux host.

Assistance on setting up this scheduled job on the Linux host would also be very much appreciated.
Question by:streetwise99
    LVL 3

    Expert Comment

    Accessing a SFTP host is not done using the SSH (Secure SHell) client. You'll want to use a FTP client that supports SFTP (FTP via SSH) commonly confused with FTPS which does not use the SSH transport.

    The SFTP client is part of the OpenSSH install on most Distros of Linux.

    man sftp

    LVL 10

    Expert Comment

    Filezilla can handle SFTP just fine.
    LVL 6

    Expert Comment

    What you've not described, is why you're hung up on ssh.
    You mention that you connect to your Linux box using ssh.  This is good, but that's the termination point for ssh.

    You're now going to run a new program on Linux...
    you could run ls, cat, ssh, sftp, ftps, etc...

    they're all unique individual programs (ok, sftp, and ssh may be hardlink'd, let's assume they're not).

    from the $ promt.. run ftps to the windows server.
    Why would that require ssh?  
    ssh would require an ssh server on the windows box (it could be there, but not by default).

    Now, if you want to be convoluted, you could open an ssh tunnel to the windows box, then ftps through the tunnel.  WHY?

    LVL 5

    Accepted Solution


    Featured Post

    Enabling OSINT in Activity Based Intelligence

    Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

    Join & Write a Comment

    Hello to you all, I hear of many people congratulate AWS (Amazon Web Services) on how easy it is to spin up and create new EC2 (Elastic Compute Cloud) instances, but then fail and struggle to connect to them using simple tools such as SSH (Secure…
    OfficeMate Freezes on login or does not load after login credentials are input.
    Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
    Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now