Threat level definition
Search:
Home
Bugtraq
Vulnerabilities
Mailing Lists
Jobs
Tools
Vista
News
Infocus
Foundations
Microsoft
Unix
IDS
Incidents
Virus
Pen-Test
Firewalls
Columnists
Mailing Lists
Newsletters
Bugtraq
Focus on IDS
Focus on Linux
Focus on Microsoft
Forensics
Pen-test
Security Basics
Vuln Dev
Vulnerabilities
Jobs
Job Opportunities
Resumes
Job Seekers
Employers
Tools
RSS
News
Vulns
Security Research
Secure Shell
Back to list
|
Post reply
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
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 ]