Wind River Support Network

HomeDefectsLIN6-9612
Fixed

LIN6-9612 : wrl6 : sshd does not work when the client is using BatchMode=yes (passwordless login)

Created: Mar 29, 2015    Updated: Dec 3, 2018
Resolved Date: May 6, 2015
Found In Version: 6.0.0.18
Fix Version: 6.0.0.20
Severity: Critical
Applicable for: Wind River Linux 6
Component/s: Networking

Description

Hi,

when ssh is used on passwordless login  (BatchMode=yes)  it receives the error permission denied.   

Steps to Reproduce

on the wrlinux 6 client :

root@localhost:~# useradd testuser2
root@localhost:~#  passwd --delete --unlock testuser2
passwd: password expiry information changed.
root@localhost:~# 

then in sshd_config make sure this is enabled :
UsePAM yes 

then on the ssh client (not on the wrlinux 6 host) :

I get :
$ ssh -o Batchmode=yes testuser2@128.224.199.126
Permission denied (publickey,password,keyboard-interactive).
$ 

Other Downloads


Live chat
Online