Seiden Group
PHP, Python, Node & RPG on IBM i
  • Link to LinkedIn
  • Link to Mail
  • Home
  • Development
  • Seiden PHP
    • Seiden PHP >
      • Success Stories
      • Free PHP Assessment
      • Zend Basic Migrations
      • Trusted by ISVs
    • Install & Learn
    • Support
    • Documentation
    • What’s New (Changelog)
  • Open Source Services
    • Setup & Upgrades
    • SmartSupport >
      • Customer Success Stories
    • SSL/TLS Install & Learn
    • Development
    • Training
    • Performance
    • Open Source Docs Library
  • VS Code for i
    • Code for i SmartSupport
    • RDi Migration
    • 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
  • Seiden PHP+
  • VS Code for i
  • Web development
Search Search

Recent Posts

  • Scott Forstie’s Wish
  • Alan Seiden Hosts IT Leadership Summit at POWERUp 2025
  • Release Levels for IBM i Services (SQL)
  • VS Code for IBM i: SELECT Statement [VIDEO]
  • Physical File GREP (PFGREP): Fast IBM i Source Code Search
  • New QSHONI Commands for SQL and IFS on IBM i
  • VS Code for IBM i: Profiles [Video]
  • New QSHONI Commands: Integrate Python, PHP, Java with CL & RPG
  • Compare Source Between Two Partitions using VS Code for IBM i
  • VS Code for IBM i: Filters [Video]

Recent Comments

  • Calvin Buckley on Physical File GREP (PFGREP): Fast IBM i Source Code Search
  • shahar mor on Physical File GREP (PFGREP): Fast IBM i Source Code Search
  • Cuong on Calling procedures and service programs with the PHP Toolkit for IBM i
  • Alan Seiden on Calling procedures and service programs with the PHP Toolkit for IBM i
  • Cuong on Calling procedures and service programs with the PHP Toolkit for IBM i

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