- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ssh & sftp is not working for the particular a...
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
тАО08-06-2009 01:00 AM
тАО08-06-2009 01:00 AM
ssh & sftp is not working for the particular account with out pw
I have configured the ssh authorization properly. the criteria is i am making ssh from hp-ux box to AIX box that to form different account. When i try as mentioned below is prompting for passwd.
account1#ssh account2@server1
account2@server1 password:
and i find the below bug
=============================
debug2: key: /home/wedbprod/.ssh/hrwedb (00000000)
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug3: start over, passed a different list publickey,password,keyboard-interactive
debug3: preferred publickey,keyboard-interactive,password
debug3: authmethod_lookup publickey
debug3: remaining preferred: keyboard-interactive,password
debug3: authmethod_is_enabled publickey
debug1: Next authentication method: publickey
debug1: Offering public key: /home/wedbprod/.ssh/agilent
debug3: send_pubkey_test
debug2: we sent a publickey packet, wait for reply
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: Offering public key: /home/wedbprod/.ssh/wedbsftp
debug3: send_pubkey_test
debug2: we sent a publickey packet, wait for reply
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: Trying private key: /home/wedbprod/.ssh/hrwedb
debug1: read PEM private key done: type RSA
debug3: sign_and_send_pubkey
debug2: we sent a publickey packet, wait for reply
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug2: we did not send a packet, disable method
debug3: authmethod_lookup keyboard-interactive
debug3: remaining preferred: password
debug3: authmethod_is_enabled keyboard-interactive
debug1: Next authentication method: keyboard-interactive
debug2: userauth_kbdint
debug2: we sent a keyboard-interactive packet, wait for reply
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug3: userauth_kbdint: disable: no info_req_seen
debug2: we did not send a packet, disable method
debug3: authmethod_lookup password
debug3: remaining preferred:
debug3: authmethod_is_enabled password
debug1: Next authentication method: password
==============================
Kindly check and advise me..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2009 01:14 AM
тАО08-06-2009 01:14 AM
Re: ssh & sftp is not working for the particular account with out pw
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2009 01:27 AM
тАО08-06-2009 01:27 AM
Re: ssh & sftp is not working for the particular account with out pw
But the same thing i have checked fro other account it working...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2009 03:54 AM
тАО08-06-2009 03:54 AM
Re: ssh & sftp is not working for the particular account with out pw
> debug1: Offering public key: /home/wedbprod/.ssh/wedbsftp
> debug1: Trying private key: /home/wedbprod/.ssh/hrwedb
It seems to be sending every key it can find,
with no success.
> [...] fro other account it working...
And what does "ssh -v [...]" tell you there?
(I assume that that's how you got the "debug"
output shown above.)
If this stuff works from one account but not
another, then I'd guess that there are
differences in the "~/.ssh" directories for
the two accounts.
As usual, it might help to see the actual
commands used, and their actual output.
Hiding details ("account1", "server1", [...])
is not helpful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2009 04:17 AM
тАО08-06-2009 04:17 AM
Re: ssh & sftp is not working for the particular account with out pw
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2009 04:34 AM
тАО08-06-2009 04:34 AM
Re: ssh & sftp is not working for the particular account with out pw
Did you read this?
http://www.hpux.ws/?p=10
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
тАО08-07-2009 02:03 AM
тАО08-07-2009 02:03 AM
Re: ssh & sftp is not working for the particular account with out pw
client$ ssh-keygen ├в t rsa
Keep a blank passphrase.
Public (id_rsa.pub) and private (id_rsa) keys are generated in a directory called '.ssh'in user's home directory.
client$ ll ~/.ssh/id_rsa.pub
2. Copy the client├в s id_rsa.pub public key file to the SSH server.
3. Create a ~/.ssh/authorized_keys file on the server to store clients├в public keys:
server$ touch ~/.ssh/authorized_keys
server$ chown user ~/.ssh/authorized_keys
server$ chmod 644 ~/.ssh/authorized_keys
4. Append authorized client├в s public key to the user├в s authorized_keys on the server:
server$cat id_rsa.pub >>~/.ssh/authorized_keys
5. Test the client/user authentication
client$ ssh -v user1@myserver
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-07-2009 07:30 AM
тАО08-07-2009 07:30 AM
Re: ssh & sftp is not working for the particular account with out pw
/usr/sbin/sshd -ddd -p
then on the hp side, attempt the login again. you will have to specify the same port as used above, as in:
ssh -p
this should allow you to get debugging on the server side without interfering with everyone else's logins