- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- SSH problem
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-01-2005 08:49 AM
01-01-2005 08:49 AM
SSH problem
I have removed the old version of SSH and reinstall HP version of SSH (T1477), and after the install I ran the following command and it fails. Any idea.
Command ran - ssh -l x1234 aaaa.yyyyyyot.com
ERROR - permanently_set_uid: was able to restore old [e]gid
su - to root work OK.
Happy New Year.
Thanks,
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-01-2005 03:19 PM
01-01-2005 03:19 PM
Re: SSH problem
1) What are you trying to accomplish,ssh and su at the same time?
2) What is the current version of ssh/secure shell?
swlist -l product | grep -i secure
My guess here is that there is a problem with ssh functionality with normal users but not root.
You may need to generate and exchange public keys again.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2005 10:06 AM
01-02-2005 10:06 AM
Re: SSH problem
also try:
ssh -v -l x1234 aaaa.yyyyyyot.com
It might give you more information about what its complaining about. If -v doesn't, try -vv and -vvv (different levels of verbosity).
Regards
Col.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2005 10:36 AM
01-02-2005 10:36 AM
Re: SSH problem
I'm wondering if it is having a problem getting the info it needs from these files.
Col
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2005 02:09 PM
01-02-2005 02:09 PM
Re: SSH problem
The version that I using is
A.03.91.002 for
HP-UX_B11.11 and product id is T1471AA.
What I am tying to find out is the error that I getting. I have search the ITRC site and I can find similar error on forums or knowledge base
Thanks,
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2005 02:58 PM
01-02-2005 02:58 PM
Re: SSH problem
Following may help...
1. login as root
2. Issue "newgrp sys"
3. Try SSH again.
Refer for more info
http://www.webservertalk.com/archive94-2004-8-362786.html
Still have problem:
Post your detailed server and client debug messages.
--
M
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2005 06:45 PM
01-02-2005 06:45 PM
Re: SSH problem
ssh -v x1234@aaaa.yyyyyyot.com
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2005 06:49 AM
01-03-2005 06:49 AM
Re: SSH problem
I am running the following command
ssh -l x1234 aaaa.yyyyyyot.com
And below is the error that I am getting.
permanently_set_uid: was able to restore old [e]gid
Thanks,
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2005 08:27 AM
01-03-2005 08:27 AM
Re: SSH problem
Before when I ran the following command
ssh -l x1234 aaaa.yyyyyyot.com
I got the error below
permanently_set_uid: was able to restore old [e]gid
NOW I am getting the error below;
any idea
Permission denied (publickey,password,keyboard-interactive).
Thanks,
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2005 08:39 AM
01-03-2005 08:39 AM
Re: SSH problem
http://www.derkeiler.com/Mailing-Lists/securityfocus/Secure_Shell/2003-05/0087.html
or
http://lists.netsys.com/pipermail/full-disclosure/2003-May/004838.html
hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2005 08:32 PM
01-03-2005 08:32 PM
Re: SSH problem
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
Server:
/opt/ssh/sbin/sshd -e -ddd
Hope this helps.
--
M
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2005 10:04 PM
01-03-2005 10:04 PM
Re: SSH problem
Also, check permissions on your .ssh directories and files in it.
Regards,
Fred
"Reality is just a point of view." (P. K. D.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2005 06:46 AM
01-05-2005 06:46 AM
Re: SSH problem
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2005 09:37 AM
01-05-2005 09:37 AM
Re: SSH problem
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2005 09:56 AM
01-05-2005 09:56 AM
Re: SSH problem
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2005 03:01 PM
01-05-2005 03:01 PM
Re: SSH problem
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2005 11:22 AM
01-06-2005 11:22 AM
Re: SSH problem
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2005 11:23 AM
01-06-2005 11:23 AM
Re: SSH problem
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