in reply to Re: Remote server file access issue
in thread Remote server file access issue

This node falls below the community's minimum standard of quality and will not be displayed.

Replies are listed 'Best First'.
Re^3: Remote server file access issue
by shmem (Chancellor) on Jun 29, 2006 at 12:56 UTC
    The shell is the program that processes your command line if you login to the remote system via telnet (not from perl and Net::Telnet). It is likely to be ksh, bash, sh, tcsh - but not perl. Therefore the commands that you send must be commands for your login shell as stated in the file /etc/passwd.

    Your login shell appears to be ksh, as I can see from your post:

    Files=> ksh: syntax error: `(' unexpected

    --shmem

    _($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                                  /\_¯/(q    /
    ----------------------------  \__(m.====·.(_("always off the crowd"))."·
    ");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
Re^3: Remote server file access issue
by Fletch (Bishop) on Jun 29, 2006 at 12:54 UTC

    When you use Net::Telnet to connect to a remote machine, it's connecting in the same way as if you used a telnet command line utility (or PuTTY, or the Windows telnet client, . . .) to log into the remote machine. Unless you have the remote machine set up with perl as your login shell, it's highly unlikely you're going to be able to use Perl directly from the command line.