Thanks for the suggestions so far. Still the same thing using SSH. I was
able to connect using my user profile but right when it's done with all the
connection popups vs code disconnects.

On Fri, Jun 6, 2025 at 10:51 AM Diego E. KESSELMAN <diegokesselman@xxxxxxxxx>
wrote:

Hi,

just a suggestion: don't use 755 for your /home/<User Profile>
directory, because will ask for password.

Try with 700:

chmod 700 /home/<user directory>


Also fix files with owner different to yours:

chown -R <User Profile> /home/<User Profile>


And finally, check the
*/QOpenSys/QIBM/UserData/SC1/OpenSSH/etc/sshd_config* file.

* Last line should looks like this:
ibmpaseforienv PASE_USRGRP_LIMITED=N

* To speed up logins, change the UseDNS value:
UseDNS no

*Check you have this value:
PubkeyAuthentication yes

* If your user is *SECOFR , set this value:
PermitRootLogin yes

* Now restart your service:

ENDTCPSVR *SSHD
STRTCPSVR *SSHD

* Try again to login


Hope this can help you

--
Saludos/Regards

Diego E. KESSELMAN

On 06/06/25 08:29, Sizer, Joseph via MIDRANGE-L wrote:
I recently applied some PTFs and had to redo some authorities.

You can try

chmod 755 /home/<user directory>

chmod 755 /home/<user directory>/.ssh

chmod 600 /home/<user directory>/.ssh/authorized_keys


-----Original Message-----
From: MIDRANGE-L<midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of
Art Tostaine, Jr.
Sent: Friday, June 6, 2025 10:25 AM
To: Midrange Systems Technical Discussion<midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: Back for another VS Code setup

________________________________
CAUTION: This email originated from outside of the PENCOR network. Do
not click on any links or open attachments unless the sender is known, and
the content is verified as safe.
________________________________

I can connect with iACS SSH Terminal to my IBM i. VS code fails
immediately.

I've placed the key in my home/user/.ssh, added it authorized.keys, code
page 437. I have all authorizations turned on for that file now.

Are there any logs I can look at on IBM i? Copilot offered to analyze my
vs code logs and showed these errors:

-What happened?
The SSH connection was established and you were prompted for a password.
Authentication succeeded, but after the "ready" message, the connection
hung and timed out after about 17 seconds.

I don't think I should be prompted for a password. The customer box is
V7R3. I'm off to check if any PTF's required.

Any suggestions appreciated.

Thank you, Art
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list To post a message email:MIDRANGE-L@xxxxxxxxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit:https://lists.midrange.com/mailman/listinfo/midrange-l
or email:MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives athttps://
archive.midrange.com/midrange-l.

Please contactsupport@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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

This mailing list archive is Copyright 1997-2025 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.