Select a Category

How to Access and Transfere Files to Linux from Remote Site

Problem

Need to access and transfer file to Linux computer from remote site.

Solution

Most Linux distribution offers remote access and file transfer package. Ubuntu packaged OpenSSH server in its standard software image. We use Ubuntu below for demonstration.

Remote Access

  1. To remote access or transfer file to Ubuntu, you need to install the OpenSSH server. You can check the OpenSSH server in your Ubuntu installation. install ssh server with Ubuntu
  2. If you forgot to install it at setup, you can add it later on command line with: sudo apt-get install openss-server
  3. Download Putty package, an OpenSSH client for Windows from www.putty.org.
    Download Putty
  4. Install Putty in your Windows computer.
  5. Start Putty in Windows and enter your host computer’s IP address or web site’s name.
    Launch Putty
    Enter Host IP Address
  6. Login with your user name and password.Login in Putty
  7. Now you can operate the remote computer the same as in the terminal windows right at the computer.
    Command Line in Putty

File Transfer

  1. Open PSFTP in WindowsLaunch PSFTP
  2. Enter “Open IP_Address” and login use your user name and password

    Open host in PSFTP

  3. Then you can use “put file_name” to put file to your linux server; use “get file_name” put transfer file from linux server back to your local computer.

Note:

Putty is the basic package for remote access and file transfer. The other two package on the www.putty.org website Bitvise Tunnelier and Bitvise WinSSHD are easier to use than putty, especially on file transfer. However, the basic operations are similar as putty.

Comments are closed.