FreeBSD ssh with wildcards



Hi,

I'm on FreeBSD 4.3 and I'm running into what seems like strange behavior with ssh.

When I do

   ssh remotemachine ls /path/to/dir

it returns a list of .html files as I expect.

When I do

   ssh remotemachine ls /path/to/dir/*.html

it says

   ls: /path/to/dir/*.html: No such file or directory

When I run it with the -v flag I see the command being sent properly with no forced command.

I tried escaping the * just in case it was trying to expand locally, but that didn't help.


Any idea what's going on? Am I missing something obvious?

Thanks,
Dave
.



Relevant Pages

  • Re: FreeBSD ssh with wildcards
    ... I'm on FreeBSD 4.3 and I'm running into what seems like strange behavior with ssh. ... When I run it with the -v flag I see the command being sent properly with no forced command. ...
    (comp.unix.questions)
  • Re: Forgot to put old_rootvg to sleep before reboot - How to Wake
    ... Performs operations on existing alternate rootvg volume groups. ... To rename Alternate Disk Volume Group: ... The alt_rootvg_op command can be used to determine which disk is the ... flag) can be executed at this time. ...
    (comp.unix.aix)
  • Re: SIMPLE question [Was: Re: TIP #193: Simple Syntax Help System
    ... the "cmdline" package (command line arguments); ... For each boolean flag in the argument list, ... An argument declaration can specify this field if and only if its ... The system builds the command line options usage string. ...
    (comp.lang.tcl)
  • Re: Really need help on this one
    ... Is there a way to read the output of a particular command into ... Heres a better example using ssh. ... set timeout $timeout ... exec kill -9 $pid ...
    (comp.lang.tcl)
  • Re: who flags on OSR5
    ... Does anyone have any ideas why the 'who' command would fail to show a ... logged in user with command: ... Point being that it's no particular server login daemon doing something odd ... that flag. ...
    (comp.unix.sco.misc)