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 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.