|
Hi everyone..
I'm trying to write Perl script to execute commands on a SSH server(Actually it's CheckPoint Firewall-1 NGX), using ActivePerl 5.8 on Windows XP Pro..
Using Net::SSH::W32Perl, i managed to establish connection and authentication on server.
However when i try to execute commands, it says "Running commands is not allowed."
When I connect to server via SSH-Client(SSHSecureShellClient-3.2.9), I can execute commands..
The problem is the user account i use to connect is using the "cpshell"(Shell of CheckPoint Firewall, it allows execute some commands) and I suppose that somehow W32Perl module does not recognize it..(Or there is some other problem)
Is there a way to make it work? With this "cpshell"?
By the way changing the users login shell is not possible due to security policy..
Thanks in Advance..
|