Search: Home Bugtraq Vulnerabilities Mailing Lists Jobs Tools Vista
Secure Shell
RE: sftp after upload Sep 24 2008 06:23PM
Tim Evans (tkevans tkevans com)

Eli Shemer wrote:
> If I am to implement it, It'd better be automatic and transparent to the
> user. I'm talking server side here.

You might batch 'scp' (upload) and 'ssh' (run your desired commands). At
the UNIX command line, something like:

scp foo nyname (at) bar (dot) com [email concealed];ssh -l myname bar.com "my-command"
--
Tim Evans, TKEvans.com, Inc. | 5 Chestnut Court
UNIX System Admin Consulting | Owings Mills, MD 21117
http://www.tkevans.com/ | 443-394-3864
http://www.come-here.com/News/ | tkevans (at) tkevans (dot) com [email concealed]

[ reply ]







 

Privacy Statement
Copyright 2008, SecurityFocus