![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how do i get current bandwidth usage via shell script? | scarfake | Shell Programming and Scripting | 2 | 05-25-2008 07:27 PM |
| shell script to send email with usage of space in the directory as description : | sakthifire | Shell Programming and Scripting | 3 | 04-18-2008 01:27 AM |
| shell script extended usage... | joerg535 | UNIX for Dummies Questions & Answers | 1 | 08-24-2007 07:02 AM |
| time command usage in sh script | kris_search | Shell Programming and Scripting | 7 | 03-09-2007 10:40 AM |
| Monitor CPU usage and Memory Usage | Gajanad Bihani | High Level Programming | 2 | 03-09-2005 03:35 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
SSH usage in a script
I have configured ssh to a remote server without prompting for a password with the help of public keys...but now i am not able to execute any commands through a script
what i want is a one line script which takes me directly into /var directory after executing it...searched the entire forum but couldnt find a solution to this prob... i have tried... ssh username@hostname "cd /var" ssh username@hostname [cd /var] ssh username@hostname ; cd /var ssh username@hostname | cd /var nothing seems to work :-( |
| Forum Sponsor | ||
|
|