hai am new to linux.i like to learn from this forum

How to connect to remote host without logging in to another user?(Note:without the connection of ssh)

i tried only using the following commands ssh

What you are trying to do is called "single sign-on". It requires that both systems are running a service such as OpenLDAP or YP (Yellow Pages), with one of them being the server that will store the passwords and perform login authentication.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.