<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content

ASA Unable to Establish an SSH Session with /var/run/sftd/management.sock

Advanced Server Access
Okta Classic Engine

Overview

The users are not able to connect to the Linux servers via SSH and observe the following error reported by the sft client:

$ sft ssh ubuntu18-sft-lab
error: dial unix /var/run/sftd/management.sock: connect: no such file or directory
ssh_exchange_identification: Connection closed by remote host

Applies To

  • Advanced Server Access (ASA)
  • SSH
  • Okta Classic Engine

Cause

Enabling the service authentication setting in the sft client config may cause this issue. Please examine the history to find out if the following command was executed:

sft config service_auth.enable true


The setting can also be verified while reviewing the sft config file:

$ sft config
# From "/Users/testuser/Library/Application Support/ScaleFT/sft.conf"
section "rdp" {  fullscreen = false  screensize = "1024x768"}
section "service_auth" {  enable = true}

Solution

Disable service auth using the following command:

$ sft config service_auth.enable false
service_auth.enable set by "/Users/testuser/Library/Application Support/ScaleFT/sft.conf" @ 8:12false


Retest the connectivity:

$sft ssh ubuntu18-sft-lab
Welcome to Ubuntu 18.04.4 LTS (GNU/Linux 4.15.0-130-generic x86_64)

 

Loading
Okta Support - ASA Unable to Establish an SSH Session with /var/run/sftd/management.sock