Are you using SSH keys ?

If not you need to enable password authentication.

Regards,
Richard Schoen
Web: http://www.richardschoen.net
Email: richard@xxxxxxxxxxxxxxxxx

----------------------------------------------------------------------

message: 1
date: Wed, 30 Aug 2023 19:23:14 +0000
from: Greg Wilburn <gwilburn@xxxxxxxxxxxxxxxxxxxxxxx>
subject: RE: VS Code

OK... so the sshd_config rang a bell for me.

We made some changes after a security audit. I have the following at the end of the sshd_config

# Recommended for RDi
# PubkeyAuthentication yes
PasswordAuthentication no
#LogLevel DEBUG
#LogLevel DEBUG
StrictModes no
AllowTcpForwarding yes
AllowUsers gwilburn jreed

So PasswordAuthentication no is likely the culprit? What about AllowUsers? (the two listed are myself and another programmer)

-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Jack Woehr via MIDRANGE-L
Sent: Wednesday, August 30, 2023 3:03 PM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Cc: Jack Woehr <jwoehr@xxxxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: VS Code

By default QSECOFR login via SSH is disallowed, if that's what you're trying to do.
You can edit the sshd_config to enable that.

On Wed, Aug 30, 2023 at 11:48?AM Greg Wilburn < gwilburn@xxxxxxxxxxxxxxxxxxxxxxx> wrote:

I have a vendor trying to connect to our IBM i system (v7r5) with VS
Code IDE. They are connected to our network via VPN and can run 5250
sessions and such.

I started our SSH server, but we are seeing the following error in
QSYSOPR messages and our History Log.

sshd[15191]: fatal: QsyGetProfileHandleNoPwd qsshd CPF22E3 [preauth]
from QSECOFR

Does this connection require pre-shared keys?

TIA,
Greg


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.