![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | 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 and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| 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 11: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 05:27 AM |
| shell script extended usage... | joerg535 | UNIX for Dummies Questions & Answers | 1 | 08-24-2007 11:02 AM |
| time command usage in sh script | kris_search | Shell Programming and Scripting | 7 | 03-09-2007 02:40 PM |
| Monitor CPU usage and Memory Usage | Gajanad Bihani | High Level Programming | 2 | 03-09-2005 07:35 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | 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 :-( |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|