Zend Studio displays a message similar to this:
Failed to connect sshd on "<some ip address>"
Any version of Zend Studio connecting to IBM i 6.1 or higher.
A failure to connect to SSH on the IBM i partition may mean you need to start or restart SSH. Please see this article for details:
Another reason the connection may fail is a user ID or password that is more than 8 characters long. This is related to a limit in PASE. This limit can be changed by setting up a configuration file. For V6R1 and 7.1 a PTF is required before the configuration settings will work.
For V6R1: SI43594
For 7.1: SI43709
After the PTF is applied, or if you have 7.2 and don't need the PTF, here is how to set up the configuration file.
Logged in as QSECOFR or a *SECOFR class user, use this command to enter the PASE shell:
Change to the directory where the configuration file is located. This location is different for each version of IBM i.
If you have V6R1:
If you have 7.1:
If you have 7.2:
Display the current contents of the sshd_config file:
The contents will take up several pages, use page up to scroll back through the file. Check for this line of code:
If it is present, you do not need to add it. You are done. If it is not present, add it with this command (be very careful to use this exact command):
echo 'ibmpaseforienv PASE_USRGRP_LIMITED=N' >> sshd_config
You should copy and paste the command. You especially do not want to use only one greater than sign, as this will replace your configuration file with the single line of code.
Verify that your line of code went in:
The last line of the config file should now be this:
Use F3 to exit the PASE shell. Restart SSH for the change to take effect. This article can help:
You should now be able to log in to SSH with a user ID or password longer than 8 characters.