- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ssh password less login
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
тАО03-30-2010 02:46 AM
тАО03-30-2010 02:46 AM
I need to login to the remote unix machine with out password.
for thet i did:
$ssh-keygen -t rsa
is crested the id.rsa and id.rsa.pub
Then i copyed the .pub file to my local unix server in my login profile as .ssh/authorized_keys
now i tried to connect the server auser@hostname using.
ssh user@hosta
suggest me to do the correct setting
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2010 03:08 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2010 03:36 AM
тАО03-30-2010 03:36 AM
Re: ssh password less login
cat .ssh/id_dsa.pub | ssh username@xx.xx.xx.xx 'cat >> .ssh/authorized_keys'
in that
username@xx.xx.xx.xx is for which host same host ip or the client host ip need to use?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-31-2010 01:46 AM
тАО03-31-2010 01:46 AM
Re: ssh password less login
My requirement is.
I want to login from all users of server B and server C to the the server A's user X.
Where i have to generate the key and how do i store the password of server A's user X , and how can i login from server b and c with out password.
Thanks,
Harikrishnan.L
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-31-2010 07:44 AM
тАО03-31-2010 07:44 AM
Re: ssh password less login
Could you pls be more specific on how you want to login.
Thanks
Ravi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-31-2010 08:22 AM
тАО03-31-2010 08:22 AM
Re: ssh password less login
... about _everything_?
> [...] the remote unix machine [...]
What, exactly, is "the remote unix machine"?
uname -a
> I want to login from all users of server B
> and server C to the the server A's user X.
What are the client systems ("server B" and
"server C")?
> Where i have to generate the key [...]
With some exceptions, no one cares where you
generate the keys. Who does what where
depends on who is trying to keep what secret
from whom. Normally, the client makes the
keys, keeps the private key data, and sends
the public key data to the server. But, if
you don't care who sees what, then you could
make all the keys anywhere, and copy
everything to where it is needed.
> now i tried to connect the server
> auser@hostname using.
> [...]
And what, exactly, happened when you did
that?
Normally, adding "-v" (or "-vv", or "-vvv")
to an "ssh" command will provide some useful
diagnostic messages.
A Forum search should find many old threads
where practically all of this has been
explained many times. "man ssh" may also
have some value.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-31-2010 09:32 AM
тАО03-31-2010 09:32 AM
Re: ssh password less login
I think this will help
Regards,
Sooraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-31-2010 05:38 PM
тАО03-31-2010 05:38 PM
Re: ssh password less login
I like this procedure:
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
тАО03-31-2010 08:52 PM
тАО03-31-2010 08:52 PM
Re: ssh password less login
In order to set up ssh to only accept login by public key and not interactive login, the following changes are needed to sshd_config
PermitRootLogin without-password
Change: (remove the # and save the file)
#PubkeyAuthentication yes
to
PubkeyAuthentication yes
You must restart the sshd daemon next to implement:
hp-ux(HP may change this with no notice):
/sbin/init.d/secsh stop
/sbin/init.d/secsh start
Make sure you have placed a public key file from a system you want to login and tested it first or your access will be console, hands on the keyboard only. That can be a big problem on remote systems.
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-31-2010 09:33 PM
тАО03-31-2010 09:33 PM
Re: ssh password less login
Find attached file will help you,
Chandra