1748011 Members
4671 Online
108757 Solutions
New Discussion юеВ

Re: SSH problem

 
Michael Selvesteen_2
Trusted Contributor

Re: SSH problem

Hello,

Check the following;

1. Did the user x1234 exists in the server
2. Whether password is expired
3. A deliberate analysis of server and clinet debug messages can sort out the problem

Try ssh with debug enabled

client:
ssh -vvv

Server:
/opt/ssh/sbin/sshd -e -ddd

Hope this helps.

--
M



Fred Ruffet
Honored Contributor

Re: SSH problem

I have never used HP's SSH package, but openSSH. When I install, I use to reconfigure ssh_config and sshd_config, and generate keys. Did you went into that process ?
Also, check permissions on your .ssh directories and files in it.

Regards,

Fred
--

"Reality is just a point of view." (P. K. D.)
Mike_305
Super Advisor

Re: SSH problem

Hi,

On the system when I am root it works fine but as a user I get the followin error.

*******************************************
permanently_set_uid: was able to restore old [e]gid
*******************************************

I have also check the different site for information and this error is reported as a bug but no one has the fix on HP-UX.

Where are all the SSH guru's.

THX - Mike
If there is problem then don't think as problem, think as opportunity.
Chris Vail
Honored Contributor

Re: SSH problem

Hi Mike!
Did you re-run "ssh-keygen -t dsa" after you re-installed ssh? I'd also look carefully at the permission settings of ~ and ~/.ssh. Ensure that both systems are running the same version of ssh, and that you're exchanging the same kind of keys.

Chris
Mike_305
Super Advisor

Re: SSH problem

Hi Chris,

The issue is that as a root user it is working but as a non root user with uid of "0" and different gid it's not working. For your 2nd question the SSH server is Linux server and SSH client is HP client running T1471AA version of Secure Shell.

Thanks,

Mike
If there is problem then don't think as problem, think as opportunity.
Michael Selvesteen_2
Trusted Contributor

Re: SSH problem

Hello,

This may be an SSH internal problem,

Following may help...

Try to setuid the ssh binaries,

-rwsr-sr-x 1 bin bin 1314816 Dec 2 17:26 /opt/ssh/PA-RISC2.0/bin/ssh

or

-rwsr-sr-x 1 bin bin 1314816 Dec 2 17:26 /opt/ssh/bin/ssh

All the best.

--
M


Mike_305
Super Advisor

Re: SSH problem

Hi Guys,

The way we resolve the below error with SSH is;

*********************************************
ERROR: permanently_set_uid: was able to restore old [e]gid
*********************************************

is by going back to older version SSH, see information below;

********************************************
#ssh -V
OpenSSH_3.6.1p2, SSH protocols 1.5/2.0, OpenSSL 0x0090702f
********************************************

Thanks,

Mike
If there is problem then don't think as problem, think as opportunity.
Mike_305
Super Advisor

Re: SSH problem

Hi Guys,

The way we resolve the below error with SSH is;

*********************************************
ERROR: permanently_set_uid: was able to restore old [e]gid
*********************************************

is by going back to older version SSH, see information below;

********************************************
#ssh -V
OpenSSH_3.6.1p2, SSH protocols 1.5/2.0, OpenSSL 0x0090702f
********************************************

Thanks,

Mike
If there is problem then don't think as problem, think as opportunity.