- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- Tru64 - root cannot connect after install OpenSSH
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
Discussions
Discussions
Forums
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
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
тАО02-17-2009 01:39 PM
тАО02-17-2009 01:39 PM
Tru64 - root cannot connect after install OpenSSH
STEP 1
./configure -with-zlib=/opt/TWWfsw/zlib11/include without -with-pam
STEP 2
make
STEP 3
make tests
STEP 4
make install
STEP 5 - Overwrite HP SSH to OpenSSH
/sbin/init.d/sshd stop
mv /sbin/init.d/sshd /sbin/init.d/sshd.old_20090217
ln -s /usr/local/sbin/sshd /sbin/init.d/sshd
/sbin/init.d/sshd -f /usr/local/etc/sshd_config
mv /usr/bin/ssh /usr/bin/ssh.old_20090217
ln -s /usr/local/bin/ssh /usr/bin/ssh
STEP 6 - Login with root
login as: root
Sent username "root"
root@10.20.140.9's password:
WARNING: Your password has expired.
You must change your password now and login again!
Changing password for root.
New password:
Retype new password:
After change the password, the screen closed and cannot logon.
The test with other user logon normally (not superuser).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2009 01:41 PM
тАО02-17-2009 01:41 PM
Re: Tru64 - root cannot connect after install OpenSSH
STEP 1
./configure -with-zlib=/opt/TWWfsw/zlib11/include
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2009 02:45 PM
тАО02-17-2009 02:45 PM
Re: Tru64 - root cannot connect after install OpenSSH
> login as: root
Actual command? (Executed where?)
> [...] the screen closed [...]
What screen? You may know what you're doing,
but we non-psychics can't see it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2009 05:27 PM
тАО02-17-2009 05:27 PM
Re: Tru64 - root cannot connect after install OpenSSH
in sshd_config ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2009 04:13 AM
тАО02-18-2009 04:13 AM
Re: Tru64 - root cannot connect after install OpenSSH
PermitRootLogin yes
PasswordAuthentication yes
ChallengeResponseAuthentication yes
UsePrivilegeSeparation no
Steven, if you cannot help me or other people... not interfere, ok?!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2009 08:04 AM
тАО02-18-2009 08:04 AM
Re: Tru64 - root cannot connect after install OpenSSH
> people... not interfere, ok?!
Don't worry. With no useful information, I
won't be able to interfere much.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2009 12:40 PM
тАО02-18-2009 12:40 PM
Re: Tru64 - root cannot connect after install OpenSSH
# ssh -v 10.20.140.9
OpenSSH_5.1p1, OpenSSL 0.9.7d 17 Mar 2004
debug1: Reading configuration data /usr/local/etc/ssh_config
debug1: Connecting to 10.20.140.9 [10.20.140.9] port 22.
debug1: Connection established.
debug1: permanently_set_uid: 0/1
debug1: identity file /.ssh/identity type -1
debug1: identity file /.ssh/id_rsa type -1
debug1: identity file /.ssh/id_dsa type -1
debug1: Remote protocol version 1.99, remote software version OpenSSH_5.1
debug1: match: OpenSSH_5.1 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.1
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host '10.20.140.9' is known and matches the RSA host key.
debug1: Found key in /.ssh/known_hosts:1
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: Next authentication method: publickey
debug1: Trying private key: /.ssh/identity
debug1: Trying private key: /.ssh/id_rsa
debug1: Trying private key: /.ssh/id_dsa
debug1: Next authentication method: keyboard-interactive
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: Next authentication method: password
root@10.20.140.9's password:
debug1: Authentication succeeded (password).
debug1: channel 0: new [client-session]
debug1: Requesting no-more-sessions@openssh.com
debug1: Entering interactive session.
WARNING: Your password has expired.
You must change your password now and login again!
Changing password for root.
New password:
Retype new password:
Hashed database not in use, only /etc/passwd text file updated.
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
debug1: client_input_channel_req: channel 0 rtype eow@openssh.com reply 0
debug1: channel 0: free: client-session, nchannels 1
Connection to 10.20.140.9 closed.
Transferred: sent 2320, received 2760 bytes, in 5.7 seconds
Bytes per second: sent 405.1, received 481.9
debug1: Exit status 0
Any idea?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2009 05:02 PM
тАО02-19-2009 05:02 PM
Re: Tru64 - root cannot connect after install OpenSSH
My suspicion would be that your sshd_config file has an option which disallows root access - such as PermitRootLogin or something.
We normally dont allow root to ssh directly - unless for specific file transfer (but tend to create accounts for that too).
We usually ssh into unprivilged account and then su or sudo into root. This was it is logged in a team environment.
Robert.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2009 05:56 AM
тАО02-20-2009 05:56 AM
Re: Tru64 - root cannot connect after install OpenSSH
If the option "PermitRootLogin" is set do "no", after input name "root" the screen generate message "access denied" and cannot appear line to input password.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-21-2009 05:04 AM
тАО02-21-2009 05:04 AM
Re: Tru64 - root cannot connect after install OpenSSH
You don't have securettys file access deny remote root login ?
http://nixdoc.net/man-pages/Tru64/securettys.4.html
I don't think so, since Tru64 seems to ask for password change.
It asks for password every time you login and change it ?
Strange !!!
If you can, you should try to connect on the local server.
Or try to connect with telnet.
Maybe your root account has a wrong login shell, home, ... or other settings.
You can put wonderful limitations to accounts on Tru64.