Problem Note 43487: An error occurs when you use the FILENAME SFTP access method in SAS® programs
When you use the FILENAME SFTP access method in SAS, the following error might occur:
ERROR: Connection refused, check authentication and sshd server status.
If this error occurs, do the following:
- Ensure that the path to the PuTTY software is included in the PATH environment variable. The PATH environment variable must contain the path to the PuTTY software for proper functionality of the SFTP engine.
- Ensure that key authentication is being used in your PuTTY configuration.
- Provide a physical path, rather than a relative path, in the file specification.
Operating System and Release Information
| SAS System | Base SAS | Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.21 | | 9.2 TS2M0 | |
| Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.21 | | 9.2 TS2M0 | |
| Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.21 | | 9.2 TS2M0 | |
| Microsoft Windows XP 64-bit Edition | 9.21 | | 9.2 TS2M0 | |
| Microsoft® Windows® for x64 | 9.21 | | 9.2 TS2M0 | |
| Microsoft Windows Server 2003 Datacenter Edition | 9.21 | | 9.2 TS2M0 | |
| Microsoft Windows Server 2003 Enterprise Edition | 9.21 | | 9.2 TS2M0 | |
| Microsoft Windows Server 2003 Standard Edition | 9.21 | | 9.2 TS2M0 | |
| Microsoft Windows Server 2003 for x64 | 9.21 | | 9.2 TS2M0 | |
| Microsoft Windows Server 2008 for x64 | 9.21 | | 9.2 TS2M0 | |
| Microsoft Windows XP Professional | 9.21 | | 9.2 TS2M0 | |
| Windows Vista | 9.21 | | 9.2 TS2M0 | |
| Windows Vista for x64 | 9.21 | | 9.2 TS2M0 | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
In this scenario, the following error occurs: "ERROR: Connection refused, check key authentication and sshd server status."
| Type: | Problem Note |
| Priority: | medium |
| Date Modified: | 2022-05-09 10:00:07 |
| Date Created: | 2011-06-09 15:05:56 |