Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Remove run from PC on openSSH

Status
Not open for further replies.

shine67

Programmer
Jan 11, 2002
41
US
Hi,

for instance, we have a bunch of *.bat files on pc which invokes processes on unix server. One simple example is

rsh unixServer -l userId -n ls

lists all the files in the 'userId's home directory. Now they will disable rsh and only allow secure login. I replace 'rsh' with 'ssh' on pc but it doesn't recognize the command. What should I do? Is it ever possible to remote run?

Thanks,
Shine
 
Hi,

have you read ssh manual page? Try get rid of -n option.

ssh unixServer -l userId ls


dbase77
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top