SSH Exiting Upon Connection to Remote Server

T

tuxms

Guest
Via linux command line, I'm trying to connect (actually stay connected) to a remote server with this command:

ssh -l <username> <remote server IP>

It connects, but right away it closes the connection. "Connection to <remote server IP> closed."

<username> is a user account on both the local and the remote server. <username> is not root.

I've logged in remotely to this server with Putty on a Windows computer. So, ssh does work to login to this remote host through Putty and with the same <username>.

Does anyone know the issue here, I've searched around, but couldn't find a solution that works.

Thanks.
 


OP
T

tuxms

Guest
Nevermind, I figured it out. The username I was using was changed.

The above issue has been solved.
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Linux.org Hosting Donations
Consider making a donation

Members online


Top