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 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.