Seiden Group
Modern Development & Open Source for IBM i
  • Link to LinkedIn
  • Link to Mail
  • Home
  • Seiden PHP+
    • Seiden PHP+
    • Install & Learn
    • SmartSupport
    • PHP Migrations & Upgrades
    • Success Stories
    • Free PHP Assessment
    • Documentation
    • What’s New (Changelog)
  • IBM i Services
    • Development
    • Training & Mentoring
    • Open Source Setup & Upgrades
    • SSL/TLS Install & Learn
    • Performance
  • Support
    • Open Source & PHP
    • VS Code for i
    • Developer Support
    • Support Success Stories
  • VS Code for i
    • Support
    • Training
    • Code for i Resource Guide
    • Getting Started Videos
    • Code for IBM i Fridays
  • Free Stuff
    • IBM i Strategy & Tips
    • PHP Upgrade Assessment
    • CNX Valence Assessment
    • VS Code for IBM i Resources
    • Code for IBM i Fridays
    • QCachegrind Download
    • PHP Toolkit for IBM i Resources
    • Qshell on i Library
  • Blog
  • About
    • About Our Team
    • About Alan Seiden
    • Speakers & Sessions
    • In the News
    • Events >
      • Upcoming Presentations
      • CIO Summit
  • Contact
  • 201.447.2437
  • Search
  • Menu Menu

Tag Archive for: user profile

Alan Seiden

Overcome SSH ‘Permission denied’ for long IBM i user profiles

February 6, 2015/4 Comments/in IBM i, PHP /by Alan Seiden

[UPDATED May 2023]

In IBM i releases before 7.4, IBM i’s Secure Shell (SSH) rejected connection attempts with user profile names longer than eight (8) characters. The error message can vary, but may be similar to “Permission denied, please try again” or “Failed to connect sshd.”

For those older releases (7.3 and earlier), you can allow user profiles longer than 8 characters by editing the file:
/QOpenSys/QIBM/UserData/SC1/OpenSSH/etc/sshd_config
and adding a new line containing the string:
ibmpaseforienv PASE_USRGRP_LIMITED=N

To apply your changes, end and then start the SSH server, like so:

1
2
ENDTCPSVR SERVER(*SSHD)
STRTCPSVR SERVER(*SSHD)

An alternative is to set the variable system-wide, to allow other PASE processes to use the improvement:

1
ADDENVVAR ENVVAR(PASE_USRGRP_LIMITED) VALUE('N') LEVEL(*SYS)

For more details about configuring SSH, see How to Configure and Use SSH on IBM i.

https://www.seidengroup.com/wp-content/uploads/2017/03/SeidenLogo-180.png 0 0 Alan Seiden https://www.seidengroup.com/wp-content/uploads/2017/03/SeidenLogo-180.png Alan Seiden2015-02-06 23:59:412024-11-14 16:01:34Overcome SSH ‘Permission denied’ for long IBM i user profiles
SUBSCRIBE
Open Thinking
Monthly IBM i Strategy & Tips
  • This field is for validation purposes and should be left unchanged.

Categories

  • Apache
  • API & Web Security
  • APIs & Web Services
  • CIO Strategy
  • Db2 for i
  • Git
  • IBM i
  • News & Events
  • Node.js
  • ODBC
  • Open Source
  • Performance
  • PHP
  • Python
  • RPG
  • Security
  • Seiden PHP+
  • VS Code for i
  • Web development
Search Search

Recent Posts

  • GnuPG PHP Extension for IBM i: Now Included with Seiden Support
  • Getting Started with Code for IBM i: A Lunch & Learn Video
  • Seiden PHP+ Delivers PHP 8.5 to IBM i
  • Keep Your PHP Secure: Why Regular Updates Matter
  • What the Shai-Hulud npm Worm Means for Node.js Developers
  • Ransomware Lessons from Brussels Airport and IBM i
  • A New Generation Shapes the Future of IBM i
  • When Your IBM i Email Delivery Fails with Office 365 or Gmail
  • Mapepire Q&A
  • Seiden Group Now Supports Mapepire for Node.js and Db2 for IBM i Connectivity

Recent Comments

  • Amy Lantz on Debug RPGLE and COBOL with VS Code for IBM i
  • Jonathan R Bolton on Debug RPGLE and COBOL with VS Code for IBM i
  • Alan Seiden on Use IBM’s Apache Directive Finder Instead of Google
  • stefan tageson on Use IBM’s Apache Directive Finder Instead of Google
  • Alan Seiden on Use IBM’s Apache Directive Finder Instead of Google

SEIDEN GROUP: PHP, PYTHON, NODE & RPG on IBM i

Home   |   Seiden PHP+   |   Support   |   Development   |   Open Source Services   |   Free Stuff   |   Blog  |   Privacy Policy  |   Contact         201.447.2437

© 2025 Seiden Group, LLC
  • Link to LinkedIn
  • Link to Mail
Scroll to top Scroll to top Scroll to top