The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
"find command" to find the files in the current directories but not in the "subdir" swamymns Shell Programming and Scripting 9 07-22-2008 08:23 AM
Development Releases: Linux Mint 4.0 Beta "Fluxbox", 4.0 Alpha "Debian" iBot UNIX and Linux RSS News 0 01-04-2008 12:00 PM
Explain the line "mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`" Lokesha UNIX for Dummies Questions & Answers 4 12-19-2007 10:52 PM
Unix "at" / "Cron" Command New Problem...Need help Mohanraj UNIX for Dummies Questions & Answers 3 01-26-2006 05:08 PM
Commands on Digital Unix equivalent to for "top" and "sar" on other Unix flavour sameerdes UNIX for Advanced & Expert Users 1 08-28-2002 05:41 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 10-03-2008
Registered User
 

Join Date: Oct 2008
Posts: 1
Equivalent of ftp's "quot" command in SFTP

Hi All,

How do we execute remote os commands using sftp?

FTP has a command called "quot". But, I would like to know the equivalent of that in SFTP.

Awaiting your reply,

Thanks in Advance,
Jack.
Reply With Quote
Forum Sponsor
  #2  
Old 10-04-2008
...@...
 

Join Date: Feb 2004
Location: NM
Posts: 4,298
There really is nothing. The ! command runs a local script.
sftp runs adn ftp-like program inside ssh. You could write a script:
1. scp localfile remotefile remotehost
2. ssh "single command to execute on remote box" remotehost

scp copies files, ssh lets you execute remote commands.
Both of these would require key exchange to allow automatic authentication.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Tags
quot, sftp

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 10:11 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0