SFTP

From SME Server
Revision as of 18:23, 19 January 2009 by Per (talk | contribs) (Added Nautilus)
Jump to navigation Jump to search

Intent

SME Server requires an encrypted connection (like SFTP and SCP) to do file management.

Ibays can be accessed with unencrypted FTP if they are configured that way in the server-manager.

This HowTo will show you clients for this together with some tips and tricks.

Remote access

If you need remote access (e.g. over internet) to your server, SME Server requires some additional configuration for use with SFTP/ FTP clients like WinSCP.

Information on configuring SME Server for Remote access can be found in the SME Server Administration Manual.

WinSCP

WinSCP is an open source free sFTP client and FTP client for Windows. Legacy SCP protocol is also supported. Its main function is safe copying of files between a local and a remote computer.

Download & Install WinSCP

  1. Download the Windows installer from the WinSCP Download Page.
  2. After successfully downloading the file execute it to install the program, your best bet is to run a typical install.
  3. After the installation we also can install PuTTy, which can be downloaded here. Save the putty.exe file in the WinSCP folder tree C:\Program Files\WinSCP\PuTTY

Configuring PuTTy Integration

PuTTY is a free implementation of Telnet and SSH for Win32 and Unix platforms, along with an xterm terminal emulator.

  1. Open WinSCP
  2. Select Preferences from the left tree
  3. Then click on the Preferences button
  4. Select Applications under Integration from the left tree
  5. Browse to the location where you saved the putty.exe file typically "C:\Program Files\WinSCP\PuTTY\putty.exe" Note:You can use the Windows variables for instance %PROGRAMFILES% to specify the path to your Program Files folder.
  6. When done click OK.

Putty can also be used as standalone ssh-client to execute terminal commands on the server.

Choosing a Preferred Editor

WinSCP allows for defining preferred editors based on file extensions, to add, edit, remove Editor Preferences:

  1. Open WinSCP
  2. Select Preferences from the left tree
  3. Then click on the Preferences button
  4. Select Editors in the left tree
  5. Then select the add button
  6. Within the Add Editor popup window make the appropriate changes and select the OK button

Using WinSCP

The first time use of WinSCP requires connection information to login to your server:

  1. Start WinSCP
  2. Enter the hostname or IP number of your server
  3. Set the port number to 22.
  4. Enter your credentials (root username and password) Note: The root password is the same as the admin password unless you have changed the admin password.
  5. Click Save
  6. Click Login


Nautilus

This program is the standard graphical file manager in many Linux distributions and it supports several protocols, including FTP and SFTP.

If you omit the [:port], it uses the default one and if your name resolution works you can replace [IP.of.your.server] with a hostname.

To connect to your server with SFTP (default port 22):

sftp://username@IP.of.your.server:port/

To connect to your server with FTP (default port 21):

ftp://username@IP.of.your.server:port/

FileZilla

  Incomplete:
This article or section needs to be expanded. Please help to fill the gaps or discuss the issue on the talk page


This program can be downloaded here.

SmartFTP

  Incomplete:
This article or section needs to be expanded. Please help to fill the gaps or discuss the issue on the talk page


This program can be downloaded here.

Additional Information

There are many editors that can be used with WinSCP.

IF you use an editor that you think others might enjoy then list it below and thank you.