Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

RE: Running a user command instead of shell in sshd

From: Anurag Bhatia <Anuragb(at)ami.com>
Date: Mon Jun 16 2003 - 09:43:41 EDT


Hi,
I know that if the command name is given while contacting server, it's executed on server.
What if I don't want to specify any command name when running ssh? I just want to do "ssh <IP>" and instead of running shell, a command is excuted on server.
Any links????
Regards,
Anurag

-----Original Message-----
From: Sumit Malhotra [mailto:smalhotra@burgundyinfotech.com] Sent: Monday, June 16, 2003 1:53 AM
To: Anurag Bhatia; SSH list
Subject: RE: Running a user command instead of shell in sshd

Hi anurag ,

The ssh syntax is this :

ssh username@<machine name of IP> <command to be exceuted at the remote end>

If the command is not given it request for shell.

-regards,
Sumit

-----Original Message-----
From: Atanas Dimitrov [mailto:atanas_dimitrov@bobcat.gcsu.edu] Sent: Saturday, June 14, 2003 10:23 AM
To: Anurag Bhatia; SSH list
Subject: Re: Running a user command instead of shell in sshd

Do you need help?X

It is refering to an actual scenario when "the client either requests a shell or execution of a command" The case when the client is requesting ae execution command is specified by
the client so you should be using "man ssh" for more info on this feature
which is the encrypted version of the rsh remote commmand execution.

:-)

On Friday 13 June 2003 05:33 pm, Anurag Bhatia wrote:
> Hi all,
login
> process is successsful.
Received on Mon Jun 16 11:55:13 2003

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:02:59 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library