Results 1 to 2 of 2
Thread: SSH issues with a remote server
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Apr 2009
SSH issues with a remote server
I am trying to SSH onto a remote server and execute a command on it. if i do it in two steps, 1st step for simple ssh and as a second step executing the actual command on the machine, it all works fine.
But if i try to do it one line as follows:
<<<<< ssh -l user 10.127.67.36 "show sip invite" >>>>>>>>>
It does not work and i receive the following message after i enter the password:
Received disconnect from 10.127.67.36: 11: Logged out
Please suggest, what could be the issue here.
Thanks in advance.
Syntax for running command on a remote host:
ssh [USER-NAME]@[REMOTE-HOST] [command or script]
The adventure of a life time.
Linux User #296285