I have ssh access to other Suse box and I want to list particular directory on the suse box. It will be done from other suse box. I will run this from php later on.
Is something like that possible?
|
I have ssh access to other Suse box and I want to list particular directory on the suse box. It will be done from other suse box. I will run this from php later on. Is something like that possible? |
|||
|
|
|
You can have
If you have key based authentication setup this can be done without entering a password. However parsing the output of |
|||||||||||||||||
|
|
Yes, it is possible. SSH clients usually take an optional argument to specify a command to execute. For instance:
|
||||
|
|