![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| 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 !! |
|
|
||||
| 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 |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#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. |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
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. |
|||
| Google The UNIX and Linux Forums |