sshing and automatically calling command problem
From: hilbert (coridan.1_at_osu.edu)
Date: 09/25/03
- Next message: Graham Vincent: "openssh-3.7.1p2 "Nasty PTR record""
- Previous message: Chris Mattern: "Re: Command line"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 25 Sep 2003 12:12:50 -0700
Hi--
I'm trying to ssh from a windows computer to a linux computer with a
command-line command like this:
ssh -l "user-name" "linux-machine-ip" "command"
where "command" = a single command that I would like to run on the
linux machine and then ssh is to exit. However, the command I would
like to run requires itself to run in a terminal (I have set this
command up so that it does what I want it to and exits w/o prompt or
user intervention). The form of the ssh call above works for simple
things like "cp", "mv", etc., but is there any way to trick these
commands into believing that they are being called from a terminal? I
don't really know how ssh does this, but if anyone can help me, that
would be great.
Thanks,
R
- Next message: Graham Vincent: "openssh-3.7.1p2 "Nasty PTR record""
- Previous message: Chris Mattern: "Re: Command line"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|