Hey all, Now basically whenever I try and connect it seems to login ok but when ever try and issue the command I get the following error
Permission denied at ./test.pl line 12 $remote_host = "xxx.xxx.xxx.xxx"; $user = "user"; $pass = "password"; my $ssh = Net::SSH::Perl->new($remote_host); print "Now logging into MaxBev\n"; $ssh->login($user, $pass); $ssh->cmd("echo test > /home/tunnel/test"); <-- Line 12 print "Done done and done!\n"; Now I can log in OK manually and issue the same command. Would I want to start checking permissions? Ohh and yes the account has been setup on the remote host. Regards, Dan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]