We use Tectia to transfer files from AIX to Windows systeb by ssh. Then I need to launch program on Windows server by sh script (from AIX). So when program launched local, or by telnet from other server it works fine. But when I try start it from AIX (command: ssh user@host 'command to launch program') it crashes... Sometimes it works, it looks like environment "lost", when I start it by ssh.
I tested with another ssh server (copssh) and program started correctly (same as I start it remotely by telnet). Witch settings I need correct or add to start programm normally? Or witch logs to look? = How differents default configuration copssh and tectia?
asked Jul 21 '11 at 15:12
please check that the SSH terminal (known as "Terminal" in GUI) and SSH remote command execution (known as "Command" in GUI) are allowed from that Tectia Server's (Windows) configuration. If terminal access is denied then also SSH remote commands are denied, unless commands are explicitly allowed or set as "forced" via the "command" configuration option.
Forced command here means that a local script or CLI command on that Tectia Server (Windows) machine will be automatically executed whenever end user logs in.
It is common to disable all other SSH services than those that are really needed.
answered Jul 26 '11 at 23:27